Changeset 1966


Ignore:
Timestamp:
06/15/15 16:06:21 (10 years ago)
Author:
pharms
Message:
  • bugfix in determining which ordering of task merging should be preferred
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/MostSimilarTaskDeterminer.java

    r1890 r1966  
    2727import de.ugoe.cs.autoquest.tasktrees.treeifc.DefaultTaskTraversingVisitor; 
    2828import de.ugoe.cs.autoquest.tasktrees.treeifc.IEventTaskInstance; 
     29import de.ugoe.cs.autoquest.tasktrees.treeifc.IOptionalInstance; 
    2930import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelectionInstance; 
    3031import de.ugoe.cs.autoquest.tasktrees.treeifc.IStructuringTemporalRelationship; 
     
    827828                        eventTaskInstance = ((ISelectionInstance) eventTaskInstance).getChild(); 
    828829                    } 
     830                    else if (eventTaskInstance instanceof IOptionalInstance) { 
     831                        eventTaskInstance = ((IOptionalInstance) eventTaskInstance).getChild(); 
     832                    } 
    829833                } 
    830834                while (!(eventTaskInstance instanceof IEventTaskInstance)); 
Note: See TracChangeset for help on using the changeset viewer.