mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
replace SolutionPrinter to now print formatted solution
This commit is contained in:
parent
35b9c89375
commit
4da3b4390f
2 changed files with 5 additions and 3 deletions
|
|
@ -21,6 +21,7 @@ import java.util.Collection;
|
|||
|
||||
import jsprit.analysis.toolbox.SolutionPlotter;
|
||||
import jsprit.analysis.toolbox.SolutionPrinter;
|
||||
import jsprit.analysis.toolbox.SolutionPrinter.Print;
|
||||
import jsprit.core.algorithm.VehicleRoutingAlgorithm;
|
||||
import jsprit.core.algorithm.box.SchrimpfFactory;
|
||||
import jsprit.core.problem.VehicleRoutingProblem;
|
||||
|
|
@ -97,7 +98,7 @@ public class SimpleExample {
|
|||
|
||||
new VrpXMLWriter(problem, solutions).write("output/problem-with-solution.xml");
|
||||
|
||||
SolutionPrinter.print(bestSolution);
|
||||
SolutionPrinter.print(problem,bestSolution,Print.VERBOSE);
|
||||
|
||||
/*
|
||||
* plot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue