Class RoutingModel.VehicleTypeContainer
java.lang.Object
com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer
- Enclosing class:
RoutingModel
Struct used to sort and store vehicles by their type. Two vehicles have
the same "vehicle type" iff they have the same cost class and start/end
nodes.
the same "vehicle type" iff they have the same cost class and start/end
nodes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
protected void
finalize()
static long
int[]
int
NumTypes()
void
setSorted_vehicle_classes_per_type
(SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t value) void
setType_index_of_vehicle
(int[] value) void
static long
int
Type
(int vehicle)
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
VehicleTypeContainer
public VehicleTypeContainer(long cPtr, boolean cMemoryOwn) -
VehicleTypeContainer
public VehicleTypeContainer()
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
-
delete
public void delete() -
NumTypes
public int NumTypes() -
Type
public int Type(int vehicle) -
setType_index_of_vehicle
public void setType_index_of_vehicle(int[] value) -
getType_index_of_vehicle
public int[] getType_index_of_vehicle() -
setSorted_vehicle_classes_per_type
public void setSorted_vehicle_classes_per_type(SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t value) -
getSorted_vehicle_classes_per_type
public SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t getSorted_vehicle_classes_per_type() -
setVehicles_per_vehicle_class
-
getVehicles_per_vehicle_class
-