Changeset 1554 for branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/substitution/NearbySubstitutionMatrix.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/NearbySubstitutionMatrix.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 int difference = Math.abs(input1[pos1]-input2[pos2]); 33 33 if(difference < range) { … … 41 41 42 42 @Override 43 public doublegetGapPenalty() {43 public float getGapPenalty() { 44 44 return -range-1; 45 45 } 46 46 47 @Override48 public String info() {49 return "Range: " + range;50 }51 47 52 48 @Override 53 public void generate( List<IUserSession> sessions) {49 public void generate() { 54 50 // TODO Auto-generated method stub 55 51
Note: See TracChangeset
for help on using the changeset viewer.