DotNet Reference

DotNet Reference

LinearSumAssignment

Detailed Description

Definition at line 13 of file LinearSumAssignment.cs.

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
 

Member Enumeration Documentation

◆ Status

enum Status
strong
Enumerator
OPTIMAL 
INFEASIBLE 
POSSIBLE_OVERFLOW 

Definition at line 100 of file LinearSumAssignment.cs.

Constructor & Destructor Documentation

◆ LinearSumAssignment()

LinearSumAssignment ( )
inline

Definition at line 47 of file LinearSumAssignment.cs.

Member Function Documentation

◆ AddArcWithCost()

int AddArcWithCost ( int  left_node,
int  right_node,
long  cost 
)
inline

Definition at line 50 of file LinearSumAssignment.cs.

◆ AssignmentCost()

long AssignmentCost ( int  left_node)
inline

Definition at line 95 of file LinearSumAssignment.cs.

◆ Cost()

long Cost ( int  arc)
inline

Definition at line 75 of file LinearSumAssignment.cs.

◆ Dispose() [1/2]

void Dispose ( )
inline

Definition at line 30 of file LinearSumAssignment.cs.

◆ Dispose() [2/2]

virtual void Dispose ( bool  disposing)
inlineprotectedvirtual

Definition at line 35 of file LinearSumAssignment.cs.

◆ LeftNode()

int LeftNode ( int  arc)
inline

Definition at line 65 of file LinearSumAssignment.cs.

◆ NumArcs()

int NumArcs ( )
inline

Definition at line 60 of file LinearSumAssignment.cs.

◆ NumNodes()

int NumNodes ( )
inline

Definition at line 55 of file LinearSumAssignment.cs.

◆ OptimalCost()

long OptimalCost ( )
inline

Definition at line 85 of file LinearSumAssignment.cs.

◆ RightMate()

int RightMate ( int  left_node)
inline

Definition at line 90 of file LinearSumAssignment.cs.

◆ RightNode()

int RightNode ( int  arc)
inline

Definition at line 70 of file LinearSumAssignment.cs.

◆ Solve()

LinearSumAssignment.Status Solve ( )
inline

Definition at line 80 of file LinearSumAssignment.cs.

Member Data Documentation

◆ swigCMemOwn

bool swigCMemOwn
protected

Definition at line 15 of file LinearSumAssignment.cs.


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