|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rule.Clause | +--rule.SensorClause
The SensorClause
class implements a sensor clause that
can be used as the antecedent in a rule.
Field Summary | |
(package private) Sensor |
object
|
(package private) java.lang.String |
sensorName
|
Fields inherited from class rule.Clause |
cond,
consequent,
lhs,
rhs,
ruleRefs,
truth |
Constructor Summary | |
(package private) |
SensorClause(java.lang.String sName,
RuleVariable Lhs)
Creates a SensorClause object with the given parameters. |
Method Summary | |
java.lang.Boolean |
check()
Checks the truth value returned from the sensor. |
java.lang.String |
display()
Displays information about this sensor clause. |
Methods inherited from class rule.Clause |
addRuleRef,
getRule,
setConsequent,
toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
Sensor object
java.lang.String sensorName
Constructor Detail |
SensorClause(java.lang.String sName, RuleVariable Lhs)
SensorClause
object with the given parameters.sName
- the String object that contains the name of the sensorLhs
- the RuleVariable object to be set in this sensor clauseMethod Detail |
public java.lang.String display()
public java.lang.Boolean check()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |