Google OR-Tools v9.12
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 74 of file RoutingModel.java.

Constructor & Destructor Documentation

◆ VehicleTypeContainer() [1/2]

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

Definition at line 78 of file RoutingModel.java.

◆ VehicleTypeContainer() [2/2]

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

Definition at line 209 of file RoutingModel.java.

Member Function Documentation

◆ delete()

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

Definition at line 104 of file RoutingModel.java.

◆ finalize()

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

Definition at line 100 of file RoutingModel.java.

◆ getCPtr()

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

Definition at line 83 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 196 of file RoutingModel.java.

◆ getType_index_of_vehicle()

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

Definition at line 188 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 205 of file RoutingModel.java.

◆ NumTypes()

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

Definition at line 176 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 192 of file RoutingModel.java.

◆ setType_index_of_vehicle()

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

Definition at line 184 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 201 of file RoutingModel.java.

◆ swigRelease()

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

Definition at line 87 of file RoutingModel.java.

◆ Type()

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

Definition at line 180 of file RoutingModel.java.

Member Data Documentation

◆ swigCMemOwn

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

Definition at line 76 of file RoutingModel.java.


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