Changeset 391
- Timestamp:
- 03/08/12 09:11:15 (13 years ago)
- Location:
- trunk/EventBenchCore/src/de/ugoe/cs/eventbench
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/data/Event.java
r375 r391 98 98 if (otherEvent.canEqual(this)) { 99 99 if (type != null) { 100 return t ype.equals(otherEvent.type)101 && t argetEquals(otherEvent.target);100 return targetEquals(otherEvent.target) 101 && type.equals(otherEvent.type); 102 102 } else { 103 return otherEvent.type == null104 && targetEquals(otherEvent.target);103 return targetEquals(otherEvent.target) 104 && otherEvent.type == null; 105 105 } 106 106 } else { -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/TrieBasedModel.java
r386 r391 163 163 context.add(Event.STARTEVENT); 164 164 165 Event<?> currentState = Event.STARTEVENT;166 167 165 while (!endFound && sequence.size() < maxLength) { 168 166 double randVal = r.nextDouble(); … … 176 174 // START or END 177 175 context.add(symbol); 178 currentState = symbol; 179 sequence.add(currentState); 176 sequence.add(symbol); 180 177 } 181 178 endFound = (symbol == Event.ENDEVENT)
Note: See TracChangeset
for help on using the changeset viewer.