- Timestamp:
- 09/16/14 18:19:36 (10 years ago)
- Location:
- branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix
- Files:
-
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/ObjectDistanceSubstitionMatrix.java
r1747 r1748 5 5 6 6 import java.io.Serializable; 7 import java.util.Collection; 7 8 import java.util.HashMap; 8 9 import java.util.HashSet; … … 37 38 38 39 /** The unique tasks. */ 39 private HashSet<ITask> uniqueTasks;40 private Collection<ITask> uniqueTasks; 40 41 41 42 /** The gap penalty. */ … … 209 210 */ 210 211 @Override 211 public void generate( HashSet<ITask> uniqueTasks) {212 public void generate(Collection<ITask> uniqueTasks) { 212 213 this.uniqueTasks = uniqueTasks; 213 214 if (this.calculateNonEventTaskInstances) { -
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/PreallocatedDynamicTriangleMatrix.java
r1747 r1748 54 54 this.size += count; 55 55 if(size>actualsize) { 56 int newElements = ((oldsize * count) + ((count * (count + 1)) / 2));56 //int newElements = ((oldsize * count) + ((count * (count + 1)) / 2)); 57 57 actualsize*=2; 58 58 float[] newmatrix = new float[actualsize]; -
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/SubstitutionMatrix.java
r1734 r1748 4 4 package de.ugoe.cs.autoquest.tasktrees.alignment.matrix; 5 5 6 import java.util. HashSet;6 import java.util.Collection; 7 7 import java.util.LinkedList; 8 8 … … 20 20 * @param uniqueTasks the unique tasks 21 21 */ 22 public void generate( HashSet<ITask> uniqueTasks);22 public void generate(Collection<ITask> uniqueTasks); 23 23 24 24 /**
Note: See TracChangeset
for help on using the changeset viewer.