Package aima.core.agent.impl

Examples of aima.core.agent.impl.ObjectWithDynamicAttributes


  // function SIMPLE-RELEX-AGENT(percept) returns an action
  @Override
  public Action execute(Percept percept) {

    // state <- INTERPRET-INPUT(percept);
    ObjectWithDynamicAttributes state = interpretInput(percept);
    // rule <- RULE-MATCH(state, rules);
    Rule rule = ruleMatch(state, rules);
    // action <- rule.ACTION;
    // return action
    return ruleAction(rule);
View Full Code Here


  // function SIMPLE-RELEX-AGENT(percept) returns an action
  @Override
  public Action execute(Percept percept) {

    // state <- INTERPRET-INPUT(percept);
    ObjectWithDynamicAttributes state = interpretInput(percept);
    // rule <- RULE-MATCH(state, rules);
    Rule rule = ruleMatch(state, rules);
    // action <- rule.ACTION;
    // return action
    return ruleAction(rule);
View Full Code Here

TOP

Related Classes of aima.core.agent.impl.ObjectWithDynamicAttributes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.