Class PortableRoutingPlan
- java.lang.Object
-
- org.optaweb.vehiclerouting.plugin.websocket.PortableRoutingPlan
-
class PortableRoutingPlan extends Object
RoutingPlanrepresentation convenient for marshalling.
-
-
Constructor Summary
Constructors Constructor Description PortableRoutingPlan(PortableDistance distance, List<PortableVehicle> vehicles, PortableLocation depot, List<PortableLocation> visits, List<PortableRoute> routes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortableLocationgetDepot()PortableDistancegetDistance()List<PortableRoute>getRoutes()List<PortableVehicle>getVehicles()List<PortableLocation>getVisits()
-
-
-
Constructor Detail
-
PortableRoutingPlan
PortableRoutingPlan(PortableDistance distance, List<PortableVehicle> vehicles, PortableLocation depot, List<PortableLocation> visits, List<PortableRoute> routes)
-
-
Method Detail
-
getDistance
public PortableDistance getDistance()
-
getVehicles
public List<PortableVehicle> getVehicles()
-
getDepot
public PortableLocation getDepot()
-
getVisits
public List<PortableLocation> getVisits()
-
getRoutes
public List<PortableRoute> getRoutes()
-
-