| 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.location |
Use cases that involve
locations. |
| org.optaweb.vehiclerouting.service.vehicle |
Performs use cases that involve vehicles.
|
| Modifier and Type | Method and Description |
|---|---|
static Vehicle |
VehicleFactory.createVehicle(long id,
String name,
int capacity)
Create a new vehicle with the given ID, name and capacity.
|
static Vehicle |
VehicleFactory.testVehicle(long id)
Create a vehicle with given ID and capacity of zero.
|
Vehicle |
Route.vehicle()
The vehicle assigned to this route.
|
| Modifier and Type | Method and Description |
|---|---|
List<Vehicle> |
RoutingPlan.vehicles()
All available vehicles.
|
| Constructor and Description |
|---|
Route(Vehicle vehicle,
Location depot,
List<Location> visits)
Create a vehicle route.
|
| 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 |
|---|---|
Vehicle |
VehicleRepositoryImpl.createVehicle(int capacity) |
Vehicle |
VehicleRepositoryImpl.createVehicle(VehicleData vehicleData) |
Vehicle |
VehicleRepositoryImpl.removeVehicle(long id) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Vehicle> |
VehicleRepositoryImpl.find(long vehicleId) |
List<Vehicle> |
VehicleRepositoryImpl.vehicles() |
| Modifier and Type | Method and Description |
|---|---|
void |
VehicleRepositoryImpl.update(Vehicle vehicle) |
| Modifier and Type | Method and Description |
|---|---|
void |
RouteOptimizerImpl.addVehicle(Vehicle domainVehicle) |
void |
RouteOptimizerImpl.changeCapacity(Vehicle domainVehicle) |
void |
RouteOptimizerImpl.removeVehicle(Vehicle domainVehicle) |
| Modifier and Type | Method and Description |
|---|---|
static PlanningVehicle |
PlanningVehicleFactory.fromDomain(Vehicle domainVehicle)
Create planning vehicle from domain vehicle.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static PortableVehicle |
PortableVehicle.fromVehicle(Vehicle vehicle) |
| Modifier and Type | Method and Description |
|---|---|
void |
RouteOptimizer.addVehicle(Vehicle vehicle) |
void |
RouteOptimizer.changeCapacity(Vehicle vehicle) |
void |
RouteOptimizer.removeVehicle(Vehicle vehicle) |
| Modifier and Type | Method and Description |
|---|---|
Vehicle |
VehicleRepository.createVehicle(int capacity)
Create a vehicle with a unique ID.
|
Vehicle |
VehicleRepository.createVehicle(VehicleData vehicleData)
Create a vehicle from the given data.
|
Vehicle |
VehicleRepository.removeVehicle(long id)
Remove a vehicle with the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Vehicle> |
VehicleRepository.find(long vehicleId)
Find a vehicle by its ID.
|
List<Vehicle> |
VehicleRepository.vehicles()
Get all vehicles.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VehicleService.addVehicle(Vehicle vehicle) |
void |
VehicleRepository.update(Vehicle vehicle) |
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.