|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Proposition
Interface for logical propositions that may be executed in the Engine.
| Method Summary | |
|---|---|
PropositionResult |
evaluate(ExecutionEnvironment environment)
This method evaluates this proposition -- and in the case of Propositions containing children,
those children as well -- and returns the boolean result; |
List<Proposition> |
getChildren()
This method returns the List of child Propositions that belong to this object. |
boolean |
isCompound()
Indicates whether this Proposition can have children. |
| Method Detail |
|---|
PropositionResult evaluate(ExecutionEnvironment environment)
Propositions containing children,
those children as well -- and returns the boolean result;
environment - the ExecutionEnvironment that this Proposition is running in
List<Proposition> getChildren()
List of child Propositions that belong to this object.
If there are no children (e.g. for simple Proposition types), this must
return an empty List.
List containing any child Propositions that belong to this object. Must never return null.boolean isCompound()
Proposition can have children.
Proposition can contain child Propositions.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||