Changeset 1747 for branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix
- Timestamp:
- 09/16/14 17:48:28 (10 years ago)
- Location:
- branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/ObjectDistanceSubstitionMatrix.java
r1741 r1747 109 109 eti1 = (IEventTaskInstance) ti1; 110 110 index1 = getIndex(eti1); 111 distance = distanceBetweenTaskAndInstance(task2, eti1) ;111 distance = distanceBetweenTaskAndInstance(task2, eti1)-3; 112 112 } else if (!(ti1 instanceof IEventTaskInstance) 113 113 && (ti2 instanceof IEventTaskInstance)) { … … 120 120 index1 = getIndex(task1); 121 121 index2 = getIndex(task2); 122 distance = distanceBetweenTasks(task1, task2) ;122 distance = distanceBetweenTasks(task1, task2)-3; 123 123 } else { 124 124 System.out.println("Unknown error"); … … 212 212 this.uniqueTasks = uniqueTasks; 213 213 if (this.calculateNonEventTaskInstances) { 214 matrix = new DynamicTriangleMatrix(uniqueTasks.size() + 1);214 matrix = new PreallocatedDynamicTriangleMatrix(uniqueTasks.size() + 1); 215 215 Console.traceln(Level.INFO, "searching EventTasks in Tasks"); 216 216 //searchEventTaskInstances();
Note: See TracChangeset
for help on using the changeset viewer.