Ignore:
Timestamp:
06/18/14 08:59:41 (10 years ago)
Author:
rkrimmel
Message:

Building distance matrix between sequences

File:
1 edited

Legend:

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

    r1554 r1568  
    2929         * @see de.ugoe.cs.autoquest.plugin.alignment.SubstitutionMatrix#getDistance(int, int) 
    3030         */ 
    31         public float getDistance(int pos1, int pos2) { 
     31        public double getDistance(int pos1, int pos2) { 
    3232                return maxValue - (input1[pos1] - input2[pos2]); 
    3333        } 
     
    4949 
    5050        @Override 
    51         public float getGapPenalty() { 
     51        public double getGapPenalty() { 
    5252                return -maxValue; 
    5353        } 
Note: See TracChangeset for help on using the changeset viewer.