Changeset 1682


Ignore:
Timestamp:
08/15/14 14:19:18 (10 years ago)
Author:
rkrimmel
Message:

Fixed creation IterationInstances?

File:
1 edited

Legend:

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

    r1680 r1682  
    149149                        } else if (tempTask.getType() == "sequence") { 
    150150                                System.out.println("Adding SequenceInstance " + parent.get(startIndex) + " to " + tempTask.getType()); 
    151                                 //ISequenceInstance sequence = taskFactory.createNewTaskInstance((ISequence) tempTask); 
    152151                                taskBuilder.addChild(subsequence,parent.get(startIndex)); 
    153                                 //taskBuilder.addChild(subsequence, sequence); 
    154                                  
    155152                        } else if (tempTask.getType() == "iteration") { 
    156                                 IIterationInstance iteration = taskFactory.createNewTaskInstance((IIteration) tempTask); 
    157                                 taskBuilder.addChild(iteration,parent.get(startIndex)); 
     153                                //IIterationInstance iteration = taskFactory.createNewTaskInstance((IIteration) tempTask); 
     154                                //taskBuilder.addChild(iteration,parent.get(startIndex)); 
     155                                taskBuilder.addChild(subsequence, parent.get(startIndex)); 
    158156                                System.out.println("Adding IterationInstance " + parent.get(startIndex) + " to " + tempTask.getType()); 
    159157                        } else { 
Note: See TracChangeset for help on using the changeset viewer.