- Timestamp:
- 12/12/11 11:04:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/coverage/CoverageCalculatorProcess.java
r289 r292 33 33 * </p> 34 34 */ 35 private finalCollection<List<? extends Event<?>>> sequences;35 private Collection<List<? extends Event<?>>> sequences; 36 36 37 37 /** … … 68 68 /** 69 69 * <p> 70 * Constructor. Creates a new CoverageCalculatorProcess for a given stochastic71 * process and generated sequences.70 * Constructor. Creates a new CoverageCalculatorProcess for a given 71 * stochastic process and generated sequences. 72 72 * </p> 73 73 * … … 162 162 return weight; 163 163 } 164 164 165 165 /** 166 166 * <p> 167 167 * Returns the number of covered subsequences of length k. 168 168 * </p> 169 * 169 170 * @return number of covered subsequences 170 171 */ … … 176 177 return containedSubSeqs.size(); 177 178 } 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. 182 184 * </p> 183 185 * … … 191 193 } 192 194 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 193 208 }
Note: See TracChangeset
for help on using the changeset viewer.