public abstract class Rule extends Object
Constructor and Description |
---|
Rule() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
fire(Collection<eis.iilang.Percept> percepts,
Collection<apltk.interpreter.data.LogicBelief> beliefs,
Collection<apltk.interpreter.data.LogicGoal> goals,
SubsumptionAgent agent) |
eis.iilang.Action |
getAction() |
protected void |
setAction(eis.iilang.Action action) |
public abstract boolean fire(Collection<eis.iilang.Percept> percepts, Collection<apltk.interpreter.data.LogicBelief> beliefs, Collection<apltk.interpreter.data.LogicGoal> goals, SubsumptionAgent agent)
current
- percepts, beliefs and goals with which to check if the rule firesprotected void setAction(eis.iilang.Action action)
Action
- which should be assignedpublic eis.iilang.Action getAction()
-
- Copyright © 2013. All Rights Reserved.