@Component class RouteOptimizerImpl extends Object implements RouteOptimizer
| Constructor and Description |
|---|
RouteOptimizerImpl(SolverManager solverManager,
RouteChangedEventPublisher routeChangedEventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocation(Location domainLocation,
DistanceMatrixRow distanceMatrixRow) |
void |
addVehicle(Vehicle domainVehicle) |
void |
changeCapacity(Vehicle domainVehicle) |
void |
removeAllLocations() |
void |
removeAllVehicles() |
void |
removeLocation(Location domainLocation) |
void |
removeVehicle(Vehicle domainVehicle) |
@Autowired RouteOptimizerImpl(SolverManager solverManager, RouteChangedEventPublisher routeChangedEventPublisher)
public void addLocation(Location domainLocation, DistanceMatrixRow distanceMatrixRow)
addLocation in interface RouteOptimizerpublic void removeLocation(Location domainLocation)
removeLocation in interface RouteOptimizerpublic void addVehicle(Vehicle domainVehicle)
addVehicle in interface RouteOptimizerpublic void removeVehicle(Vehicle domainVehicle)
removeVehicle in interface RouteOptimizerpublic void changeCapacity(Vehicle domainVehicle)
changeCapacity in interface RouteOptimizerpublic void removeAllLocations()
removeAllLocations in interface RouteOptimizerpublic void removeAllVehicles()
removeAllVehicles in interface RouteOptimizerCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.