| Modifier and Type | Field and Description |
|---|---|
protected static Vehicle |
AbstractInsertionStrategy.NO_NEW_VEHICLE_YET |
| Modifier and Type | Method and Description |
|---|---|
Vehicle |
InsertionData.getSelectedVehicle()
Returns the vehicle to be employed.
|
| Modifier and Type | Method and Description |
|---|---|
InsertionData |
JobInsertionCostsCalculator.getInsertionData(VehicleRoute currentRoute,
Job newJob,
Vehicle newVehicle,
double newVehicleDepartureTime,
Driver newDriver,
double bestKnownCosts) |
void |
VehicleSwitched.vehicleSwitched(VehicleRoute vehicleRoute,
Vehicle oldVehicle,
Vehicle newVehicle) |
| Constructor and Description |
|---|
InsertionData(double insertionCost,
int pickupInsertionIndex,
int deliveryInsertionIndex,
Vehicle vehicle,
Driver driver) |
| Modifier and Type | Method and Description |
|---|---|
void |
InsertionListeners.informVehicleSwitched(VehicleRoute route,
Vehicle oldVehicle,
Vehicle newVehicle) |
void |
VehicleSwitchedListener.vehicleSwitched(VehicleRoute vehicleRoute,
Vehicle oldVehicle,
Vehicle newVehicle) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Vehicle> |
UpdateVehicleDependentPracticalTimeWindows.VehiclesToUpdate.get(VehicleRoute route) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
StateManager.getActivityState(TourActivity act,
Vehicle vehicle,
StateId stateId,
Class<T> type)
Returns the associated state value to the specified activity, vehicle and stateId, or null if no state value is
associated.
|
<T> T |
StateManager.getRouteState(VehicleRoute route,
Vehicle vehicle,
StateId stateId,
Class<T> type)
Returns the route state that is assigned to the specified route, vehicle and stateId.
|
boolean |
StateManager.hasActivityState(TourActivity act,
Vehicle vehicle,
StateId stateId)
Returns true if a state value is associated to the specified activity, vehicle and stateId.
|
boolean |
StateManager.hasRouteState(VehicleRoute route,
Vehicle vehicle,
StateId stateId)
Returns true if a state is assigned to the specified route, vehicle and stateId.
|
<T> void |
StateManager.putActivityState(TourActivity act,
Vehicle vehicle,
StateId stateId,
T state)
Associates the specified activity, vehicle and stateId to the state value.
|
<T> void |
StateManager.putRouteState(VehicleRoute route,
Vehicle vehicle,
StateId stateId,
T state)
Associates the specified route, vehicle and stateId to the state value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractVehicle
AbstractVehicle to handle indeces of vehicles.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Vehicle> |
VehicleRoutingProblem.Builder.getAddedVehicles()
Gets an unmodifiable collection of already added vehicles.
|
Collection<Vehicle> |
VehicleRoutingProblem.getVehicles()
Returns the entire, unmodifiable collection of vehicles.
|
| Modifier and Type | Method and Description |
|---|---|
VehicleRoutingProblem.Builder |
VehicleRoutingProblem.Builder.addVehicle(Vehicle vehicle)
Adds a vehicle.
|
| Modifier and Type | Method and Description |
|---|---|
VehicleRoutingProblem.Builder |
VehicleRoutingProblem.Builder.addAllVehicles(Collection<? extends Vehicle> vehicles)
Adds a collection of vehicles.
|
| Modifier and Type | Method and Description |
|---|---|
double |
WaitingTimeCosts.getActivityCost(TourActivity tourAct,
double arrivalTime,
Driver driver,
Vehicle vehicle) |
double |
VehicleRoutingActivityCosts.getActivityCost(TourActivity tourAct,
double arrivalTime,
Driver driver,
Vehicle vehicle)
Calculates and returns the activity cost at tourAct.
|
double |
WaitingTimeCosts.getActivityDuration(TourActivity tourAct,
double arrivalTime,
Driver driver,
Vehicle vehicle) |
double |
VehicleRoutingActivityCosts.getActivityDuration(TourActivity tourAct,
double arrivalTime,
Driver driver,
Vehicle vehicle) |
double |
BackwardTransportCost.getBackwardTransportCost(Location from,
Location to,
double arrivalTime,
Driver driver,
Vehicle vehicle) |
double |
AbstractForwardVehicleRoutingTransportCosts.getBackwardTransportCost(Location from,
Location to,
double arrivalTime,
Driver driver,
Vehicle vehicle) |
double |
BackwardTransportTime.getBackwardTransportTime(Location from,
Location to,
double arrivalTime,
Driver driver,
Vehicle vehicle) |
double |
AbstractForwardVehicleRoutingTransportCosts.getBackwardTransportTime(Location from,
Location to,
double arrivalTime,
Driver driver,
Vehicle vehicle) |
double |
TransportDistance.getDistance(Location from,
Location to,
double departureTime,
Vehicle vehicle) |
double |
ForwardTransportCost.getTransportCost(Location from,
Location to,
double departureTime,
Driver driver,
Vehicle vehicle) |
abstract double |
AbstractForwardVehicleRoutingTransportCosts.getTransportCost(Location from,
Location to,
double departureTime,
Driver driver,
Vehicle vehicle) |
double |
ForwardTransportTime.getTransportTime(Location from,
Location to,
double departureTime,
Driver driver,
Vehicle vehicle) |
abstract double |
AbstractForwardVehicleRoutingTransportCosts.getTransportTime(Location from,
Location to,
double departureTime,
Driver driver,
Vehicle vehicle) |
| Modifier and Type | Method and Description |
|---|---|
Vehicle |
JobInsertionContext.getNewVehicle()
Returns the vehicle that should operate the new route, i.e.
|
| Constructor and Description |
|---|
JobInsertionContext(VehicleRoute route,
Job job,
Vehicle newVehicle,
Driver newDriver,
double newDepTime)
Constructs the context.
|
| Modifier and Type | Method and Description |
|---|---|
Vehicle |
VehicleRoute.getVehicle()
Returns the vehicle operating this route.
|
| Modifier and Type | Method and Description |
|---|---|
static VehicleRoute.Builder |
VehicleRoute.Builder.newInstance(Vehicle vehicle)
Returns new instance of this builder.
|
static VehicleRoute.Builder |
VehicleRoute.Builder.newInstance(Vehicle vehicle,
Driver driver)
Returns new instance of this builder.
|
void |
VehicleRoute.setVehicleAndDepartureTime(Vehicle vehicle,
double vehicleDepTime)
Sets the vehicle and its departureTime from
vehicle.getStartLocationId(). |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
RouteAndActivityStateGetter.getActivityState(TourActivity act,
Vehicle vehicle,
StateId stateId,
Class<T> type) |
<T> T |
RouteAndActivityStateGetter.getRouteState(VehicleRoute route,
Vehicle vehicle,
StateId stateId,
Class<T> type) |
| Modifier and Type | Class and Description |
|---|---|
class |
VehicleImpl
Implementation of
Vehicle. |
static class |
VehicleImpl.NoVehicle
Extension of
VehicleImpl representing an unspecified vehicle with the id 'noVehicle'
(to avoid null). |
| Modifier and Type | Method and Description |
|---|---|
Vehicle |
VehicleFleetManager.getAvailableVehicle(VehicleTypeKey vehicleTypeIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Vehicle> |
VehicleFleetManager.getAvailableVehicles()
Returns a collection of available vehicles.
|
Collection<Vehicle> |
VehicleFleetManager.getAvailableVehicles(Vehicle withoutThisType) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Vehicle> |
VehicleFleetManager.getAvailableVehicles(Vehicle withoutThisType) |
boolean |
VehicleFleetManager.isLocked(Vehicle vehicle)
Returns true if locked.
|
void |
VehicleFleetManager.lock(Vehicle vehicle)
Locks vehicle.
|
void |
VehicleFleetManager.unlock(Vehicle vehicle)
Unlocks vehicle.
|
| Constructor and Description |
|---|
FiniteFleetManagerFactory(Collection<Vehicle> vehicles)
Constucts the factory.
|
InfiniteFleetManagerFactory(Collection<Vehicle> vehicles)
Constructs the factory.
|
| Modifier and Type | Method and Description |
|---|---|
double |
ManhattanCosts.getDistance(Location from,
Location to,
double departureTime,
Vehicle vehicle) |
double |
GreatCircleCosts.getDistance(Location from,
Location to,
double departureTime,
Vehicle vehicle) |
double |
FastVehicleRoutingTransportCostsMatrix.getDistance(Location from,
Location to,
double departureTime,
Vehicle vehicle) |
double |
EuclideanCosts.getDistance(Location from,
Location to,
double departureTime,
Vehicle vehicle) |
double |
CrowFlyCosts.getDistance(Location from,
Location to,
double departureTime,
Vehicle vehicle) |
double |
VehicleRoutingTransportCostsMatrix.getTransportCost(Location from,
Location to,
double departureTime,
Driver driver,
Vehicle vehicle) |
double |
ManhattanCosts.getTransportCost(Location from,
Location to,
double time,
Driver driver,
Vehicle vehicle) |
double |
GreatCircleCosts.getTransportCost(Location from,
Location to,
double time,
Driver driver,
Vehicle vehicle) |
double |
FastVehicleRoutingTransportCostsMatrix.getTransportCost(Location from,
Location to,
double departureTime,
Driver driver,
Vehicle vehicle) |
double |
EuclideanCosts.getTransportCost(Location from,
Location to,
double time,
Driver driver,
Vehicle vehicle) |
double |
CrowFlyCosts.getTransportCost(Location from,
Location to,
double time,
Driver driver,
Vehicle vehicle) |
double |
VehicleRoutingTransportCostsMatrix.getTransportTime(Location from,
Location to,
double departureTime,
Driver driver,
Vehicle vehicle) |
double |
ManhattanCosts.getTransportTime(Location from,
Location to,
double time,
Driver driver,
Vehicle vehicle) |
double |
GreatCircleCosts.getTransportTime(Location from,
Location to,
double time,
Driver driver,
Vehicle vehicle) |
double |
FastVehicleRoutingTransportCostsMatrix.getTransportTime(Location from,
Location to,
double departureTime,
Driver driver,
Vehicle vehicle) |
double |
EuclideanCosts.getTransportTime(Location from,
Location to,
double time,
Driver driver,
Vehicle vehicle) |
double |
CrowFlyCosts.getTransportTime(Location from,
Location to,
double time,
Driver driver,
Vehicle vehicle) |
Copyright © 2013–2016. All rights reserved.