| 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.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() |
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(String 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(String 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 |
|---|---|
double |
DistanceRepositoryImpl.getDistance(Location from,
Location to) |
void |
DistanceRepositoryImpl.saveDistance(Location from,
Location to,
double distance) |
| Modifier and Type | Method and Description |
|---|---|
void |
RouteOptimizerImpl.addLocation(Location domainLocation,
DistanceMatrix distanceMatrix) |
(package private) static org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation |
LocationFactory.fromDomain(Location location)
Create planning location from domain location.
|
void |
RouteOptimizerImpl.removeLocation(Location domainLocation) |
| Constructor and Description |
|---|
DistanceMap(Location location,
Map<Long,Double> distanceMap) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static PortableLocation |
PortableLocation.fromLocation(Location location) |
| Modifier and Type | Method and Description |
|---|---|
void |
DistanceMatrixImpl.addLocation(Location newLocation) |
double |
DistanceRepository.getDistance(Location from,
Location to) |
Map<Long,Double> |
DistanceMatrixImpl.getRow(Location location) |
void |
DistanceRepository.saveDistance(Location from,
Location to,
double 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 location.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Location> |
LocationRepository.find(Long locationId) |
List<Location> |
LocationRepository.locations()
Get all locations.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LocationService.addLocation(Location location) |
void |
DistanceMatrix.addLocation(Location location) |
void |
RouteOptimizer.addLocation(Location location,
DistanceMatrix distanceMatrix) |
Map<Long,Double> |
DistanceMatrix.getRow(Location location) |
void |
RouteOptimizer.removeLocation(Location location) |
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.