Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.graph.LinearSumAssignment Class Reference

Classes

enum  Status
 

Public Member Functions

synchronized void delete ()
 
 LinearSumAssignment ()
 
int addArcWithCost (int left_node, int right_node, long cost)
 
int getNumNodes ()
 
int getNumArcs ()
 
int getLeftNode (int arc)
 
int getRightNode (int arc)
 
long getCost (int arc)
 
LinearSumAssignment.Status solve ()
 
long getOptimalCost ()
 
int getRightMate (int left_node)
 
long getAssignmentCost (int left_node)
 

Protected Member Functions

 LinearSumAssignment (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (LinearSumAssignment obj)
 
static long swigRelease (LinearSumAssignment obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

Definition at line 11 of file LinearSumAssignment.java.

Constructor & Destructor Documentation

◆ LinearSumAssignment() [1/2]

com.google.ortools.graph.LinearSumAssignment.LinearSumAssignment ( long cPtr,
boolean cMemoryOwn )
protected

Definition at line 15 of file LinearSumAssignment.java.

◆ LinearSumAssignment() [2/2]

com.google.ortools.graph.LinearSumAssignment.LinearSumAssignment ( )

Definition at line 51 of file LinearSumAssignment.java.

Member Function Documentation

◆ addArcWithCost()

int com.google.ortools.graph.LinearSumAssignment.addArcWithCost ( int left_node,
int right_node,
long cost )

Definition at line 55 of file LinearSumAssignment.java.

◆ delete()

synchronized void com.google.ortools.graph.LinearSumAssignment.delete ( )

Definition at line 41 of file LinearSumAssignment.java.

◆ finalize()

void com.google.ortools.graph.LinearSumAssignment.finalize ( )
protected

Definition at line 37 of file LinearSumAssignment.java.

◆ getAssignmentCost()

long com.google.ortools.graph.LinearSumAssignment.getAssignmentCost ( int left_node)

Definition at line 91 of file LinearSumAssignment.java.

◆ getCost()

long com.google.ortools.graph.LinearSumAssignment.getCost ( int arc)

Definition at line 75 of file LinearSumAssignment.java.

◆ getCPtr()

static long com.google.ortools.graph.LinearSumAssignment.getCPtr ( LinearSumAssignment obj)
staticprotected

Definition at line 20 of file LinearSumAssignment.java.

◆ getLeftNode()

int com.google.ortools.graph.LinearSumAssignment.getLeftNode ( int arc)

Definition at line 67 of file LinearSumAssignment.java.

◆ getNumArcs()

int com.google.ortools.graph.LinearSumAssignment.getNumArcs ( )

Definition at line 63 of file LinearSumAssignment.java.

◆ getNumNodes()

int com.google.ortools.graph.LinearSumAssignment.getNumNodes ( )

Definition at line 59 of file LinearSumAssignment.java.

◆ getOptimalCost()

long com.google.ortools.graph.LinearSumAssignment.getOptimalCost ( )

Definition at line 83 of file LinearSumAssignment.java.

◆ getRightMate()

int com.google.ortools.graph.LinearSumAssignment.getRightMate ( int left_node)

Definition at line 87 of file LinearSumAssignment.java.

◆ getRightNode()

int com.google.ortools.graph.LinearSumAssignment.getRightNode ( int arc)

Definition at line 71 of file LinearSumAssignment.java.

◆ solve()

LinearSumAssignment.Status com.google.ortools.graph.LinearSumAssignment.solve ( )

Definition at line 79 of file LinearSumAssignment.java.

◆ swigRelease()

static long com.google.ortools.graph.LinearSumAssignment.swigRelease ( LinearSumAssignment obj)
staticprotected

Definition at line 24 of file LinearSumAssignment.java.

Member Data Documentation

◆ swigCMemOwn

transient boolean com.google.ortools.graph.LinearSumAssignment.swigCMemOwn
protected

Definition at line 13 of file LinearSumAssignment.java.


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