| Package | Description |
|---|---|
| org.optaweb.vehiclerouting.domain |
Domain model.
|
| org.optaweb.vehiclerouting.plugin.websocket |
Network communication over WebSocket.
|
| org.optaweb.vehiclerouting.service.location |
Use cases that involve
locations. |
| org.optaweb.vehiclerouting.service.route |
Handles
route updates. |
| Modifier and Type | Field and Description |
|---|---|
static Distance |
Distance.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Distance |
RoutingPlan.distance()
Total distance traveled (sum of distances of all routes).
|
static Distance |
Distance.ofMillis(long millis)
Create a distance of the given milliseconds.
|
| Constructor and Description |
|---|
RoutingPlan(Distance distance,
List<Vehicle> vehicles,
Location depot,
List<Location> visits,
List<RouteWithTrack> routes)
Create a routing plan.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static PortableDistance |
PortableDistance.fromDistance(Distance distance) |
| Modifier and Type | Method and Description |
|---|---|
Distance |
DistanceMatrixRow.distanceTo(Long locationId)
Distance from this row's location to the given location.
|
| Modifier and Type | Method and Description |
|---|---|
Distance |
RouteChangedEvent.distance()
Routing plan distance.
|
| Constructor and Description |
|---|
RouteChangedEvent(Object source,
Distance distance,
List<Long> vehicleIds,
Long depotId,
List<Long> visitIds,
Collection<ShallowRoute> routes)
Create a new ApplicationEvent.
|
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.