| Package | Description |
|---|---|
| org.optaweb.vehiclerouting.plugin.planner |
Route optimization.
|
| org.optaweb.vehiclerouting.plugin.planner.change |
ProblemFactChange implementations. |
| org.optaweb.vehiclerouting.plugin.planner.domain |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
SolverManager.addLocation(PlanningLocation location) |
long |
DistanceMapImpl.distanceTo(PlanningLocation location) |
(package private) void |
SolverManager.removeLocation(PlanningLocation location) |
| Constructor and Description |
|---|
RemoveLocation(PlanningLocation removedLocation) |
| Modifier and Type | Method and Description |
|---|---|
static PlanningLocation |
PlanningLocationFactory.fromDomain(Location location)
Create planning location without a distance map.
|
static PlanningLocation |
PlanningLocationFactory.fromDomain(Location location,
DistanceMap distanceMap)
Create planning location from a domain location and a distance map.
|
PlanningLocation |
PlanningVisit.getLocation() |
PlanningLocation |
PlanningVehicle.getLocation() |
PlanningLocation |
PlanningDepot.getLocation() |
PlanningLocation |
Standstill.getLocation() |
static PlanningLocation |
PlanningLocationFactory.testLocation(long id)
Create test location without distance map and coordinates.
|
static PlanningLocation |
PlanningLocationFactory.testLocation(long id,
DistanceMap distanceMap)
Create test location with distance map and without coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
List<PlanningLocation> |
VehicleRoutingSolution.getLocationList() |
| Modifier and Type | Method and Description |
|---|---|
long |
DistanceMap.distanceTo(PlanningLocation location)
Get distance from a reference location to the given location.
|
static PlanningVisit |
PlanningVisitFactory.fromLocation(PlanningLocation location)
Create visit with
PlanningVisitFactory.DEFAULT_VISIT_DEMAND. |
double |
PlanningLocation.getAngle(PlanningLocation location)
The angle relative to the direction EAST.
|
long |
PlanningLocation.getDistanceTo(PlanningLocation location)
Get distance to the given location.
|
void |
PlanningVisit.setLocation(PlanningLocation location) |
void |
PlanningDepot.setLocation(PlanningLocation location) |
| Modifier and Type | Method and Description |
|---|---|
void |
VehicleRoutingSolution.setLocationList(List<PlanningLocation> locationList) |
static VehicleRoutingSolution |
SolutionFactory.solutionFromLocations(List<PlanningVehicle> vehicles,
PlanningDepot depot,
List<? extends PlanningLocation> visitLocations)
Create a new solution from given vehicles, depot and visit locations.
|
| Constructor and Description |
|---|
PlanningDepot(PlanningLocation location) |
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.