Changeset 1957 for trunk/autoquest-core-tasktrees/src/main
- Timestamp:
- 06/01/15 13:50:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/SimilarTasks.java
r1954 r1957 890 890 { 891 891 if (instance instanceof IIterationInstance) { 892 if (((IIterationInstance) instance).size() > 1) { 893 // iteration executed multiple times --> store path 892 ITask markedTask = instance.getTask(); 893 894 while (markedTask instanceof IMarkingTemporalRelationship) { 895 markedTask = ((IMarkingTemporalRelationship) markedTask).getMarkedTask(); 896 } 897 898 if ((!(markedTask instanceof IEventTask)) && 899 ((IIterationInstance) instance).size() > 1) 900 { 901 // iteration repeates multiple event tasks and is executed multiple times --> 902 // store path 894 903 result.add(currentPath.subPath(0, currentPath.size())); // ensure to create a copy 895 904 }
Note: See TracChangeset
for help on using the changeset viewer.