Changeset 325
- Timestamp:
- 12/16/11 10:17:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/TrieBasedModel.java
r252 r325 88 88 * training data 89 89 */ 90 public void train(Collection<List< Event<?>>> sequences) {90 public void train(Collection<List<? extends Event<?>>> sequences) { 91 91 trie = null; 92 92 update(sequences); … … 104 104 * training data 105 105 */ 106 public void update(Collection<List< Event<?>>> sequences) {106 public void update(Collection<List<? extends Event<?>>> sequences) { 107 107 if (sequences == null) { 108 108 return; … … 111 111 trie = new Trie<Event<?>>(); 112 112 } 113 for (List< Event<?>> sequence : sequences) {113 for (List<? extends Event<?>> sequence : sequences) { 114 114 List<Event<?>> currentSequence = new LinkedList<Event<?>>(sequence); // defensive 115 115 // copy
Note: See TracChangeset
for help on using the changeset viewer.