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

modify core.reporting.SolutionPrinter to print unassignedJobs

This commit is contained in:
oblonski 2014-08-11 23:21:30 +02:00
parent e0a764c113
commit c832364557
3 changed files with 23 additions and 10 deletions

View file

@ -30,8 +30,10 @@ import jsprit.core.problem.vehicle.PenaltyVehicleType;
* Printer to print the details of a vehicle-routing-problem solution.
*
* @author stefan schroeder
* @deprecated use jsprit.core.reporting.SolutionPrinter instead
*
*/
@Deprecated
public class SolutionPrinter {
/**
@ -93,7 +95,7 @@ public class SolutionPrinter {
System.out.format("+---------------+------------------------------------------+%n");
System.out.format(leftAlignSolution, "costs",solution.getCost());
System.out.format(leftAlignSolution, "nVehicles",solution.getRoutes().size());
System.out.format(leftAlignSolution, "badJobs", solution.getUnassignedJobs().size());
System.out.format(leftAlignSolution, "unassignedJobs", solution.getUnassignedJobs().size());
System.out.format("+----------------------------------------------------------+%n");
if(print.equals(Print.VERBOSE)){