public interface HardRouteConstraint extends HardConstraint
| Modifier and Type | Method and Description |
|---|---|
boolean |
fulfilled(JobInsertionContext insertionContext)
Returns whether a job can be inserted in route.
|
boolean fulfilled(JobInsertionContext insertionContext)
insertionContext - provides context information about inserting a new job, i.e. the new job (insertionContext.getJob()),
the route where the new job should be inserted (insertionContext.getRoute()), the new vehicle that
should operate the route plus the new job (insertionContext.getNewVehicle()) and the new departure
time at this vehicle's start location (insertionContext.getNewDepartureTime()).Copyright © 2013–2024. All rights reserved.