Ignore:
Timestamp:
06/22/11 14:12:18 (13 years ago)
Author:
sherbold
Message:
  • 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)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/IStochasticProcess.java

    r70 r80  
    22 
    33import java.util.List; 
     4import java.util.Set; 
    45 
    56import de.ugoe.cs.eventbench.data.Event; 
    67 
    78public interface IStochasticProcess { 
     9         
     10        double getProbability(List<Event<?>> context, Event<?> symbol); 
    811 
    912        public List<? extends Event<?>> randomSequence(); 
     
    1215         
    1316        public String[] getStateStrings(); 
     17         
     18        public Set<Event<?>> getEvents(); 
    1419 
    1520} 
Note: See TracChangeset for help on using the changeset viewer.