|
||||||||||
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 Proposition s containing children,
those children as well -- and returns the boolean result; |
List<Proposition> |
getChildren()
This method returns the List of child Proposition s that belong to this object. |
boolean |
isCompound()
Indicates whether this Proposition can have children. |
Method Detail |
---|
PropositionResult evaluate(ExecutionEnvironment environment)
Proposition
s 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 Proposition
s 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 Proposition
s that belong to this object. Must never return null.boolean isCompound()
Proposition
can have children.
Proposition
can contain child Proposition
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |