Ignore:
Timestamp:
06/25/14 19:21:42 (10 years ago)
Author:
rkrimmel
Message:

Added Constants for the gap and unmatched symbol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/SequenceForTaskDetectionRuleAlignment.java

    r1576 r1578  
    6363 * </p> 
    6464 * <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 
    7066 *  
    7167 * @author Patrick Harms 
     
    183179                                                        ns2.getSequence(), ns2.getSequence(), submat, 
    184180                                                        smithWatermanThreshold); 
    185                                          
    186181                                        SmithWatermanRepeated randomSequence = new SmithWatermanRepeated( 
    187182                                                        ns1.shuffle().getSequence(),ns2.shuffle().getSequence(),submat,smithWatermanThreshold); 
    188183                                         
     184                                        // Score of the aligmnment 
    189185                                        double score = twoSequences.getAlignmentScore(); 
    190                                         // Scores of the sequence being aligned to itself 
     186                                        // Scores of the sequence being aligned to itself (maximum score) 
    191187                                        double sSelf1 = sameSequence1.getAlignmentScore(); 
    192188                                        double sSelf2 = sameSequence2.getAlignmentScore(); 
    193  
     189                                        // Score of sequences shuffled before aligned   
    194190                                        double sRand = randomSequence.getAlignmentScore(); 
    195191 
     
    210206                        } 
    211207                } 
     208                //System.out.println(sequenceDistances.toString()); 
    212209                UPGMATree guidetree = new UPGMATree(numberseqs, sequenceDistances); 
    213210                 
     211         
    214212                /* 
    215213                do { 
    216                         System.out.println(); 
    217                         //FengDoolittle fd = new FengDoolittle(); 
    218214 
    219215                        // appData.getStopWatch().start("whole loop"); 
Note: See TracChangeset for help on using the changeset viewer.