aima.basic.vaccum
Class SimpleReflexAgentProgram

java.lang.Object
  extended by aima.basic.AgentProgram
      extended by aima.basic.vaccum.SimpleReflexAgentProgram

public class SimpleReflexAgentProgram
extends AgentProgram


Field Summary
static java.lang.String NO_OP
           
 
Constructor Summary
SimpleReflexAgentProgram(java.util.Set<Rule> aRuleSet)
           
 
Method Summary
 java.lang.String execute(Percept percept)
           
protected  ObjectWithDynamicAttributes interpretInput(Percept p)
           
protected  java.lang.String ruleAction(Rule r)
           
protected  Rule ruleMatch(ObjectWithDynamicAttributes state, java.util.Set<Rule> rulesSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_OP

public static final java.lang.String NO_OP
See Also:
Constant Field Values
Constructor Detail

SimpleReflexAgentProgram

public SimpleReflexAgentProgram(java.util.Set<Rule> aRuleSet)
Method Detail

execute

public java.lang.String execute(Percept percept)
Specified by:
execute in class AgentProgram

interpretInput

protected ObjectWithDynamicAttributes interpretInput(Percept p)

ruleMatch

protected Rule ruleMatch(ObjectWithDynamicAttributes state,
                         java.util.Set<Rule> rulesSet)

ruleAction

protected java.lang.String ruleAction(Rule r)