![]() |
OR-Tools
8.2
|
Definition at line 57 of file assignment.h.
Public Types | |
| enum | Status { OPTIMAL , INFEASIBLE , POSSIBLE_OVERFLOW } |
Public Member Functions | |
| SimpleLinearSumAssignment () | |
| ArcIndex | AddArcWithCost (NodeIndex left_node, NodeIndex right_node, CostValue cost) |
| NodeIndex | NumNodes () const |
| ArcIndex | NumArcs () const |
| NodeIndex | LeftNode (ArcIndex arc) const |
| NodeIndex | RightNode (ArcIndex arc) const |
| CostValue | Cost (ArcIndex arc) const |
| Status | Solve () |
| CostValue | OptimalCost () const |
| NodeIndex | RightMate (NodeIndex left_node) const |
| CostValue | AssignmentCost (NodeIndex left_node) const |
| enum Status |
| Enumerator | |
|---|---|
| OPTIMAL | |
| INFEASIBLE | |
| POSSIBLE_OVERFLOW | |
Definition at line 88 of file assignment.h.
Definition at line 22 of file graph/assignment.cc.
Definition at line 24 of file graph/assignment.cc.
Definition at line 114 of file assignment.h.
Definition at line 48 of file graph/assignment.cc.
Definition at line 40 of file graph/assignment.cc.
| ArcIndex NumArcs | ( | ) | const |
Definition at line 38 of file graph/assignment.cc.
| NodeIndex NumNodes | ( | ) | const |
Definition at line 36 of file graph/assignment.cc.
|
inline |
Definition at line 97 of file assignment.h.
Definition at line 108 of file assignment.h.
Definition at line 44 of file graph/assignment.cc.
| SimpleLinearSumAssignment::Status Solve | ( | ) |
Definition at line 52 of file graph/assignment.cc.