| Package | Description |
|---|---|
| org.optaweb.vehiclerouting.domain |
Domain model.
|
| org.optaweb.vehiclerouting.plugin.persistence |
Persistence infrastructure.
|
| org.optaweb.vehiclerouting.plugin.planner |
Route optimization.
|
| org.optaweb.vehiclerouting.plugin.planner.domain |
Domain model adjusted for OptaPlanner.
|
| org.optaweb.vehiclerouting.plugin.websocket |
Network communication over WebSocket.
|
| org.optaweb.vehiclerouting.service.distance |
Distance matrix calculation.
|
| org.optaweb.vehiclerouting.service.location |
Use cases that involve
locations. |
| Modifier and Type | Method and Description |
|---|---|
Location |
Route.depot()
Depot in which the route starts and ends.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Location> |
RoutingPlan.depot()
The depot.
|
List<Location> |
RoutingPlan.visits()
All visits that are part of the routing problem.
|
List<Location> |
Route.visits()
List of vehicle's visits (not including the depot).
|
| Constructor and Description |
|---|
Route(Vehicle vehicle,
Location depot,
List<Location> visits)
Create a vehicle route.
|
RoutingPlan(Distance distance,
List<Vehicle> vehicles,
Location depot,
List<Location> visits,
List<RouteWithTrack> routes)
Create a routing plan.
|
| Constructor and Description |
|---|
Route(Vehicle vehicle,
Location depot,
List<Location> visits)
Create a vehicle route.
|
RoutingPlan(Distance distance,
List<Vehicle> vehicles,
Location depot,
List<Location> visits,
List<RouteWithTrack> routes)
Create a routing plan.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
LocationRepositoryImpl.createLocation(Coordinates coordinates,
String description) |
Location |
LocationRepositoryImpl.removeLocation(long id) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Location> |
LocationRepositoryImpl.find(long locationId) |
List<Location> |
LocationRepositoryImpl.locations() |
| Modifier and Type | Method and Description |
|---|---|
void |
DistanceRepositoryImpl.deleteDistances(Location location) |
long |
DistanceRepositoryImpl.getDistance(Location from,
Location to) |
void |
DistanceRepositoryImpl.saveDistance(Location from,
Location to,
long distance) |
| Modifier and Type | Method and Description |
|---|---|
void |
RouteOptimizerImpl.addLocation(Location domainLocation,
DistanceMatrixRow distanceMatrixRow) |
void |
RouteOptimizerImpl.removeLocation(Location domainLocation) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static PortableLocation |
PortableLocation.fromLocation(Location location) |
| Modifier and Type | Method and Description |
|---|---|
DistanceMatrixRow |
DistanceMatrixImpl.addLocation(Location newLocation) |
void |
DistanceRepository.deleteDistances(Location location) |
long |
DistanceRepository.getDistance(Location from,
Location to) |
void |
DistanceMatrixImpl.removeLocation(Location location) |
void |
DistanceRepository.saveDistance(Location from,
Location to,
long distance) |
| Modifier and Type | Method and Description |
|---|---|
Location |
LocationRepository.createLocation(Coordinates coordinates,
String description)
Create a location with a unique ID.
|
Location |
LocationRepository.removeLocation(long id)
Remove a location with the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Location> |
LocationRepository.find(long locationId)
Find a location by its ID.
|
List<Location> |
LocationRepository.locations()
Get all locations.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LocationService.addLocation(Location location) |
DistanceMatrixRow |
DistanceMatrix.addLocation(Location location) |
void |
RouteOptimizer.addLocation(Location location,
DistanceMatrixRow distanceMatrixRow) |
void |
RouteOptimizer.removeLocation(Location location) |
void |
DistanceMatrix.removeLocation(Location location) |
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.