- Timestamp:
- 02/20/12 11:40:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/IStochasticProcess.java
r342 r386 59 59 */ 60 60 public List<? extends Event<?>> randomSequence(); 61 62 /** 63 * <p> 64 * Generates a random sequence of events. The sequence starts with 65 * {@link Event#STARTEVENT} and finishes with 66 * <ul> 67 * <li>{@link Event#ENDEVENT} if validEnd==true.</li> 68 * <li>b) if a generated sequences reaches {@link Event#ENDEVENT} before 69 * maxLength, the sequence finishes and is shorter than maxLenght. 70 * Otherwise, the sequence finishes as soon as maxLength is reached and the 71 * final event of the sequence must not be {@link Event#ENDEVENT}.</li> 72 * </ul> 73 * </p> 74 * 75 * @param maxLength 76 * maximum length of the generated sequence 77 * @param validEnd 78 * if true, only sequences that finish with 79 * {@link Event#ENDEVENT} are generated 80 * @return randomly generated sequence 81 * 82 */ 83 public List<? extends Event<?>> randomSequence(int maxLength, 84 boolean validEnd); 61 85 62 86 /**
Note: See TracChangeset
for help on using the changeset viewer.