public final class IncreasingAbsoluteFixedCosts extends Object implements SoftRouteConstraint
| Modifier and Type | Field and Description |
|---|---|
protected double |
solutionCompletenessRatio |
| Constructor and Description |
|---|
IncreasingAbsoluteFixedCosts(int noJobs) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCosts(JobInsertionContext insertionContext) |
double |
getSolutionCompletenessRatio() |
void |
informInsertionStarts(Collection<VehicleRoute> routes,
Collection<Job> unassignedJobs) |
void |
informJobInserted(Job job2insert,
VehicleRoute inRoute,
double additionalCosts,
double additionalTime) |
void |
setSolutionCompletenessRatio(double ratio) |
void |
setWeightOfFixCost(double weight) |
String |
toString() |
public void setWeightOfFixCost(double weight)
public double getCosts(JobInsertionContext insertionContext)
getCosts in interface SoftRouteConstraintpublic void setSolutionCompletenessRatio(double ratio)
public double getSolutionCompletenessRatio()
public void informInsertionStarts(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs)
informInsertionStarts in interface InsertionStartsListenerpublic void informJobInserted(Job job2insert, VehicleRoute inRoute, double additionalCosts, double additionalTime)
informJobInserted in interface JobInsertedListenerCopyright © 2013–2020. All rights reserved.