| Package | Description |
|---|---|
| com.graphhopper.jsprit.core.algorithm.state | |
| com.graphhopper.jsprit.core.problem.constraint | |
| com.graphhopper.jsprit.core.problem.solution.route.state |
| Modifier and Type | Field and Description |
|---|---|
static StateId |
InternalStates.COSTS |
static StateId |
InternalStates.DURATION |
static StateId |
InternalStates.EARLIEST_OPERATION_START_TIME |
static StateId |
InternalStates.EARLIEST_WITHOUT_WAITING |
static StateId |
InternalStates.FUTURE_MAXLOAD |
static StateId |
InternalStates.FUTURE_WAITING |
static StateId |
InternalStates.LATEST_OPERATION_START_TIME |
static StateId |
InternalStates.LOAD |
static StateId |
InternalStates.LOAD_AT_BEGINNING |
static StateId |
InternalStates.LOAD_AT_END |
static StateId |
InternalStates.MAXLOAD |
static StateId |
InternalStates.PAST_MAXLOAD |
static StateId |
InternalStates.SKILLS |
static StateId |
InternalStates.SWITCH_NOT_FEASIBLE |
static StateId |
InternalStates.TIME_SLACK |
static StateId |
InternalStates.WAITING |
| Modifier and Type | Method and Description |
|---|---|
StateId |
StateManager.createStateId(String name)
Create and returns a stateId with the specified state-name.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
StateManager.getActivityState(TourActivity act,
StateId stateId,
Class<T> type)
Returns associated state for the specified activity and stateId, or it returns null if no value is associated.
|
<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.getProblemState(StateId stateId,
Class<T> type)
Returns mapped state value that is associated to the specified stateId, or null if no value is associated to
the specified stateId.
|
<T> T |
StateManager.getRouteState(VehicleRoute route,
StateId stateId,
Class<T> type)
Returns the route state that is associated to the route and stateId, or null if no state 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,
StateId stateId,
T state)
Associates the specified activity and stateId to the state value.
|
<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.putProblemState(StateId stateId,
Class<T> type,
T state)
Associates the specified state to the stateId.
|
<T> void |
StateManager.putRouteState(VehicleRoute route,
StateId stateId,
T state)
Associates the specified route, 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.
|
| Constructor and Description |
|---|
UpdateMaxTimeInVehicle(StateManager stateManager,
StateId slackTimeId,
TransportTime transportTime,
VehicleRoutingActivityCosts activityCosts,
StateId openJobsId) |
VehicleDependentTraveledDistance(TransportDistance transportCostMatrices,
StateManager stateManager,
StateId distanceInRouteId,
Collection<Vehicle> vehicles) |
| Constructor and Description |
|---|
MaxDistanceConstraint(StateManager stateManager,
StateId distanceId,
TransportDistance distanceCalculator,
Map<Vehicle,Double> maxDistancePerVehicleMap) |
MaxTimeInVehicleConstraint(TransportTime transportTime,
VehicleRoutingActivityCosts activityCosts,
StateId minSlackId,
StateManager stateManager,
VehicleRoutingProblem vrp,
StateId openJobsId) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
RouteAndActivityStateGetter.getActivityState(TourActivity act,
StateId stateId,
Class<T> type) |
<T> T |
RouteAndActivityStateGetter.getActivityState(TourActivity act,
Vehicle vehicle,
StateId stateId,
Class<T> type) |
<T> T |
RouteAndActivityStateGetter.getRouteState(VehicleRoute route,
StateId stateId,
Class<T> type) |
<T> T |
RouteAndActivityStateGetter.getRouteState(VehicleRoute route,
Vehicle vehicle,
StateId stateId,
Class<T> type) |
Copyright © 2013–2024. All rights reserved.