Changeset 292


Ignore:
Timestamp:
12/12/11 11:04:17 (12 years ago)
Author:
sherbold
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchCore/src/de/ugoe/cs/eventbench/coverage/CoverageCalculatorProcess.java

    r289 r292  
    3333         * </p> 
    3434         */ 
    35         private final Collection<List<? extends Event<?>>> sequences; 
     35        private Collection<List<? extends Event<?>>> sequences; 
    3636 
    3737        /** 
     
    6868        /** 
    6969         * <p> 
    70          * Constructor. Creates a new CoverageCalculatorProcess for a given stochastic 
    71          * process and generated sequences. 
     70         * Constructor. Creates a new CoverageCalculatorProcess for a given 
     71         * stochastic process and generated sequences. 
    7272         * </p> 
    7373         *  
     
    162162                return weight; 
    163163        } 
    164          
     164 
    165165        /** 
    166166         * <p> 
    167167         * Returns the number of covered subsequences of length k. 
    168168         * </p> 
     169         *  
    169170         * @return number of covered subsequences 
    170171         */ 
     
    176177                return containedSubSeqs.size(); 
    177178        } 
    178          
    179         /** 
    180          * <p> 
    181          * Returns the number of possible subsequences of length k according to the stochastic process. 
     179 
     180        /** 
     181         * <p> 
     182         * Returns the number of possible subsequences of length k according to the 
     183         * stochastic process. 
    182184         * </p> 
    183185         *  
     
    191193        } 
    192194 
     195        /** 
     196         * <p> 
     197         * Sets a new collection of sequences for which the coverage is analyzed. 
     198         * </p> 
     199         *  
     200         * @param newSequences 
     201         *            new collection of sequences 
     202         */ 
     203        public void setSequences(Collection<List<? extends Event<?>>> newSequences) { 
     204                this.sequences = newSequences; 
     205                containedSubSeqs = null; 
     206        } 
     207 
    193208} 
Note: See TracChangeset for help on using the changeset viewer.