Package graphplan.graph.memo.mutexes

Examples of graphplan.graph.memo.mutexes.StaticMutexesTable


    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();
   
    OperatorFactory.getInstance().resetOperatorTemplates();
   
View Full Code Here


    PropositionLevel initialLevel = new PropositionLevel();
    initialLevel.addPropositions(domainDescription.getInitialState());
    this.solutionExtraction = new TimeoutSolutionExtractionVisitor(domainDescription.getGoalState());
    ((TimeoutSolutionExtractionVisitor)solutionExtraction).setTimeout(timeout);
   
    this.planningGraph = new PlanningGraph(initialLevel, new StaticMutexesTable(new ArrayList<Operator>(domainDescription.getOperators())));
    OperatorFactory.getInstance().resetOperatorTemplates();
   
    for(Operator operator:domainDescription.getOperators()) {
      OperatorFactory.getInstance().addOperatorTemplate(operator);
    }
View Full Code Here

TOP

Related Classes of graphplan.graph.memo.mutexes.StaticMutexesTable

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.