mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
add getter for solution completeness ratio
This commit is contained in:
parent
2212f53b73
commit
3158f99b67
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ final class JobInsertionConsideringFixCostsCalculator implements JobInsertionCos
|
|||
solution_completeness_ratio = ratio;
|
||||
}
|
||||
|
||||
public double getSolutionCompletenessRatio() { return solution_completeness_ratio; }
|
||||
|
||||
private double getDeltaAbsoluteFixCost(VehicleRoute route, Vehicle newVehicle, Job job, Capacity currentMaxLoadInRoute) {
|
||||
Capacity load = Capacity.addup(currentMaxLoadInRoute, job.getSize());
|
||||
double currentFix = 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue