Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.RoutingIndexManager Class Reference
Inheritance diagram for Google.OrTools.ConstraintSolver.RoutingIndexManager:

Public Member Functions

void Dispose ()
 
 RoutingIndexManager (int num_nodes, int num_vehicles, int depot)
 
 RoutingIndexManager (int num_nodes, int num_vehicles, int[] starts, int[] ends)
 
int GetNumberOfNodes ()
 
int GetNumberOfVehicles ()
 
int GetNumberOfIndices ()
 
long GetStartIndex (int vehicle)
 
long GetEndIndex (int vehicle)
 
long NodeToIndex (int node)
 
long[] NodesToIndices (int[] nodes)
 
int IndexToNode (long index)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Definition at line 20 of file RoutingIndexManager.cs.

Constructor & Destructor Documentation

◆ RoutingIndexManager() [1/2]

Google.OrTools.ConstraintSolver.RoutingIndexManager.RoutingIndexManager ( int num_nodes,
int num_vehicles,
int depot )
inline

Definition at line 67 of file RoutingIndexManager.cs.

◆ RoutingIndexManager() [2/2]

Google.OrTools.ConstraintSolver.RoutingIndexManager.RoutingIndexManager ( int num_nodes,
int num_vehicles,
int[] starts,
int[] ends )
inline

Definition at line 70 of file RoutingIndexManager.cs.

Member Function Documentation

◆ Dispose() [1/2]

void Google.OrTools.ConstraintSolver.RoutingIndexManager.Dispose ( )
inline

Definition at line 50 of file RoutingIndexManager.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.ConstraintSolver.RoutingIndexManager.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 55 of file RoutingIndexManager.cs.

◆ GetEndIndex()

long Google.OrTools.ConstraintSolver.RoutingIndexManager.GetEndIndex ( int vehicle)
inline

Definition at line 93 of file RoutingIndexManager.cs.

◆ GetNumberOfIndices()

int Google.OrTools.ConstraintSolver.RoutingIndexManager.GetNumberOfIndices ( )
inline

Definition at line 83 of file RoutingIndexManager.cs.

◆ GetNumberOfNodes()

int Google.OrTools.ConstraintSolver.RoutingIndexManager.GetNumberOfNodes ( )
inline

Definition at line 73 of file RoutingIndexManager.cs.

◆ GetNumberOfVehicles()

int Google.OrTools.ConstraintSolver.RoutingIndexManager.GetNumberOfVehicles ( )
inline

Definition at line 78 of file RoutingIndexManager.cs.

◆ GetStartIndex()

long Google.OrTools.ConstraintSolver.RoutingIndexManager.GetStartIndex ( int vehicle)
inline

Definition at line 88 of file RoutingIndexManager.cs.

◆ IndexToNode()

int Google.OrTools.ConstraintSolver.RoutingIndexManager.IndexToNode ( long index)
inline

Definition at line 115 of file RoutingIndexManager.cs.

◆ NodesToIndices()

long[] Google.OrTools.ConstraintSolver.RoutingIndexManager.NodesToIndices ( int[] nodes)
inline

Definition at line 103 of file RoutingIndexManager.cs.

◆ NodeToIndex()

long Google.OrTools.ConstraintSolver.RoutingIndexManager.NodeToIndex ( int node)
inline

Definition at line 98 of file RoutingIndexManager.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.ConstraintSolver.RoutingIndexManager.swigCMemOwn
protected

Definition at line 22 of file RoutingIndexManager.cs.


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