Package jsprit.analysis.toolbox

Examples of jsprit.analysis.toolbox.GraphStreamViewer$Center


    /*
     * print solution
     */
    SolutionPrinter.print(vrp,solution, SolutionPrinter.Print.VERBOSE);

        new GraphStreamViewer(vrp,solution).display();
    /*
     * Plot solution.
     */
//    new Plotter(vrp,solution).plot( "output/solomon_R101_solution.png","R101");
   
View Full Code Here


        Collection<VehicleRoutingProblemSolution> solutions = vra.searchSolutions();

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

        new GraphStreamViewer(vrp, Solutions.bestOf(solutions)).labelWith(GraphStreamViewer.Label.ID).setRenderShipments(true).display();


    }
View Full Code Here

//    SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/solomon_C101_specifiedVehicleEndLocations_solution.png","C101");
    Plotter solPlotter = new Plotter(vrp, solution);
    solPlotter.plot("output/solomon_C101_specifiedVehicleEndLocations_solution.png","C101");
   
   
    new GraphStreamViewer(vrp, solution).setRenderDelay(50).labelWith(Label.ID).setEnableAutoLayout(true).display();
 
   
  }
View Full Code Here

     */
    Plotter plotter = new Plotter(vrp,solution);
//    plotter.setBoundingBox(30, 0, 50, 20);
    plotter.plot("output/solomon_C101_solution.png", "C101");

    new GraphStreamViewer(vrp,solution).setCameraView(30, 30, 0.25).labelWith(Label.ID).setRenderDelay(100).display();
   
  }
View Full Code Here

    /*
     * plot
     */
//    SolutionPlotter.plotSolutionAsPNG(problem, bestSolution, "output/solution.png", "solution");
   
    new GraphStreamViewer(problem, bestSolution).labelWith(Label.ID).setRenderDelay(200).display();
  }
View Full Code Here

   
    VehicleRoutingProblemSolution best = Solutions.bestOf(solutions);
   
    SolutionPrinter.print(vrp, best, SolutionPrinter.Print.VERBOSE);
   
    new GraphStreamViewer(vrp, best).setRenderDelay(100).display();
   
  }
View Full Code Here

   
    SolutionPrinter.print(vrp, Solutions.bestOf(solutions), jsprit.core.reporting.SolutionPrinter.Print.VERBOSE);

    new Plotter(vrp, Solutions.bestOf(solutions)).plot("output/p08_solution.png", "p08");
   
    new GraphStreamViewer(vrp,Solutions.bestOf(solutions)).setRenderDelay(50).display();
  }
View Full Code Here

     */
    Plotter solutionPlotter = new Plotter(problem,Arrays.asList(Solutions.bestOf(solutions).getRoutes().iterator().next()));
    solutionPlotter.plotShipments(true);
    solutionPlotter.plot("output/simpleEnRoutePickupAndDeliveryExample_solution.png", "en-route pickup and delivery");
   
    new GraphStreamViewer(problem).setRenderShipments(true).display();
   
  }
View Full Code Here

    /*
     * plot
     */
//    SolutionPlotter.plotSolutionAsPNG(problem, bestSolution, "output/solution.png", "solution");
   
    new GraphStreamViewer(problem, bestSolution).labelWith(Label.ID).setRenderDelay(200).display();
  }
View Full Code Here

   
    SolutionPrinter.print(Solutions.bestOf(solutions));
   
    new Plotter(vrp, Solutions.bestOf(solutions)).plot("output/p01_solution.png", "p01");
   
    new GraphStreamViewer(vrp, Solutions.bestOf(solutions)).setRenderDelay(100).display();
   
  }
View Full Code Here

TOP

Related Classes of jsprit.analysis.toolbox.GraphStreamViewer$Center

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.