public final class RuinRadial extends AbstractRuinStrategy
random, ruinShareFactory| Constructor and Description |
|---|
RuinRadial(VehicleRoutingProblem vrp,
double fraction2beRemoved,
JobDistance jobDistance)
Constructs RuinRadial.
|
RuinRadial(VehicleRoutingProblem vrp,
int noJobs2beRemoved,
JobDistance jobDistance) |
RuinRadial(VehicleRoutingProblem vrp,
int noJobs2beRemoved,
JobNeighborhoods neighborhoods) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Job> |
ruinRoutes(Collection<VehicleRoute> vehicleRoutes)
Ruins the collection of vehicleRoutes, i.e.
|
String |
toString() |
addListener, getListeners, getRuinShareFactory, removeJob, removeJob, removeListener, ruin, setRandom, setRuinShareFactorypublic RuinRadial(VehicleRoutingProblem vrp, double fraction2beRemoved, JobDistance jobDistance)
vrp - fraction2beRemoved - i.e. the share of jobs to be removed (relative to the total number of jobs in vrp)jobDistance - i.e. a measure to define the distance between two jobs and whether they are located close or distant to eachotherpublic RuinRadial(VehicleRoutingProblem vrp, int noJobs2beRemoved, JobDistance jobDistance)
public RuinRadial(VehicleRoutingProblem vrp, int noJobs2beRemoved, JobNeighborhoods neighborhoods)
public Collection<Job> ruinRoutes(Collection<VehicleRoute> vehicleRoutes)
ruinRoutes in class AbstractRuinStrategyCopyright © 2013–2020. All rights reserved.