![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 56 of file assignment.h.
#include <assignment.h>
Public Types | |
| enum | Status { OPTIMAL , INFEASIBLE , POSSIBLE_OVERFLOW } |
| typedef int32_t | NodeIndex |
| typedef int32_t | ArcIndex |
| typedef int64_t | CostValue |
Public Member Functions | |
| SimpleLinearSumAssignment () | |
| SimpleLinearSumAssignment (const SimpleLinearSumAssignment &)=delete | |
| SimpleLinearSumAssignment & | operator= (const SimpleLinearSumAssignment &)=delete |
| void | ReserveArcs (ArcIndex num_arcs) |
| 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 |
| typedef int32_t operations_research::SimpleLinearSumAssignment::ArcIndex |
Definition at line 59 of file assignment.h.
| typedef int64_t operations_research::SimpleLinearSumAssignment::CostValue |
Definition at line 60 of file assignment.h.
| typedef int32_t operations_research::SimpleLinearSumAssignment::NodeIndex |
Definition at line 58 of file assignment.h.
| Enumerator | |
|---|---|
| OPTIMAL | |
| INFEASIBLE | |
| POSSIBLE_OVERFLOW | |
Definition at line 106 of file assignment.h.
| operations_research::SimpleLinearSumAssignment::SimpleLinearSumAssignment | ( | ) |
Definition at line 24 of file assignment.cc.
|
delete |
| SimpleLinearSumAssignment::ArcIndex operations_research::SimpleLinearSumAssignment::AddArcWithCost | ( | NodeIndex | left_node, |
| NodeIndex | right_node, | ||
| CostValue | cost ) |
Definition at line 26 of file assignment.cc.
|
inline |
Definition at line 132 of file assignment.h.
| SimpleLinearSumAssignment::CostValue operations_research::SimpleLinearSumAssignment::Cost | ( | ArcIndex | arc | ) | const |
Definition at line 56 of file assignment.cc.
| SimpleLinearSumAssignment::NodeIndex operations_research::SimpleLinearSumAssignment::LeftNode | ( | ArcIndex | arc | ) | const |
Definition at line 46 of file assignment.cc.
| SimpleLinearSumAssignment::ArcIndex operations_research::SimpleLinearSumAssignment::NumArcs | ( | ) | const |
Definition at line 42 of file assignment.cc.
| SimpleLinearSumAssignment::NodeIndex operations_research::SimpleLinearSumAssignment::NumNodes | ( | ) | const |
Definition at line 37 of file assignment.cc.
|
delete |
|
inline |
Definition at line 115 of file assignment.h.
|
inline |
Definition at line 75 of file assignment.h.
|
inline |
Definition at line 126 of file assignment.h.
| SimpleLinearSumAssignment::NodeIndex operations_research::SimpleLinearSumAssignment::RightNode | ( | ArcIndex | arc | ) | const |
Definition at line 51 of file assignment.cc.
| SimpleLinearSumAssignment::Status operations_research::SimpleLinearSumAssignment::Solve | ( | ) |
Definition at line 61 of file assignment.cc.