Changeset 70
- Timestamp:
- 06/16/11 10:32:32 (13 years ago)
- Location:
- trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/IStochasticProcess.java
r66 r70 10 10 11 11 public int getNumStates(); 12 13 public String[] getStateStrings(); 12 14 13 15 } -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/TrieBasedModel.java
r66 r70 89 89 return trie.getNumSymbols(); 90 90 } 91 92 public String[] getStateStrings() { 93 String[] stateStrings = new String[getNumStates()]; 94 int i=0; 95 for( Event<?> symbol : trie.getKnownSymbols() ) { 96 stateStrings[i] = symbol.toString(); 97 i++; 98 } 99 return stateStrings; 100 } 91 101 92 102 }
Note: See TracChangeset
for help on using the changeset viewer.