mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
removed .setShowFirstActivity(..) since it is now default and cannot be
disabled
This commit is contained in:
parent
0e17a93506
commit
022e654ba7
7 changed files with 0 additions and 7 deletions
|
|
@ -256,7 +256,6 @@ public class BicycleMessenger {
|
||||||
//and the problem as well as the solution
|
//and the problem as well as the solution
|
||||||
Plotter plotter1 = new Plotter(bicycleMessengerProblem, Solutions.bestOf(solutions));
|
Plotter plotter1 = new Plotter(bicycleMessengerProblem, Solutions.bestOf(solutions));
|
||||||
plotter1.plotShipments(false);
|
plotter1.plotShipments(false);
|
||||||
plotter1.setShowFirstActivity(true);
|
|
||||||
// plotter1.setBoundingBox(5000, 45500, 25000, 66500);
|
// plotter1.setBoundingBox(5000, 45500, 25000, 66500);
|
||||||
plotter1.plot("output/bicycleMessengerSolution.png", "bicycleMessenger");
|
plotter1.plot("output/bicycleMessengerSolution.png", "bicycleMessenger");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,6 @@ public class PickupAndDeliveryExample {
|
||||||
// SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
|
// SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
|
||||||
Plotter plotter = new Plotter(vrp, solution);
|
Plotter plotter = new Plotter(vrp, solution);
|
||||||
plotter.setLabel(Label.SIZE);
|
plotter.setLabel(Label.SIZE);
|
||||||
plotter.setShowFirstActivity(true);
|
|
||||||
plotter.plot("output/pd_solomon_r101_solution.png","pd_r101");
|
plotter.plot("output/pd_solomon_r101_solution.png","pd_r101");
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,6 @@ public class PickupAndDeliveryExample2 {
|
||||||
// SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
|
// SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
|
||||||
Plotter plotter = new Plotter(vrp, solution);
|
Plotter plotter = new Plotter(vrp, solution);
|
||||||
plotter.setLabel(Label.SIZE);
|
plotter.setLabel(Label.SIZE);
|
||||||
plotter.setShowFirstActivity(true);
|
|
||||||
plotter.plot("output/pd_christophides_vrpnc1_solution.png","pd_vrpnc1");
|
plotter.plot("output/pd_christophides_vrpnc1_solution.png","pd_vrpnc1");
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,6 @@ public class PickupAndDeliveryOpenExample {
|
||||||
// SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
|
// SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
|
||||||
Plotter plotter = new Plotter(vrp, solution);
|
Plotter plotter = new Plotter(vrp, solution);
|
||||||
plotter.setLabel(Label.SIZE);
|
plotter.setLabel(Label.SIZE);
|
||||||
plotter.setShowFirstActivity(true);
|
|
||||||
plotter.plot("output/pd_solomon_r101_solution_open.png","pd_r101");
|
plotter.plot("output/pd_solomon_r101_solution_open.png","pd_r101");
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,6 @@ public class SimpleDepotBoundedPickupAndDeliveryExample {
|
||||||
*/
|
*/
|
||||||
Plotter plotter = new Plotter(problem,bestSolution);
|
Plotter plotter = new Plotter(problem,bestSolution);
|
||||||
plotter.setLabel(Label.SIZE);
|
plotter.setLabel(Label.SIZE);
|
||||||
plotter.setShowFirstActivity(true);
|
|
||||||
plotter.plot("output/solution.png", "solution");
|
plotter.plot("output/solution.png", "solution");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,6 @@ public class SimpleVRPWithBackhaulsExample {
|
||||||
*/
|
*/
|
||||||
Plotter plotter = new Plotter(problem,bestSolution);
|
Plotter plotter = new Plotter(problem,bestSolution);
|
||||||
plotter.setLabel(Label.SIZE);
|
plotter.setLabel(Label.SIZE);
|
||||||
plotter.setShowFirstActivity(true);
|
|
||||||
plotter.plot("output/solution.png", "solution");
|
plotter.plot("output/solution.png", "solution");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,6 @@ public class VRPWithBackhaulsExample2 {
|
||||||
// SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
|
// SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
|
||||||
Plotter plotter = new Plotter(vrp, solution);
|
Plotter plotter = new Plotter(vrp, solution);
|
||||||
plotter.setLabel(Label.SIZE);
|
plotter.setLabel(Label.SIZE);
|
||||||
plotter.setShowFirstActivity(true);
|
|
||||||
plotter.plot("output/vrpwbh_christophides_vrpnc1_solution.png","vrpwbh_vrpnc1");
|
plotter.plot("output/vrpwbh_christophides_vrpnc1_solution.png","vrpwbh_vrpnc1");
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue