|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface implements the RELATE Rule.
This interface requires the user to define the method "calculate" which receives a sensedEnvironment object and returns an object representing the result of the rules calculation. A toString() method is required to assist in the display and evaluation of the Rule.
Method Summary | |
java.lang.Object |
calculate(SensedEnvironment pPE)
Uses the passed in perceived environment as input to a calculation which returns an object which is the result of the calculation. |
java.lang.String |
toString()
Returns a formated description of this Rule suitable for printing |
Method Detail |
public java.lang.Object calculate(SensedEnvironment pPE)
pPE
- The PerceivedEnvironment that the Rule uses for calculation.
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |