Ignore:
Timestamp:
07/26/13 10:12:47 (11 years ago)
Author:
pharms
Message:
  • handled some TODOs
Location:
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation
Files:
3 edited

Legend:

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

    r1146 r1281  
    1717/** 
    1818 * <p> 
    19  * TODO comment 
     19 * a temporal relationship rule is the main interface for all rules applied for generating 
     20 * temporal relationships in a task tree. It is just a marker interface. More important are the 
     21 * sub interfaces {@link ISessionScopeRule} and {@link ITaskInstanceListScopeRule}. 
    2022 * </p> 
    2123 *  
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/RuleApplicationStatus.java

    r1146 r1281  
    2525enum RuleApplicationStatus { 
    2626    FINISHED, 
    27     // TODO drop feasible 
    28     FEASIBLE, 
    2927    NOT_APPLIED; 
    3028} 
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/RuleUtils.java

    r1146 r1281  
    2323/** 
    2424 * <p> 
    25  * TODO comment 
     25 * provides some convenience methods for rule application 
    2626 * </p> 
    2727 *  
     
    3030class RuleUtils { 
    3131     
    32     /** */ 
     32    /** 
     33     * <p> 
     34     * counter for generating unique ids. Starts at 0 for each new program start 
     35     * </p> 
     36     */ 
    3337    private static int idCounter = 0; 
    3438 
    3539    /** 
     40     * <p> 
     41     * generates a sub sequence for a specified range of elements in the provided task instances 
     42     * list. 
     43     * </p> 
     44     * 
     45     * @param parent      the list of which the range shall be extracted 
     46     * @param startIndex  the start index of the range 
     47     * @param endIndex    the end index of the range (inclusive) 
     48     * @param model       the task model (required for instantiating the sub sequence) 
     49     * @param taskFactory the task factory used for instantiating the sub sequence 
     50     * @param taskBuilder the task builder to perform changes in the task structure 
    3651     *  
     52     * @return a task instance representing the requested sub sequence 
    3753     */ 
    3854    static ITaskInstance getSubSequenceInRange(ITaskInstanceList parent, 
     
    5369 
    5470    /** 
     71     * <p> 
     72     * replaces a sub sequence for a specified range of elements in the provided task instances 
     73     * list by a sub task instance 
     74     * </p> 
     75     * 
     76     * @param parent      the list of which the range shall be replaced 
     77     * @param startIndex  the start index of the range 
     78     * @param endIndex    the end index of the range (inclusive) 
     79     * @param model       the task model (required for instantiating the sub sequence) 
     80     * @param taskFactory the task factory used for instantiating the sub sequence 
     81     * @param taskBuilder the task builder to perform changes in the task structure 
    5582     *  
     83     * @return the replacement for the range 
    5684     */ 
    5785    static ITaskInstance createNewSubSequenceInRange(ITaskInstanceList parent, 
     
    76104 
    77105    /** 
    78      * 
     106     * <p> 
     107     * returns the next available id (uses the id counter) 
     108     * </p> 
     109     *  
     110     * @return the next available id 
    79111     */ 
    80112    static synchronized String getNewId() { 
     
    83115 
    84116    /** 
    85      * 
     117     * <p> 
     118     * prevent instantiation 
     119     * </p> 
    86120     */ 
    87121    private RuleUtils() { 
Note: See TracChangeset for help on using the changeset viewer.