| Package | Description |
|---|---|
| org.optaweb.vehiclerouting.plugin.planner |
Route optimization.
|
| org.optaweb.vehiclerouting.plugin.planner.domain |
Domain model adjusted for OptaPlanner.
|
| Modifier and Type | Method and Description |
|---|---|
long |
DistanceMapImpl.distanceTo(PlanningLocation location) |
| 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 |
Standstill.getLocation()
The standstill's location.
|
PlanningLocation |
PlanningVisit.getLocation() |
PlanningLocation |
PlanningVehicle.getLocation() |
PlanningLocation |
PlanningDepot.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 |
|---|---|
double |
PlanningLocation.angleTo(PlanningLocation location)
Angle between the given location and the direction EAST with
this location being the vertex. |
long |
PlanningLocation.distanceTo(PlanningLocation location)
Distance to the given location.
|
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. |
static PlanningVisit |
PlanningVisitFactory.fromLocation(PlanningLocation location,
int demand)
Create visit of a location with the given demand.
|
void |
PlanningVisit.setLocation(PlanningLocation location) |
| Constructor and Description |
|---|
PlanningDepot(PlanningLocation location) |
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.