1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

mod solEx

This commit is contained in:
Stefan Schroeder 2013-12-11 16:58:51 +01:00
parent f7378a4401
commit 6796d6ca7b

View file

@ -72,7 +72,7 @@ public class SolomonExample {
*/ */
// VehicleRoutingAlgorithm vra = new SchrimpfFactory().createAlgorithm(vrp); // VehicleRoutingAlgorithm vra = new SchrimpfFactory().createAlgorithm(vrp);
VehicleRoutingAlgorithm vra = VehicleRoutingAlgorithms.readAndCreateAlgorithm(vrp, "input/algorithmConfig_solomon.xml"); VehicleRoutingAlgorithm vra = VehicleRoutingAlgorithms.readAndCreateAlgorithm(vrp, "input/algorithmConfig_solomon.xml");
vra.setPrematureBreak(10);
// vra.getAlgorithmListeners().addListener(new AlgorithmSearchProgressChartListener("output/sol_progress.png")); // vra.getAlgorithmListeners().addListener(new AlgorithmSearchProgressChartListener("output/sol_progress.png"));
/* /*
* Solve the problem. * Solve the problem.
@ -101,7 +101,7 @@ public class SolomonExample {
// GraphStream.display(vrp,100); // GraphStream.display(vrp,100);
new GraphStreamViewer(vrp,solution).display(); new GraphStreamViewer(vrp,solution).setRenderDelay(100).display();
} }