User Profile

Collapse

Profile Sidebar

Collapse
abz89
abz89
Last Activity: Aug 16 '10, 08:11 AM
Joined: Mar 22 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • abz89
    replied to Traffic system of train simulation
    hhm forget it! :D

    i've found the algorithm by myself, simply, just use if looping function..

    dear admin, lock please :)
    See more | Go to post

    Leave a comment:


  • abz89
    started a topic Traffic system of train simulation

    Traffic system of train simulation

    hi for all byte's member :D

    just want to ask, recently i've tried many of programming language. And as my test application, i want to create a little program that simulating train traffic.

    i,e. train go from station A then station B. After that, the train have moving reverse, from B to A

    Code:
    train@station A                     B
    .=======>>--------------------------.
    ...
    See more | Go to post

  • abz89
    replied to Hirschberg algorithm
    i've pre-finished my program with hirscberg :D
    thx for everyone ;)

    to mod;please lock this thread, if you would..
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Hirschberg algorithm
    okay, i'll try it..

    thx.. :D
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Hirschberg algorithm
    <quote>
    1. Optimization: convertStringTo Arr
    You create a list, and then you copy the list into a int[] array. Why not create the int[] array to begin with?
    </quote>

    hmm, i will make the GUI for this program with string1 and string2 input fron text box, so i designed it is like this...

    <quote>2. Error
    for(int y=0;y<source.Le ngth;y++)
    for(int x=0;x<dest.Leng th;x++)...
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Hirschberg algorithm
    hmm, here is my codes..

    hope u could notify me the error :D
    thx a lot
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Hirschberg algorithm
    @jkmyoung

    yupz, hirschberg is only calculated the single row and above ones then immedietly flushing the memory with throw the other unnecessary datas..
    but it taking two times longer, cause the traceback check will missed the data (which trown before)

    sorry that i mistaked, i've been ported the needleman into c sharp..
    but it takes error when i use it cause my array data is 16thousand char long,

    ...
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Hirschberg algorithm
    @chbinder
    yupz, it said some missing object etc...bla bla bla

    @jkmyoung
    i couldn't understand what you mean, (cause i'm so dumb --_--)

    after i've googling, i found the more nice and faster algorithm,
    "lazy DPA"

    i think,
    - needleman or other standard dpa is taking memory and times too much
    - hirchberg is fine, but it ate so much time, cause it does double checking
    ...
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Hirschberg algorithm
    owh yes.. :D
    but the source cannot be tested (run) :(

    i'm using vc# 2008 express,, hwa
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Hirschberg algorithm
    @ChBinder
    it can't be downloaded >.<

    @jkmyoung
    oh dear i've create the programs with needleman-wutsch but it takes so much memory :(

    and i've found the hirschberg algo. but i didn't understand the algo :(
    See more | Go to post

    Leave a comment:


  • abz89
    started a topic Hirschberg algorithm

    Hirschberg algorithm

    somebody have a tried/implemented Hirschberg Algorithm to c#?
    i need it :(

    to make the program compare the two string and tell where the array index that the different,

    thx u
    See more | Go to post

  • abz89
    replied to Pattern Matching in C/C++
    in C
    owh my...
    i been worked at levenshtein algo in weeks..
    and i got nothing! T.T

    yesterday i've found what i'm exactly want!
    Needleman–Wunsc h algorithm

    i been trying to see the naligner source code too, but i don't understand, how stupid i am T.T

    anyone can help me to write this algo in c#, so i can insert the conditional if when insertion/deletion/subs happened,...ple ase, thx u
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Pattern Matching in C/C++
    in C
    thx a lot to the responses

    i've found the algorithm!
    what i need is just "levensthei n distance"

    :D

    now i'm trying on it..
    hope i can :p
    See more | Go to post

    Leave a comment:


  • thx u :D
    i'll try
    See more | Go to post

    Leave a comment:


  • openfile dialog with folder and file filter for automatic processing

    hi everybody, i'm a totally newbie in c#, i've create a little program just to read the .txt file

    But how if i want to make a simple text reader takes a file from the folder using the same openfile dialog??

    the components are :
    1. open button -> openfile dialog
    2. ok button -> execute
    3. textbox -> display output


    i want that the openfile dialog filter not only text file | *.txt but also can select...
    See more | Go to post

  • abz89
    replied to Pattern Matching in C/C++
    in C
    no not like this dude..
    insertion is the insertion data to array1 so the array1 will changed

    eg:

    array1 : abcde < 5 char
    array2 : abcfde < 6 char

    for deletion:

    array1 : abcde < 5 char
    array2 : abde < 4 char, d deleted

    so substitution will executed after the lenght of both array are same..

    here is a insertion and subt case:

    array1...
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Pattern Matching in C/C++
    in C
    my mean is not prefer insertion over deletion..
    at your example, if i prefer deletion over insertion, the array1 lenght will changed :)

    the algo have not changed the array1 but array2, cause array1 act as standard, so the array2 have to matched with array1

    at my algo, i make the 'fragmen' to compare
    cause the real array can up to thousands,

    this algo will create a fragments with 13char (array) for...
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Pattern Matching in C/C++
    in C
    @dheerajjoshim
    hmm, my algo is just conditional if, which prior to insertion/deletion then substitution..

    @jkmyoung
    owh i cannot commented the code well, my english was bad, so i can't descripting it fine :(

    at your example, it will insertion of an a, then a deletion of a n
    because the array 1 is a standard which to be fixed (may not changed or reassembly)

    thx a lot everybody :)
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Pattern Matching in C/C++
    in C
    yupz, my algorithm do..
    it compare the array length to find out the insertion/deletion

    after the array length are the same, continue to substitution compare..
    but my algorithm have some error on some data..

    can somebody suggest the effective algorithm?? please
    thank you.. :)
    See more | Go to post

    Leave a comment:


  • abz89
    replied to Pattern Matching in C/C++
    in C
    i don't know the error mechanism,
    this algorithm results the wrong analyze output..

    here is the code (in C#) but i want to porting it to C++

    Code:
    /* here is the fragment of my program (abz)
    the program kindly array comparer
    
    */
    public void algoritma(string dt, string ds, ref string dm, int n, int m, int array2_counts, int array1_counts, string filename)
            {
                // algorithm
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...