Ignore:
Timestamp:
08/14/14 23:14:44 (10 years ago)
Author:
rkrimmel
Message:

Fixed replacment loop, but it's still endless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/ObjectDistanceSubstitionMatrix.java

    r1677 r1679  
    113113        private int getIndex(ITask task) { 
    114114                int tempindex =-1; 
     115         
    115116                if(!idmapping.containsKey(task.getId())) { 
    116117                        idmapping.put(task.getId(), index); 
     
    121122                        tempindex = idmapping.get(task.getId()); 
    122123                } 
     124                 
    123125                return tempindex; 
    124126        } 
     
    154156                }  
    155157                else { 
     158                        //System.out.println("Firsttask: " +taskId1); 
     159                        //System.out.println("Secondtask: " + taskId2); 
    156160                        int first = idmapping.get(taskId1); 
    157161                        int second = idmapping.get(taskId2); 
    158                         System.out.println("First: " + first + " Second: " + second); 
    159                         System.out.println("Matrix: " + matrix.get(first, second)); 
     162                        //System.out.println("First: " + first + " Second: " + second); 
     163                        //System.out.println("Matrix: " + matrix.get(first, second)); 
    160164                        return matrix.get(first,second);         
    161165                } 
Note: See TracChangeset for help on using the changeset viewer.