Changeset 1578 for branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/SequenceForTaskDetectionRuleAlignment.java
- Timestamp:
- 06/25/14 19:21:42 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/SequenceForTaskDetectionRuleAlignment.java
r1576 r1578 63 63 * </p> 64 64 * <p> 65 * For determining the longest sequence occurring most often, the implementation 66 * uses a {@link Trie}. The depth of the tree is initially 3. If the algorithm 67 * has a longest sequence occurring most often whose length is equal to the 68 * depth of the trie, it recalculates the trie with an increased depth. 69 * </p> 65 70 66 * 71 67 * @author Patrick Harms … … 183 179 ns2.getSequence(), ns2.getSequence(), submat, 184 180 smithWatermanThreshold); 185 186 181 SmithWatermanRepeated randomSequence = new SmithWatermanRepeated( 187 182 ns1.shuffle().getSequence(),ns2.shuffle().getSequence(),submat,smithWatermanThreshold); 188 183 184 // Score of the aligmnment 189 185 double score = twoSequences.getAlignmentScore(); 190 // Scores of the sequence being aligned to itself 186 // Scores of the sequence being aligned to itself (maximum score) 191 187 double sSelf1 = sameSequence1.getAlignmentScore(); 192 188 double sSelf2 = sameSequence2.getAlignmentScore(); 193 189 // Score of sequences shuffled before aligned 194 190 double sRand = randomSequence.getAlignmentScore(); 195 191 … … 210 206 } 211 207 } 208 //System.out.println(sequenceDistances.toString()); 212 209 UPGMATree guidetree = new UPGMATree(numberseqs, sequenceDistances); 213 210 211 214 212 /* 215 213 do { 216 System.out.println();217 //FengDoolittle fd = new FengDoolittle();218 214 219 215 // appData.getStopWatch().start("whole loop");
Note: See TracChangeset
for help on using the changeset viewer.