Ignore:
Timestamp:
06/30/14 08:51:09 (10 years ago)
Author:
rkrimmel
Message:

Adding simple smith waterman and changing alignment algorithm creation to factory pattern

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/algorithms/SmithWatermanRepeated.java

    r1585 r1586  
    88import de.ugoe.cs.util.console.Console; 
    99 
    10 public class SmithWatermanRepeated { 
     10public class SmithWatermanRepeated implements AlignmentAlgorithm { 
    1111 
    1212        /** 
     
    208208        } 
    209209 
    210         /** 
    211          * Get the alignment score between the two input strings. 
    212          */ 
     210        /* (non-Javadoc) 
     211         * @see de.ugoe.cs.autoquest.tasktrees.alignment.algorithms.AlignmentAlgorithm#getAlignmentScore() 
     212         */ 
     213        @Override 
    213214        public double getAlignmentScore() { 
    214215                return matrix[length1+1][0].getScore(); 
     
    328329 
    329330 
     331        /* (non-Javadoc) 
     332         * @see de.ugoe.cs.autoquest.tasktrees.alignment.algorithms.AlignmentAlgorithm#getAlignment() 
     333         */ 
     334        @Override 
    330335        public ArrayList<NumberSequence> getAlignment() { 
    331336                return alignment; 
Note: See TracChangeset for help on using the changeset viewer.