Ignore:
Timestamp:
04/29/13 13:56:31 (11 years ago)
Author:
pharms
Message:
  • improved java doc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-usageprofiles/src/main/java/de/ugoe/cs/autoquest/usageprofiles/TrieProcessor.java

    r1118 r1186  
    1919/** 
    2020 * <p> 
    21  * TODO comment 
     21 * A trie processor can be used to recursively process a trie. It will be called for each path 
     22 * stored in the trie. The method called is the {@link #process(List, int)} method. It is provided 
     23 * with the symbol path and the number of its occurrences. The processor may decide for each 
     24 * call to the method using its return value, if the processing shall continue, if the path and all 
     25 * its subsequent symbols can be skipped, or if the whole processing shall be broken up. 
    2226 * </p> 
    2327 *  
     
    2731     
    2832    /** 
    29      *  
     33     * <p> 
     34     * potential results for a call to the {@link TrieProcessor#process(List, int)} method. The 
     35     * processor may decide for each call to the method using its return value, if the processing 
     36     * shall continue, if the path and all its subsequent symbols can be skipped, or if the whole 
     37     * processing shall be broken up. 
     38     * </p> 
    3039     */ 
    3140    public enum Result { 
     
    3443 
    3544    /** 
     45     * <p> 
     46     * called for each path of symbols stored in the trie which is processed. The method is 
     47     * provided with the symbol path and the number of its occurrences. The processor may decide 
     48     * for each call to the method using its return value, if the processing shall continue, if 
     49     * the path and all its subsequent symbols can be skipped, or if the whole processing shall 
     50     * be broken up. 
     51     * </p> 
    3652     *  
     53     * @param sequence the symbol path to be processed 
     54     * @param count    the number of occurrences of the provided symbol path in the trained 
     55     *                 sequence 
     56     *                  
     57     * @return as described 
    3758     */ 
    3859    public Result process(List<T> sequence, int count); 
Note: See TracChangeset for help on using the changeset viewer.