Package graphplan

Examples of graphplan.PlanResult


 
  public NoMemoSolutionExtractionVisitor(List<Proposition> goals) {
    this.goals = goals;
    //By default the plan result will be false, unless changed during a
    //round of solution extraction
    planResult = new PlanResult(false);
    subGoalStack = new Stack<Set<Proposition>>();
    supportActionStack = new Stack<Set<Operator>>();
  }
View Full Code Here


        planningGraph.accept(visitor);
        logger.fine("Planning Graph is:");
        logger.fine(visitor.toString());*/
       
        if(planningGraph.getLastGraphLevel().accept(this)) {
          planResult = new PlanResult(this.supportActionStack);
        } else {
          planResult = new PlanResult(false);
        }
       
        return planResult.isTrue();
      } else {
        return false;
View Full Code Here

 
  public SolutionExtractionVisitor(List<Proposition> goals) {
    this.goals = goals;
    //By default the plan result will be false, unless changed during a
    //round of solution extraction
    planResult = new PlanResult(false);
    subGoalStack = new Stack<Set<Proposition>>();
    supportActionStack = new Stack<Set<Operator>>();
   
    memoizationTable = new MemoizationTable();
  }
View Full Code Here

        //Whenever we try to iterate in the graph, we need to expand
        //the no goods table to match the size of the graph
        memoizationTable.ensureCapacity(planningGraph.size()/2);
       
        if(this.planningGraph.getLastGraphLevel().accept(this)) {
          this.planResult = new PlanResult(this.supportActionStack);
        } else {
          this.planResult = new PlanResult(false);
        }
       
        //logger.info("Table size is: "+noGoodTableSize());
        //logger.info("Hits         : "+hits);
        //logger.info("Misses       : "+misses);
View Full Code Here

TOP

Related Classes of graphplan.PlanResult

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.