Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer Class Reference

Classes

class  VehicleClassEntry
 

Public Member Functions

 VehicleTypeContainer (long cPtr, boolean cMemoryOwn)
 
synchronized void delete ()
 
int NumTypes ()
 
int Type (int vehicle)
 
void setType_index_of_vehicle (int[] value)
 
int[] getType_index_of_vehicle ()
 
void setSorted_vehicle_classes_per_type (SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t value)
 
SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t getSorted_vehicle_classes_per_type ()
 
void setVehicles_per_vehicle_class (SWIGTYPE_p_std__vectorT_std__dequeT_int_t_t value)
 
SWIGTYPE_p_std__vectorT_std__dequeT_int_t_t getVehicles_per_vehicle_class ()
 
 VehicleTypeContainer ()
 

Static Public Member Functions

static long getCPtr (VehicleTypeContainer obj)
 
static long swigRelease (VehicleTypeContainer obj)
 

Protected Member Functions

void finalize ()
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

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.

Definition at line 65 of file RoutingModel.java.

Constructor & Destructor Documentation

◆ VehicleTypeContainer() [1/2]

com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.VehicleTypeContainer ( long cPtr,
boolean cMemoryOwn )

Definition at line 69 of file RoutingModel.java.

◆ VehicleTypeContainer() [2/2]

com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.VehicleTypeContainer ( )

Definition at line 200 of file RoutingModel.java.

Member Function Documentation

◆ delete()

synchronized void com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.delete ( )

Definition at line 95 of file RoutingModel.java.

◆ finalize()

void com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.finalize ( )
protected

Definition at line 91 of file RoutingModel.java.

◆ getCPtr()

static long com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.getCPtr ( VehicleTypeContainer obj)
static

Definition at line 74 of file RoutingModel.java.

◆ getSorted_vehicle_classes_per_type()

SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.getSorted_vehicle_classes_per_type ( )

Definition at line 187 of file RoutingModel.java.

◆ getType_index_of_vehicle()

int[] com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.getType_index_of_vehicle ( )

Definition at line 179 of file RoutingModel.java.

◆ getVehicles_per_vehicle_class()

SWIGTYPE_p_std__vectorT_std__dequeT_int_t_t com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.getVehicles_per_vehicle_class ( )

Definition at line 196 of file RoutingModel.java.

◆ NumTypes()

int com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.NumTypes ( )

Definition at line 167 of file RoutingModel.java.

◆ setSorted_vehicle_classes_per_type()

void com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.setSorted_vehicle_classes_per_type ( SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t value)

Definition at line 183 of file RoutingModel.java.

◆ setType_index_of_vehicle()

void com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.setType_index_of_vehicle ( int[] value)

Definition at line 175 of file RoutingModel.java.

◆ setVehicles_per_vehicle_class()

void com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.setVehicles_per_vehicle_class ( SWIGTYPE_p_std__vectorT_std__dequeT_int_t_t value)

Definition at line 192 of file RoutingModel.java.

◆ swigRelease()

static long com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.swigRelease ( VehicleTypeContainer obj)
static

Definition at line 78 of file RoutingModel.java.

◆ Type()

int com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.Type ( int vehicle)

Definition at line 171 of file RoutingModel.java.

Member Data Documentation

◆ swigCMemOwn

transient boolean com.google.ortools.constraintsolver.RoutingModel.VehicleTypeContainer.swigCMemOwn
protected

Definition at line 67 of file RoutingModel.java.


The documentation for this class was generated from the following file: