Changeset 1554 for branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/substitution/DifferenceSubstitutionMatrix.java
- Timestamp:
- 05/23/14 21:54:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/substitution/DifferenceSubstitutionMatrix.java
r1553 r1554 29 29 * @see de.ugoe.cs.autoquest.plugin.alignment.SubstitutionMatrix#getDistance(int, int) 30 30 */ 31 public doublegetDistance(int pos1, int pos2) {31 public float getDistance(int pos1, int pos2) { 32 32 return maxValue - (input1[pos1] - input2[pos2]); 33 33 } … … 49 49 50 50 @Override 51 public doublegetGapPenalty() {51 public float getGapPenalty() { 52 52 return -maxValue; 53 }54 55 @Override56 public String info() {57 return "Max Value: " + maxValue;58 53 } 59 54 60 55 61 56 @Override 62 public void generate( List<IUserSession> sessions) {57 public void generate() { 63 58 // TODO Auto-generated method stub 64 59
Note: See TracChangeset
for help on using the changeset viewer.