mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
reformat
This commit is contained in:
parent
5051b6960b
commit
966dc6e901
63 changed files with 1447 additions and 1466 deletions
|
|
@ -59,7 +59,7 @@ public class AlgorithmSearchProgressChartListener implements IterationEndsListen
|
|||
|
||||
@Override
|
||||
public void informAlgorithmEnds(VehicleRoutingProblem problem, Collection<VehicleRoutingProblemSolution> solutions) {
|
||||
log.info("create chart " + filename);
|
||||
log.info("create chart {}", filename);
|
||||
XYLineChartBuilder.saveChartAsPNG(chartBuilder.build(), filename);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -416,8 +416,7 @@ public class ComputationalLaboratory {
|
|||
}
|
||||
|
||||
});
|
||||
}
|
||||
catch (Exception e){
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ public class Plotter {
|
|||
}
|
||||
|
||||
private void plot(VehicleRoutingProblem vrp, final Collection<VehicleRoute> routes, String pngFile, String title) {
|
||||
log.info("plot to " + pngFile);
|
||||
log.info("plot to {}", pngFile);
|
||||
XYSeriesCollection problem;
|
||||
XYSeriesCollection solution = null;
|
||||
final XYSeriesCollection shipments;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public class StopWatch implements AlgorithmStartsListener, AlgorithmEndsListener
|
|||
@Override
|
||||
public void informAlgorithmEnds(VehicleRoutingProblem problem, Collection<VehicleRoutingProblemSolution> solutions) {
|
||||
stop();
|
||||
log.info("computation time [in sec]: " + getCompTimeInSeconds());
|
||||
log.info("computation time [in sec]: {}", getCompTimeInSeconds());
|
||||
}
|
||||
|
||||
public void stop() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue