Package aima.core.agent

Examples of aima.core.agent.AgentProgram


*
*/
public class ReflexVacuumAgent extends AbstractAgent {

  public ReflexVacuumAgent() {
    super(new AgentProgram() {
      // function REFLEX-VACUUM-AGENT([location, status]) returns an
      // action
      public Action execute(Percept percept) {
        LocalVacuumEnvironmentPercept vep = (LocalVacuumEnvironmentPercept) percept;

View Full Code Here


*
*/
public class ReflexVacuumAgent extends AbstractAgent {

  public ReflexVacuumAgent() {
    super(new AgentProgram() {
      // function REFLEX-VACUUM-AGENT([location, status]) returns an
      // action
      public Action execute(Percept percept) {
        VacuumEnvPercept vep = (VacuumEnvPercept) percept;

View Full Code Here

TOP

Related Classes of aima.core.agent.AgentProgram

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.