|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Factory
The Factory allows the application to create the necessary data structures for using the library.
| Method Summary | |
|---|---|
PrunerFactory |
getPrunerFactory()
|
GeneratedHypotheses |
newGeneratedHypotheses(java.util.Collection<GeneratedHypothesis> hypotheses)
Creates a new GeneratedHypothesis object which should be returned to the library when returning from the generate
method of the HypothesesGenerator class. |
GeneratedHypothesis |
newGeneratedHypothesis(double probability,
java.util.Set<Event> events,
java.util.Set<Fact> facts)
Creates a new generated hypothesis. |
HypothesesManager |
newHypothesesManager()
|
| Method Detail |
|---|
HypothesesManager newHypothesesManager()
GeneratedHypotheses newGeneratedHypotheses(java.util.Collection<GeneratedHypothesis> hypotheses)
generate
method of the HypothesesGenerator class.
hypotheses - The generated hypotheses.
GeneratedHypothesis newGeneratedHypothesis(double probability,
java.util.Set<Event> events,
java.util.Set<Fact> facts)
probability - The hypothesis probability.events - The new generated events.facts - The new generated facts.
PrunerFactory getPrunerFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||