Changeset 2258 for trunk/autoquest-core-tasktrees/src
- Timestamp:
- 05/04/18 15:46:03 (7 years ago)
- Location:
- trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/DebuggingHelper.java
r1852 r2258 25 25 /** 26 26 * <p> 27 * TODO comment27 * Utility class to transform a task tree to a plain text representation 28 28 * </p> 29 29 * -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/MostSimilarTaskDeterminer.java
r1981 r2258 77 77 private Set<Long> comparisonsToSkip = new HashSet<>(); 78 78 79 /** TODO comment*/79 /** stores the number of planned and started comparisons */ 80 80 private long comparisonCounter = 0; 81 81 82 /** TODO comment*/82 /** stores the number of all comparisons done completely (i.e., not those that were skipped because comparison is not useful) */ 83 83 private long effectiveComparisonCounter = 0; 84 84 -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/SimilarTasks.java
r2126 r2258 149 149 /** 150 150 * <p> 151 * TODO: comment 151 * static convenience method to compare two task traversals using a given comparator to compare 152 * the individual tasks in the traversals. 152 153 * </p> 153 *154 * @param traversal1155 * @param traversal2156 * @param comparator157 * @return158 154 */ 159 155 public static SimilarTasks compareTraversals(TaskTraversal traversal1, … … 268 264 /** 269 265 * <p> 270 * TODO: comment 266 * returns true, if the differences between the traversals are between the beginning and the 267 * end of both traversals. 271 268 * </p> 272 269 * -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTraversal.java
r1849 r2258 30 30 /** 31 31 * <p> 32 * TODO comment 32 * A task traversal represents a list of task paths through a task tree. Traversal may represent all 33 * possible task paths. In this case, all paths start with the root node and end with the leaf 34 * nodes. It is also possible to exclude the traversal of a certain parent node. In this case, the 35 * traversal does not contain paths to the children of this parent but only a single path to the 36 * parent itself. For selections, this is always the case. I.e., a traversal never contains paths 37 * were a selection is contained and where it is not the last element of the path. In addition, 38 * if the only child of a marking temporal relationship is an event task, then the marking 39 * temporal relationship is not added to the paths. The reason is, that from a task path point of 40 * view, this information is inherently present. Task traversals offer a good way to derive easily 41 * comparable task tree representations. This allows for efficient detection of similar tasks. 33 42 * </p> 34 43 * -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeEncoder.java
r2237 r2258 43 43 44 44 /** 45 * TODO comment 45 * Convenience class to encode user sessions, task instance lists, task instances or tasks into 46 * a human readable textual representation. 46 47 * 47 48 * @version $Revision: $ $Date: 01.04.2012$ -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeValidator.java
r1852 r2258 38 38 /** 39 39 * <p> 40 * TODO comment 40 * Convenience class to validate if certain restrictions to task trees and task tree instances 41 * apply. Restrictions are, e.g., that for every task there need to be instances or that for every 42 * sequence instance the children match the corresponding sequence model. This class is vor test and 43 * evaluation purposes only. 41 44 * </p> 42 45 * … … 300 303 /** 301 304 * <p> 302 * TODO: comment 303 * </p> 304 * 305 * @param string 305 * convenience method to log throw issues found during the evaluation 306 * </p> 306 307 */ 307 308 private void fail(ITask task, String message) { … … 315 316 /** 316 317 * <p> 317 * TODO: comment 318 * </p> 319 * 320 * @param string 321 * @param task 318 * convenience method to log throw issues found during the evaluation 319 * </p> 322 320 */ 323 321 private void assertNotNull(ITask task, String message, Object object) { … … 333 331 /** 334 332 * <p> 335 * TODO: comment 336 * </p> 337 * 338 * @param string 339 * @param found 333 * convenience method to log throw issues found during the evaluation 334 * </p> 340 335 */ 341 336 private void assertTrue(ITask task, String message, boolean value) { … … 351 346 /** 352 347 * <p> 353 * TODO: comment 354 * </p> 355 * 356 * @param string 357 * @param found 348 * convenience method to log throw issues found during the evaluation 349 * </p> 358 350 */ 359 351 private void assertFalse(ITask task, String message, boolean value) { … … 369 361 /** 370 362 * <p> 371 * TODO: comment 372 * </p> 373 * 374 * @param string 375 * @param childTask 376 * @param task 363 * convenience method to log throw issues found during the evaluation 364 * </p> 377 365 */ 378 366 private void assertEquals(ITask task, String message, Object object1, Object object2) { … … 388 376 /** 389 377 * <p> 390 * TODO: comment 391 * </p> 392 * 393 * @param string 394 * @param childTask 395 * @param task 378 * convenience method to log throw issues found during the evaluation 379 * </p> 396 380 */ 397 381 private void assertSame(ITask task, String message, Object object1, Object object2) { -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskPath.java
r2239 r2258 20 20 /** 21 21 * <p> 22 * TODO comment 22 * A task path is a path through a task tree. Conceptually, it is a list of task objects. But the 23 * plain information about the tasks is not enough for a task path. The reason is, that multiple 24 * paths through a task tree may be identical because the tasks in the paths are identical. This 25 * happens, e.g., if a sequence has three children, where the first and the last are the same. Then 26 * based on the plain task information, it would not be possible to define separate task paths for 27 * the first and the last child of the sequence. Hence, we also add for each path element the index 28 * of the element in the list of children of the parent. This index is also considered, when 29 * comparing task paths. 23 30 * </p> 24 31 * -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskTreeUtils.java
r2161 r2258 25 25 /** 26 26 * <p> 27 * T ODO comment27 * This class only contains convenience methods to gather information about task structures. 28 28 * </p> 29 29 *
Note: See TracChangeset
for help on using the changeset viewer.