eu.anorien.mhl
Interface Hypothesis


public interface Hypothesis

This hypothesis is created by the library when the application requests the best, or all the hypotheses maintained by the library. Therefore it is a global hypothesis.

For the hypothesis generated by the application in an hypothesis generation see GeneratedHypothesis.

See Also:
getBestHypothesis, getAllHypotheses

Method Summary
 java.util.Map<Event,java.lang.Double> getEvents()
           
 java.util.Map<Fact,java.lang.Double> getFacts()
           
 double getProbability()
           
 

Method Detail

getEvents

java.util.Map<Event,java.lang.Double> getEvents()
Returns:
The events in the hypothesis and their probability.

getFacts

java.util.Map<Fact,java.lang.Double> getFacts()
Returns:
The facts in the hypothesis and their probability.

getProbability

double getProbability()
Returns:
The hypothesis' probability.