Package cz.cuni.amis.planning4j.external

Examples of cz.cuni.amis.planning4j.external.ExternalPlanner


    //This will be true with default maven project. If you have extracted the planners elsewhere, change it
    File plannersDirectory = new File("target")// TODO ?????
   
    try{
      IPlanner planner =
          new ExternalPlanner(
            new ItSimplePlannerExecutor(this._plannerElement, plannersDirectory)
          );
     
      IPlanningResult result = planner.plan(domainProvider, problemProvider);
      if(result.isSuccess() == false){
        System.out.println("Planning4JHandler: No solution found.");
        return instructions;
      }else{
        translateInstructions(result.getPlan(), map, instructions);
View Full Code Here

TOP

Related Classes of cz.cuni.amis.planning4j.external.ExternalPlanner

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.