Changeset 2258


Ignore:
Timestamp:
05/04/18 15:46:03 (7 years ago)
Author:
pharms
Message:
 
Location:
trunk
Files:
12 edited

Legend:

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

    r1852 r2258  
    2525/** 
    2626 * <p> 
    27  * TODO comment 
     27 * Utility class to transform a task tree to a plain text representation 
    2828 * </p> 
    2929 *  
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/MostSimilarTaskDeterminer.java

    r1981 r2258  
    7777    private Set<Long> comparisonsToSkip = new HashSet<>(); 
    7878     
    79     /** TODO comment */ 
     79    /** stores the number of planned and started comparisons */ 
    8080    private long comparisonCounter = 0; 
    8181     
    82     /** TODO comment */ 
     82    /** stores the number of all comparisons done completely (i.e., not those that were skipped because comparison is not useful) */ 
    8383    private long effectiveComparisonCounter = 0; 
    8484 
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/SimilarTasks.java

    r2126 r2258  
    149149    /** 
    150150     * <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. 
    152153     * </p> 
    153      * 
    154      * @param traversal1 
    155      * @param traversal2 
    156      * @param comparator 
    157      * @return 
    158154     */ 
    159155    public static SimilarTasks compareTraversals(TaskTraversal  traversal1, 
     
    268264    /** 
    269265     * <p> 
    270      * TODO: comment 
     266     * returns true, if the differences between the traversals are between the beginning and the 
     267     * end of both traversals. 
    271268     * </p> 
    272269     * 
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTraversal.java

    r1849 r2258  
    3030/** 
    3131 * <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.  
    3342 * </p> 
    3443 *  
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeEncoder.java

    r2237 r2258  
    4343 
    4444/** 
    45  * TODO comment 
     45 * Convenience class to encode user sessions, task instance lists, task instances or tasks into 
     46 * a human readable textual representation. 
    4647 *  
    4748 * @version $Revision: $ $Date: 01.04.2012$ 
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeValidator.java

    r1852 r2258  
    3838/** 
    3939 * <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. 
    4144 * </p> 
    4245 *  
     
    300303    /** 
    301304     * <p> 
    302      * TODO: comment 
    303      * </p> 
    304      * 
    305      * @param string 
     305     * convenience method to log throw issues found during the evaluation  
     306     * </p> 
    306307     */ 
    307308    private void fail(ITask task, String message) { 
     
    315316    /** 
    316317     * <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> 
    322320     */ 
    323321    private void assertNotNull(ITask task, String message, Object object) { 
     
    333331    /** 
    334332     * <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> 
    340335     */ 
    341336    private void assertTrue(ITask task, String message, boolean value) { 
     
    351346    /** 
    352347     * <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> 
    358350     */ 
    359351    private void assertFalse(ITask task, String message, boolean value) { 
     
    369361    /** 
    370362     * <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> 
    377365     */ 
    378366    private void assertEquals(ITask task, String message, Object object1, Object object2) { 
     
    388376    /** 
    389377     * <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> 
    396380     */ 
    397381    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  
    2020/** 
    2121 * <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.  
    2330 * </p> 
    2431 *  
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskTreeUtils.java

    r2161 r2258  
    2525/** 
    2626 * <p> 
    27  * TODO comment 
     27 * This class only contains convenience methods to gather information about task structures. 
    2828 * </p> 
    2929 *  
  • trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeChecker.java

    r2234 r2258  
    4141 
    4242/** 
    43  * TODO comment 
     43 * This is a convenience class for testing to evaluate if a certain task or task instance structure 
     44 * matches a given textual specification for the structure.  
    4445 *  
    4546 * @version $Revision: $ $Date: 01.04.2012$ 
     
    306307 
    307308    /** 
    308      * @param task 
    309      * @param taskMapCopy 
     309     * 
    310310     */ 
    311311    private void assertUserSession(TaskSpec           taskSpec, 
     
    334334 
    335335    /** 
    336      * @param task 
    337      * @param taskMapCopy 
     336     * 
    338337     */ 
    339338    private void assertTaskInstance(TaskSpec           taskSpec, 
     
    497496     
    498497    /** 
    499      * <p> 
    500      * TODO: comment 
    501      * </p> 
    502      * 
    503      * @param taskInstance 
    504      * @return 
     498     * 
    505499     */ 
    506500    private List<ITaskInstance> getChildren(ITaskInstance taskInstance) { 
  • trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeDecoder.java

    r1875 r2258  
    5353 
    5454/** 
    55  * TODO comment 
     55 * This is a convenience class to parse a textual specification of an expected task structure to 
     56 * allow for a subsequent comparison of the specified structure with an existing one. 
    5657 *  
    5758 * @version $Revision: $ $Date: 01.04.2012$ 
  • trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeEncoder.java

    r1638 r2258  
    4343 
    4444/** 
    45  * TODO comment 
     45 * Convenience class to encode user sessions, task instance lists, task instances or tasks into 
     46 * a human readable textual representation. 
    4647 *  
    4748 * @version $Revision: $ $Date: 01.04.2012$ 
  • trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeValidator.java

    r1638 r2258  
    4040/** 
    4141 * <p> 
    42  * TODO comment 
     42 * Convenience class to validate if certain restrictions to task trees and task tree instances 
     43 * apply. Restrictions are, e.g., that for every task there need to be instances or that for every 
     44 * sequence instance the children match the corresponding sequence model. This class is vor test and 
     45 * evaluation purposes only. 
    4346 * </p> 
    4447 *  
Note: See TracChangeset for help on using the changeset viewer.