Ignore:
Timestamp:
04/19/13 17:02:50 (11 years ago)
Author:
pharms
Message:
  • improved java doc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/SelectionComparisonRule.java

    r1146 r1154  
    2929 * equal, then the selections are syntactically equal. If all children are at least semantically 
    3030 * equal, then the selections are semantically equal. If only one of the selections has children, 
    31  * then the selections are unequal. 
     31 * then the selections are unequal. The comparison is broken up, if only a specific equality is 
     32 * checked for and this equality is ensured. 
    3233 * </p> 
    3334 *  
     
    9798 
    9899    /** 
    99      *  
     100     * <p> 
     101     * compares two selections with each other checking for the provided required level of 
     102     * equality. If this level is ensured, the method immediately returns. The more concrete 
     103     * the required equality level, the more checks this method performs. 
     104     * </p> 
     105     *  
     106     * @param task1                 the first task to be compared 
     107     * @param task2                 the second task to be compared 
     108     * @param requiredEqualityLevel the equality level to be checked for 
     109     *  
     110     * @return the determined equality. 
    100111     */ 
    101112    private TaskEquality getEquality(ITask task1, ITask task2, TaskEquality requiredEqualityLevel) { 
     
    141152    /** 
    142153     * <p> 
    143      * TODO: comment 
     154     * determines the common equality level for all tasks in the first list compared to all 
     155     * tasks in the second list. If for one task in the first list, there is no equal task in the 
     156     * second list, the method return unequality.  
    144157     * </p> 
    145158     * 
    146      * @param children1 
    147      * @param children2 
    148      * @param requiredEqualityLevel 
     159     * @param children1 the first list to be compared 
     160     * @param children2 the second list to be compared 
     161     *  
     162     * @return the common task equality identified for all tasks in the first list with respect to 
     163     *         the second list 
    149164     */ 
    150165    private TaskEquality getCommonEqualityLevel(List<ITask> children1, List<ITask> children2) { 
     
    188203    /** 
    189204     * <p> 
    190      * TODO: comment 
    191      * </p> 
    192      * 
    193      * @param children1 
    194      * @param children2 
    195      * @param requiredEqualityLevel 
     205     * ensures for the two given lists, that for each task in the first list there is a task 
     206     * in the second list being on the given level equal to the task in the first list. 
     207     * </p>  
     208     *  
     209     * @param children1             the first list to be compared 
     210     * @param children2             the second list to be compared 
     211     * @param requiredEqualityLevel the equality level to be checked for 
     212     *  
     213     * @return true if each task in the first list has an equal task in the second list when 
     214     *         considering the given equality level, false else. 
    196215     */ 
    197216    private boolean checkEqualityLevel(List<ITask>  children1, 
     
    227246    /** 
    228247     * <p> 
    229      * TODO: comment 
    230      * </p> 
    231      * 
    232      * @param child1 
    233      * @param child2 
    234      * @param requiredEqualityLevel 
    235      * @return 
     248     * used to to call the task equality rule manager for the comparison of the two provided 
     249     * children. If no required equality level is provided, than the most concrete equality is 
     250     * returned. Otherwise, the required equality is returned as long as the children are equal 
     251     * on that level. 
     252     * </p>  
     253     *  
     254     * @param child1                the first task to be compared 
     255     * @param child2                the second task to be compared 
     256     * @param requiredEqualityLevel the equality level to be checked for 
     257     *  
     258     * @return the determined equality 
    236259     */ 
    237260    private TaskEquality callRuleManager(ITask        child1, 
Note: See TracChangeset for help on using the changeset viewer.