Package graphplan.graph.draw

Examples of graphplan.graph.draw.DotGraphDrawVisitor


        if(result.isTrue()) {
          logger.info("Plan found:\n"+result.toString());
          logger.info("Plan length: " + result.getPlanLength());
          if(graphDrawFile != null) {
            logger.info("Drawing planning graph to "+graphDrawFile);
            DotGraphDrawVisitor drawVisitor = new DotGraphDrawVisitor();
            if(graphplan.planningGraph.accept(drawVisitor)) {
              PrintWriter writer = new PrintWriter(new File(graphDrawFile));
              writer.println(drawVisitor.toString());
              writer.flush();
              writer.close();
            }
          }
        } else {
View Full Code Here

TOP

Related Classes of graphplan.graph.draw.DotGraphDrawVisitor

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.