Changeset 209 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDprintRandomSession.java
- Timestamp:
- 09/28/11 03:03:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDprintRandomSession.java
r171 r209 49 49 if (dataObject == null) { 50 50 Console.println("Model " + modelname + " not found in storage."); 51 } else if (!(dataObject instanceof IStochasticProcess)) { 51 return; 52 } 53 if (!(dataObject instanceof IStochasticProcess)) { 52 54 Console.println("Object " + modelname + " not of type MarkovModel!"); 53 } else { 54 model = (IStochasticProcess) dataObject; 55 for (Event<?> event : model.randomSequence()) { 56 Console.println(event.toString()); 57 } 55 return; 56 } 57 58 model = (IStochasticProcess) dataObject; 59 for (Event<?> event : model.randomSequence()) { 60 Console.println(event.toString()); 58 61 } 59 62 }
Note: See TracChangeset
for help on using the changeset viewer.