source: trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/IStochasticProcess.java @ 80

Last change on this file since 80 was 80, checked in by sherbold, 13 years ago
  • added getProbability() to de.ugoe.cs.eventbench.models.IStochasticProcess and implementing classes
  • added getEvents() to de.ugoe.cs.eventbench.models.IStochasticProcess and implementing classes
  • changed getProbability() of subclasses of de.ugoe.cs.eventbench.TrieBasedModel? such that the probability is not zero if the context length is higher than the order of the model, but rather the probability of the suffix of the length of the order, i.e., for a 2nd-order model context(X1,X2,X3,X4) becomes context(X3,X4)
  • Property svn:mime-type set to text/plain
File size: 410 bytes
Line 
1package de.ugoe.cs.eventbench.models;
2
3import java.util.List;
4import java.util.Set;
5
6import de.ugoe.cs.eventbench.data.Event;
7
8public interface IStochasticProcess {
9       
10        double getProbability(List<Event<?>> context, Event<?> symbol);
11
12        public List<? extends Event<?>> randomSequence();
13       
14        public int getNumStates();
15       
16        public String[] getStateStrings();
17       
18        public Set<Event<?>> getEvents();
19
20}
Note: See TracBrowser for help on using the repository browser.