class VehicleFactory extends Object
Vehicle instances.| Modifier and Type | Method and Description |
|---|---|
(package private) static org.optaplanner.examples.vehiclerouting.domain.Vehicle |
fromDomain(Vehicle domainVehicle)
Create planning vehicle from domain vehicle.
|
(package private) static org.optaplanner.examples.vehiclerouting.domain.Vehicle |
vehicle(long id)
Create vehicle with zero capacity.
|
static org.optaplanner.examples.vehiclerouting.domain.Vehicle fromDomain(Vehicle domainVehicle)
domainVehicle - domain vehiclestatic org.optaplanner.examples.vehiclerouting.domain.Vehicle vehicle(long id)
id - vehicle's IDCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.