Examples of plotShipments()


Examples of jsprit.analysis.toolbox.Plotter.plotShipments()

   
    /*
     * plot problem without solution
     */
    Plotter problemPlotter = new Plotter(problem);
    problemPlotter.plotShipments(true);
    problemPlotter.plot("output/simpleEnRoutePickupAndDeliveryExample_problem.png", "en-route pickup and delivery");
   
    /*
     * plot problem with solution
     */
 
View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plotShipments()

   
    /*
     * plot problem with solution
     */
    Plotter solutionPlotter = new Plotter(problem,Solutions.bestOf(solutions).getRoutes());
    solutionPlotter.plotShipments(true);
    solutionPlotter.plot("output/simpleEnRoutePickupAndDeliveryExample_solution.png", "en-route pickup and delivery");
   
    new GraphStreamViewer(problem, bestSolution).setRenderShipments(true).setRenderDelay(100).display();
  }

View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plotShipments()

        SolutionPrinter.print(bicycleMessengerProblem, Solutions.bestOf(solutions), SolutionPrinter.Print.VERBOSE);

    //you may want to plot the problem
    Plotter plotter = new Plotter(bicycleMessengerProblem);
//    plotter.setBoundingBox(10000, 47500, 20000, 67500);
    plotter.plotShipments(true);
    plotter.plot("output/bicycleMessengerProblem.png", "bicycleMessenger");
   
    //and the problem as well as the solution
    Plotter plotter1 = new Plotter(bicycleMessengerProblem, Solutions.bestOf(solutions));
    plotter1.setLabel(Plotter.Label.ID);
View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plotShipments()

    plotter.plot("output/bicycleMessengerProblem.png", "bicycleMessenger");
   
    //and the problem as well as the solution
    Plotter plotter1 = new Plotter(bicycleMessengerProblem, Solutions.bestOf(solutions));
    plotter1.setLabel(Plotter.Label.ID);
        plotter1.plotShipments(false);
//    plotter1.setBoundingBox(5000, 45500, 25000, 66500);
    plotter1.plot("output/bicycleMessengerSolution.png", "bicycleMessenger");
   
    //and write out your solution in xml
//    new VrpXMLWriter(bicycleMessengerProblem, solutions).write("output/bicycleMessenger.xml");
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.