Changeset 324 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/efg
- Timestamp:
- 12/16/11 10:17:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/efg/EFGModelGenerator.java
r227 r324 44 44 EFG efg = (EFG) IO.readObjFromFile(efgFileName, EFG.class); 45 45 46 Collection<List< Event<?>>> subsequences = generateEdgeSequences(efg);46 Collection<List<? extends Event<?>>> subsequences = generateEdgeSequences(efg); 47 47 FirstOrderMarkovModel model = new FirstOrderMarkovModel(new Random()); 48 48 model.train(subsequences); … … 63 63 EFG efg = (EFG) IO.readObjFromFile(efgFileName, EFG.class); 64 64 65 Collection<List< Event<?>>> subsequences = generateEdgeSequences(efg);65 Collection<List<? extends Event<?>>> subsequences = generateEdgeSequences(efg); 66 66 DeterministicFiniteAutomaton model = new DeterministicFiniteAutomaton( 67 67 new Random()); … … 81 81 * @return edge sequence set 82 82 */ 83 private Collection<List< Event<?>>> generateEdgeSequences(EFG efg) {83 private Collection<List<? extends Event<?>>> generateEdgeSequences(EFG efg) { 84 84 List<Event<?>> events = createEvents(efg); 85 85 /* … … 89 89 */ 90 90 EventGraphType efgGraph = efg.getEventGraph(); 91 Collection<List< Event<?>>> subsequences = new LinkedList<List<Event<?>>>();91 Collection<List<? extends Event<?>>> subsequences = new LinkedList<List<? extends Event<?>>>(); 92 92 93 93 int efgSize = events.size();
Note: See TracChangeset
for help on using the changeset viewer.