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

Public Types

enum  Status { OPTIMAL , INFEASIBLE , POSSIBLE_OVERFLOW }
 

Public Member Functions

void Dispose ()
 
 LinearSumAssignment ()
 
int AddArcWithCost (int left_node, int right_node, long cost)
 
int NumNodes ()
 
int NumArcs ()
 
int LeftNode (int arc)
 
int RightNode (int arc)
 
long Cost (int arc)
 
LinearSumAssignment.Status Solve ()
 
long OptimalCost ()
 
int RightMate (int left_node)
 
long AssignmentCost (int left_node)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Definition at line 15 of file LinearSumAssignment.cs.

Member Enumeration Documentation

◆ Status

Enumerator
OPTIMAL 
INFEASIBLE 
POSSIBLE_OVERFLOW 

Definition at line 115 of file LinearSumAssignment.cs.

Constructor & Destructor Documentation

◆ LinearSumAssignment()

Google.OrTools.Graph.LinearSumAssignment.LinearSumAssignment ( )
inline

Definition at line 62 of file LinearSumAssignment.cs.

Member Function Documentation

◆ AddArcWithCost()

int Google.OrTools.Graph.LinearSumAssignment.AddArcWithCost ( int left_node,
int right_node,
long cost )
inline

Definition at line 65 of file LinearSumAssignment.cs.

◆ AssignmentCost()

long Google.OrTools.Graph.LinearSumAssignment.AssignmentCost ( int left_node)
inline

Definition at line 110 of file LinearSumAssignment.cs.

◆ Cost()

long Google.OrTools.Graph.LinearSumAssignment.Cost ( int arc)
inline

Definition at line 90 of file LinearSumAssignment.cs.

◆ Dispose() [1/2]

void Google.OrTools.Graph.LinearSumAssignment.Dispose ( )
inline

Definition at line 45 of file LinearSumAssignment.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.Graph.LinearSumAssignment.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 50 of file LinearSumAssignment.cs.

◆ LeftNode()

int Google.OrTools.Graph.LinearSumAssignment.LeftNode ( int arc)
inline

Definition at line 80 of file LinearSumAssignment.cs.

◆ NumArcs()

int Google.OrTools.Graph.LinearSumAssignment.NumArcs ( )
inline

Definition at line 75 of file LinearSumAssignment.cs.

◆ NumNodes()

int Google.OrTools.Graph.LinearSumAssignment.NumNodes ( )
inline

Definition at line 70 of file LinearSumAssignment.cs.

◆ OptimalCost()

long Google.OrTools.Graph.LinearSumAssignment.OptimalCost ( )
inline

Definition at line 100 of file LinearSumAssignment.cs.

◆ RightMate()

int Google.OrTools.Graph.LinearSumAssignment.RightMate ( int left_node)
inline

Definition at line 105 of file LinearSumAssignment.cs.

◆ RightNode()

int Google.OrTools.Graph.LinearSumAssignment.RightNode ( int arc)
inline

Definition at line 85 of file LinearSumAssignment.cs.

◆ Solve()

LinearSumAssignment.Status Google.OrTools.Graph.LinearSumAssignment.Solve ( )
inline

Definition at line 95 of file LinearSumAssignment.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.Graph.LinearSumAssignment.swigCMemOwn
protected

Definition at line 17 of file LinearSumAssignment.cs.


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