Package aima.core.search.nondeterministic

Examples of aima.core.search.nondeterministic.Plan.removeFirst()


      return (Action) this.stack.pop();
    } // case: next step is a plan
    else if (currentStep instanceof Plan) {
      Plan newPlan = (Plan) currentStep;
      if (newPlan.size() > 0) {
        this.stack.push(newPlan.removeFirst());
      } else {
        this.stack.pop();
      }
      return this.execute(percept);
    } // case: next step is an if-then
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.