Changeset 1734 for branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/DifferenceSubstitutionMatrix.java
- Timestamp:
- 09/05/14 20:20:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/DifferenceSubstitutionMatrix.java
r1733 r1734 9 9 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; 10 10 11 // TODO: Auto-generated Javadoc 11 12 /** 13 * The Class DifferenceSubstitutionMatrix. 14 * 12 15 * @author Ralph Krimmel 13 *14 16 */ 15 17 public class DifferenceSubstitutionMatrix implements SubstitutionMatrix { 16 18 19 /** The input1. */ 17 20 private final int[] input1; 21 22 /** The input2. */ 18 23 private final int[] input2; 24 25 /** The max value. */ 19 26 private final int maxValue; 20 27 28 /** 29 * Instantiates a new difference substitution matrix. 30 * 31 * @param input1 the input1 32 * @param input2 the input2 33 */ 21 34 public DifferenceSubstitutionMatrix(int[] input1, int[] input2) { 22 35 this.input1 = input1; … … 25 38 } 26 39 40 /* (non-Javadoc) 41 * @see de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix#generate(java.util.HashSet) 42 */ 27 43 @Override 28 44 public void generate(HashSet<ITask> uniqueTasks) { 29 45 } 30 46 47 /* (non-Javadoc) 48 * @see de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix#getGapPenalty() 49 */ 31 50 @Override 32 51 public float getGapPenalty() { … … 34 53 } 35 54 55 /** 56 * Gets the max value. 57 * 58 * @return the max value 59 */ 36 60 private int getMaxValue() { 37 61 int max = input1[0]; … … 61 85 } 62 86 87 /* (non-Javadoc) 88 * @see de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix#update(java.util.LinkedList) 89 */ 63 90 @Override 64 91 public void update(LinkedList<ITask> newlyGeneratedTasks) {
Note: See TracChangeset
for help on using the changeset viewer.