DotNet Reference

DotNet Reference

MaxFlow

Detailed Description

Definition at line 13 of file MaxFlow.cs.

Public Types

enum  Status { OPTIMAL, POSSIBLE_OVERFLOW, BAD_INPUT, BAD_RESULT }
 

Public Member Functions

void Dispose ()
 
 MaxFlow ()
 
int AddArcWithCapacity (int tail, int head, long capacity)
 
int NumNodes ()
 
int NumArcs ()
 
int Tail (int arc)
 
int Head (int arc)
 
long Capacity (int arc)
 
MaxFlow.Status Solve (int source, int sink)
 
long OptimalFlow ()
 
long Flow (int arc)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Member Enumeration Documentation

◆ Status

enum Status
strong
Enumerator
OPTIMAL 
POSSIBLE_OVERFLOW 
BAD_INPUT 
BAD_RESULT 

Definition at line 95 of file MaxFlow.cs.

Constructor & Destructor Documentation

◆ MaxFlow()

MaxFlow ( )
inline

Definition at line 47 of file MaxFlow.cs.

Member Function Documentation

◆ AddArcWithCapacity()

int AddArcWithCapacity ( int  tail,
int  head,
long  capacity 
)
inline

Definition at line 50 of file MaxFlow.cs.

◆ Capacity()

long Capacity ( int  arc)
inline

Definition at line 75 of file MaxFlow.cs.

◆ Dispose() [1/2]

void Dispose ( )
inline

Definition at line 30 of file MaxFlow.cs.

◆ Dispose() [2/2]

virtual void Dispose ( bool  disposing)
inlineprotectedvirtual

Definition at line 35 of file MaxFlow.cs.

◆ Flow()

long Flow ( int  arc)
inline

Definition at line 90 of file MaxFlow.cs.

◆ Head()

int Head ( int  arc)
inline

Definition at line 70 of file MaxFlow.cs.

◆ NumArcs()

int NumArcs ( )
inline

Definition at line 60 of file MaxFlow.cs.

◆ NumNodes()

int NumNodes ( )
inline

Definition at line 55 of file MaxFlow.cs.

◆ OptimalFlow()

long OptimalFlow ( )
inline

Definition at line 85 of file MaxFlow.cs.

◆ Solve()

MaxFlow.Status Solve ( int  source,
int  sink 
)
inline

Definition at line 80 of file MaxFlow.cs.

◆ Tail()

int Tail ( int  arc)
inline

Definition at line 65 of file MaxFlow.cs.

Member Data Documentation

◆ swigCMemOwn

bool swigCMemOwn
protected

Definition at line 15 of file MaxFlow.cs.


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