Changeset 1154 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/IterationComparisonRule.java
- Timestamp:
- 04/19/13 17:02:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/IterationComparisonRule.java
r1146 r1154 222 222 223 223 /** 224 * TODO update comment 224 * <p> 225 * compares two tasks with each other by calling the rule manager. If the rule manager returns 226 * identity, then the returned equality is set to lexically equal. The reason is, that 227 * the children of the iterations are compared and that therefore the distinct iterations 228 * can be at most lexically equal. 229 * </p> 230 * 231 * @param child1 the first task to be compared 232 * @param child2 the second task to be compared 233 * 234 * @return the determined equality being at most lexical equality. 225 235 */ 226 236 private TaskEquality getNodeEquality(ITask child1, ITask child2) { … … 243 253 /** 244 254 * <p> 245 * compares two tasks. One of them must be a selection, the other one can be any task 246 * tree task.The method returns a task equality that is not <code>NodeEquality.UNEQUAL</code>255 * compares two tasks. One of them must be a selection, the other one can be any task. 256 * The method returns a task equality that is not <code>NodeEquality.UNEQUAL</code> 247 257 * if the other task is at least semantically equal to the children of the selection. It 248 258 * returns more concrete equalities, if the equality between the other task and the children … … 250 260 * </p> 251 261 * 252 * @param task TreeNodethe first task to compare253 * @param task TreeNode2 the second task to compare262 * @param task1 the first task to compare 263 * @param task2 the second task to compare 254 264 * 255 265 * @return as described … … 292 302 /** 293 303 * <p> 294 * TODO: comment 295 * </p> 296 * 297 * @param child1 298 * @param child2 299 * @param requiredEqualityLevel 300 * @return 304 * used to to call the task equality rule manager for the comparison of the two provided 305 * children. If no required equality level is provided, than the most concrete equality is 306 * returned. Otherwise, the required equality is returned as long as the children are equal 307 * on that level. 308 * </p> 309 * 310 * @param child1 the first task to be compared 311 * @param child2 the second task to be compared 312 * @param requiredEqualityLevel the equality level to be checked for 313 * 314 * @return the determined equality 301 315 */ 302 316 private TaskEquality callRuleManager(ITask child1,
Note: See TracChangeset
for help on using the changeset viewer.