Ignore:
Timestamp:
07/12/11 16:52:27 (13 years ago)
Author:
sherbold
Message:

+ extended de.ugoe.cs.eventbench.models.IStochasticProcess with getProbability() for a sequence

  • refactored de.ugoe.cs.eventbench.coverage.CoverageCalculator? to use IStochasticProcess#getProbability(sequences)
File:
1 edited

Legend:

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

    r102 r118  
    3232         */ 
    3333        double getProbability(List<? extends Event<?>> context, Event<?> symbol); 
     34         
     35        /** 
     36         * <p> 
     37         * Returns the probabilitiy that a given sequence is generated by the stochastic process. 
     38         * </p> 
     39         * @param sequence sequences of which the probability is calculated 
     40         * @return probability of the sequences; 1.0 if sequence is empty or null 
     41         */ 
     42        double getProbability(List<? extends Event<?>> sequence); 
    3443 
    3544        /** 
Note: See TracChangeset for help on using the changeset viewer.