Changeset 86 for trunk/EventBenchCore/src/de/ugoe
- Timestamp:
- 06/23/11 14:02:05 (14 years ago)
- Location:
- trunk/EventBenchCore/src/de/ugoe/cs/eventbench
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/IReplayDecorator.java
r56 r86 1 1 package de.ugoe.cs.eventbench; 2 2 3 public interface IReplayDecorator { 3 import java.io.Serializable; 4 5 public interface IReplayDecorator extends Serializable { 4 6 5 7 String getHeader(); -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/data/Event.java
r79 r86 1 1 package de.ugoe.cs.eventbench.data; 2 2 3 import java.io.Serializable; 3 4 import java.security.InvalidParameterException; 4 5 … … 16 17 * without subclassing. 17 18 */ 18 public class Event<T> { 19 public class Event<T> implements Serializable { 20 21 /** 22 * Id for object serialization. 23 */ 24 private static final long serialVersionUID = 1L; 19 25 20 26 /** -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/data/IReplayable.java
r79 r86 1 1 package de.ugoe.cs.eventbench.data; 2 3 import java.io.Serializable; 2 4 3 5 /** … … 11 13 * @version 1.0 12 14 */ 13 public interface IReplayable {15 public interface IReplayable extends Serializable { 14 16 15 17 /** -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/data/ReplayableEvent.java
r79 r86 22 22 */ 23 23 public class ReplayableEvent<T extends IReplayable> extends Event<T> { 24 25 /** 26 * Id for object serialization. 27 */ 28 private static final long serialVersionUID = 1L; 24 29 25 30 /** -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/FirstOrderMarkovModel.java
r29 r86 16 16 public class FirstOrderMarkovModel extends HighOrderMarkovModel implements IDotCompatible { 17 17 18 /** 19 * Id for object serialization. 20 */ 21 private static final long serialVersionUID = 1L; 22 18 23 final static int MAX_STATDIST_ITERATIONS = 1000; 19 24 -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/HighOrderMarkovModel.java
r80 r86 9 9 public class HighOrderMarkovModel extends TrieBasedModel { 10 10 11 /** 12 * Id for object serialization. 13 */ 14 private static final long serialVersionUID = 1L; 15 11 16 public HighOrderMarkovModel(int maxOrder, Random r) { 12 17 super(maxOrder, r); -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/IStochasticProcess.java
r80 r86 1 1 package de.ugoe.cs.eventbench.models; 2 2 3 import java.io.Serializable; 3 4 import java.util.List; 4 5 import java.util.Set; … … 6 7 import de.ugoe.cs.eventbench.data.Event; 7 8 8 public interface IStochasticProcess {9 public interface IStochasticProcess extends Serializable { 9 10 10 11 double getProbability(List<Event<?>> context, Event<?> symbol); -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/PredictionByPartialMatch.java
r80 r86 8 8 9 9 public class PredictionByPartialMatch extends TrieBasedModel { 10 11 /** 12 * Id for object serialization. 13 */ 14 private static final long serialVersionUID = 1L; 10 15 11 16 double probEscape; -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/Trie.java
r66 r86 1 1 package de.ugoe.cs.eventbench.models; 2 2 3 import java.io.Serializable; 3 4 import java.util.LinkedHashSet; 4 5 import java.util.LinkedList; … … 11 12 import edu.uci.ics.jung.graph.Tree; 12 13 13 public class Trie<T> implements IDotCompatible {14 public class Trie<T> implements IDotCompatible, Serializable { 14 15 16 /** 17 * Id for object serialization. 18 */ 19 private static final long serialVersionUID = 1L; 20 15 21 private Set<T> knownSymbols; 16 22 -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/TrieBasedModel.java
r80 r86 12 12 13 13 public abstract class TrieBasedModel implements IStochasticProcess { 14 15 /** 16 * Id for object serialization. 17 */ 18 private static final long serialVersionUID = 1L; 14 19 15 20 protected int trieOrder; -
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/TrieNode.java
r30 r86 1 1 package de.ugoe.cs.eventbench.models; 2 2 3 import java.io.Serializable; 3 4 import java.security.InvalidParameterException; 4 5 import java.util.LinkedList; … … 11 12 12 13 13 class TrieNode<T> { 14 class TrieNode<T> implements Serializable { 15 16 /** 17 * Id for object serialization. 18 */ 19 private static final long serialVersionUID = 1L; 14 20 15 21 private int count;
Note: See TracChangeset
for help on using the changeset viewer.