Author | Message |
---|---|
nshatok
Posts: 19
|
Posted 22:52 Aug 03, 2009 |
/** |
xieguahu
Posts: 50
|
Posted 19:54 Aug 04, 2009 |
I run your program, the result is different from mine. |
nshatok
Posts: 19
|
Posted 22:39 Aug 04, 2009 |
I think for those two strings: FTFTALLLAVAV LCI is FTALLAAV What kind of result you are getting? |
cysun
Posts: 2935
|
Posted 17:34 Aug 31, 2009 |
You algorithm does sequence alignment, which is different from what the paper asks for. |
nshatok
Posts: 19
|
Posted 22:36 Aug 31, 2009 |
I agree. To my opininon, it can be used to find longest common fragment as paper defines. Actually the algorithm prints all common fragments in one line (FTA, LLA, AV). We can modify the program slightly to find the longest one that will be the fragment paper is talking about. Something like this: import java.util.ArrayList; |