Examples of PlanningGraphClosedWorldAssumption


Examples of graphplan.graph.planning.cwa.PlanningGraphClosedWorldAssumption

    if(this.pddl) {
      logger.fine("OPTIMIZATION: JavaGP using Types");
      //If domain has negative preconditions, the planner will use the closed world assumption
      if(domainDescription.isNegativePreconditions()) {
        logger.fine("OPTIMIZATION: JavaGP using Closed World Assumption (Lazily)");
        this.planningGraph = new PlanningGraphClosedWorldAssumption(initialLevel, domainDescription.getTypes(), domainDescription.getParameterTypes(), new StaticMutexesTable(new ArrayList<Operator>(domainDescription.getOperators())));
      } else this.planningGraph = new PlanningGraph(initialLevel, domainDescription.getTypes(), domainDescription.getParameterTypes(), new StaticMutexesTable(new ArrayList<Operator>(domainDescription.getOperators())));
    } else this.planningGraph = new PlanningGraph(initialLevel, new StaticMutexesTable(new ArrayList<Operator>(domainDescription.getOperators())));
   
//    System.out.println();
   
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.