|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmas.agents0815.rules.Rule
public abstract class Rule
Constructor Summary | |
---|---|
Rule()
|
Method Summary | |
---|---|
abstract boolean |
fire(java.util.Collection<eis.iilang.Percept> percepts,
java.util.Collection<apltk.interpreter.data.LogicBelief> beliefs,
java.util.Collection<apltk.interpreter.data.LogicGoal> goals,
SubsumptionAgent agent)
|
eis.iilang.Action |
getAction()
|
protected void |
setAction(eis.iilang.Action action)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Rule()
Method Detail |
---|
public abstract boolean fire(java.util.Collection<eis.iilang.Percept> percepts, java.util.Collection<apltk.interpreter.data.LogicBelief> beliefs, java.util.Collection<apltk.interpreter.data.LogicGoal> goals, SubsumptionAgent agent)
current
- percepts, beliefs and goals with which to check if the rule fires
protected void setAction(eis.iilang.Action action)
Action
- which should be assignedpublic eis.iilang.Action getAction()
-
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |