Google OR-Tools: operations_research::SimpleLinearSumAssignment Class Reference
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 |
◆ ArcIndex
◆ CostValue
◆ NodeIndex
◆ Status
| Enumerator | |
|---|---|
| OPTIMAL | |
| INFEASIBLE | |
| POSSIBLE_OVERFLOW | |
Definition at line 106 of file assignment.h.
| operations_research::SimpleLinearSumAssignment::SimpleLinearSumAssignment | ( | ) |
◆ SimpleLinearSumAssignment() [2/2]
|
delete |
◆ AddArcWithCost()
| SimpleLinearSumAssignment::ArcIndex operations_research::SimpleLinearSumAssignment::AddArcWithCost | ( | NodeIndex | left_node, |
| NodeIndex | right_node, | ||
| CostValue | cost ) |
◆ AssignmentCost()
|
inline |
◆ Cost()
| SimpleLinearSumAssignment::CostValue operations_research::SimpleLinearSumAssignment::Cost | ( | ArcIndex | arc | ) | const |
◆ LeftNode()
| SimpleLinearSumAssignment::NodeIndex operations_research::SimpleLinearSumAssignment::LeftNode | ( | ArcIndex | arc | ) | const |
◆ NumArcs()
| SimpleLinearSumAssignment::ArcIndex operations_research::SimpleLinearSumAssignment::NumArcs | ( | ) | const |
◆ NumNodes()
| SimpleLinearSumAssignment::NodeIndex operations_research::SimpleLinearSumAssignment::NumNodes | ( | ) | const |
◆ operator=()
|
delete |
◆ OptimalCost()
|
inline |
◆ ReserveArcs()
|
inline |
◆ RightMate()
|
inline |
◆ RightNode()
| SimpleLinearSumAssignment::NodeIndex operations_research::SimpleLinearSumAssignment::RightNode | ( | ArcIndex | arc | ) | const |
◆ Solve()
| SimpleLinearSumAssignment::Status operations_research::SimpleLinearSumAssignment::Solve | ( | ) |
The documentation for this class was generated from the following files:
- ortools/graph/assignment.h
- ortools/graph/assignment.cc