Changeset 2218 for trunk/autoquest-core-tasktrees
- Timestamp:
- 11/29/17 14:55:48 (7 years ago)
- Location:
- trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskEquality.java
r1887 r2218 19 19 * A task equality denotes, how equal two tasks are. There are different equality levels 20 20 * which are similar to the usual design levels of GUI design. These levels are 21 * </p> 21 22 * <ul> 22 23 * <li>conceptual design: defines the concepts to be edited using a GUI</li> … … 26 27 * can be performed</li> 27 28 * </ul> 29 * <p> 28 30 * It is not possible to compare two tasks conceptually. But the other design levels can be 29 31 * identified and compared. -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskEqualityRuleManager.java
r2161 r2218 92 92 * @return as described 93 93 * 94 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 95 * manager before a call to this method. 94 * @throws IllegalStateException in the case, the object is not correctly initialized 96 95 */ 97 96 public TaskEquality compare(ITask task1, ITask task2) … … 132 131 * @return as described 133 132 * 134 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 135 * manager before a call to this method. 133 * @throws IllegalStateException in the case, the object is not correctly initialized 136 134 */ 137 135 public boolean areAtLeastEqual(ITask task1, ITask task2, TaskEquality equalityLevel) { … … 168 166 * @return as described 169 167 * 170 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 171 * manager before a call to this method. 168 * @throws IllegalStateException in the case, the object is not correctly initialized 172 169 */ 173 170 public boolean areIdentical(ITask task1, ITask task2) { … … 197 194 * @return as described 198 195 * 199 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 200 * manager before a call to this method. 196 * @throws IllegalStateException in the case, the object is not correctly initialized 201 197 */ 202 198 public boolean areLexicallyEqual(ITask task1, ITask task2) { … … 226 222 * @return as described 227 223 * 228 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 229 * manager before a call to this method. 224 * @throws IllegalStateException in the case, the object is not correctly initialized 230 225 */ 231 226 public boolean areSyntacticallyEqual(ITask task1, ITask task2) { … … 255 250 * @return as described 256 251 * 257 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 258 * manager before a call to this method. 252 * @throws IllegalStateException in the case, the object is not correctly initialized 259 253 */ 260 254 public boolean areSemanticallyEqual(ITask task1, ITask task2) { … … 285 279 * @return as described 286 280 * 287 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 288 * manager before a call to this method. 281 * @throws IllegalStateException in the case, the object is not correctly initialized 289 282 */ 290 283 public TaskEquality compare(ITaskInstance instance1, ITaskInstance instance2) … … 325 318 * @return as described 326 319 * 327 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 328 * manager before a call to this method. 320 * @throws IllegalStateException in the case, the object is not correctly initialized 329 321 */ 330 322 public boolean areAtLeastEqual(ITaskInstance instance1, … … 364 356 * @return as described 365 357 * 366 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 367 * manager before a call to this method. 358 * @throws IllegalStateException in the case, the object is not correctly initialized 368 359 */ 369 360 public boolean areIdentical(ITaskInstance instance1, ITaskInstance instance2) { … … 395 386 * @return as described 396 387 * 397 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 398 * manager before a call to this method. 388 * @throws IllegalStateException in the case, the object is not correctly initialized 399 389 */ 400 390 public boolean areLexicallyEqual(ITaskInstance instance1, ITaskInstance instance2) { … … 426 416 * @return as described 427 417 * 428 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 429 * manager before a call to this method. 418 * @throws IllegalStateException in the case, the object is not correctly initialized 430 419 */ 431 420 public boolean areSyntacticallyEqual(ITaskInstance instance1, ITaskInstance instance2) { … … 457 446 * @return as described 458 447 * 459 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 460 * manager before a call to this method. 448 * @throws IllegalStateException in the case, the object is not correctly initialized 461 449 */ 462 450 public boolean areSemanticallyEqual(ITaskInstance instance1, ITaskInstance instance2) { -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/TaskSymbolBucketedMap.java
r2129 r2218 54 54 * </p> 55 55 * 56 * @see SymbolComparator56 * @see TaskComparator 57 57 * 58 58 * @author Patrick Harms -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/TemporalRelationshipRuleManager.java
r2132 r2218 40 40 * </p> 41 41 * <p>The class holds references to the appropriate {@link ITaskInstanceScopeRule}s and calls 42 * their {@link ITaskInstanceScopeRule#apply( ITask, ITaskBuilder, ITaskFactory, boolean)}42 * their {@link ITaskInstanceScopeRule#apply(de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskInstance)} 43 43 * method for each task in the task tree it is needed for. The general behavior of this class is 44 44 * the following: 45 * </p> 45 46 * <ol> 46 47 * <li> … … 49 50 * </li> 50 51 * <li> 51 * then the {@link #apply Rules(ITask, ITaskBuilder, ITaskFactory, boolean)}52 * then the {@link #applyTaskDetectionRule(List, TaskEquality, int)} 52 53 * method is called for a so far unstructured task 53 54 * </li> … … 77 78 * </li> 78 79 * </ol> 80 * <p> 79 81 * Through this, all rules are tried to be applied at least once to the provided parent task and 80 82 * all parent tasks created during the rule application. -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskBuilder.java
r1766 r2218 252 252 * @param oldChild the child to replace 253 253 * @param newChild the replacement for the child 254 *255 * @throws as described256 254 */ 257 255 void replaceChild(ISelection parent, ITask oldChild, ITask newChild);
Note: See TracChangeset
for help on using the changeset viewer.