Google OR-Tools: ortools/graph/assignment.h Source File
48#ifndef ORTOOLS_GRAPH_ASSIGNMENT_H_
49#define ORTOOLS_GRAPH_ASSIGNMENT_H_
138 std::vector<NodeIndex> arc_tail_;
139 std::vector<NodeIndex> arc_head_;
140 std::vector<CostValue> arc_cost_;
SimpleLinearSumAssignment(const SimpleLinearSumAssignment &)=delete
SimpleLinearSumAssignment()
int64_t CostValue
Definition assignment.h:60
NodeIndex RightMate(NodeIndex left_node) const
Definition assignment.h:126
NodeIndex NumNodes() const
NodeIndex RightNode(ArcIndex arc) const
CostValue OptimalCost() const
Definition assignment.h:115
void ReserveArcs(ArcIndex num_arcs)
Definition assignment.h:75
int32_t NodeIndex
Definition assignment.h:58
ArcIndex AddArcWithCost(NodeIndex left_node, NodeIndex right_node, CostValue cost)
Status
Definition assignment.h:106
@ OPTIMAL
Definition assignment.h:107
@ POSSIBLE_OVERFLOW
Definition assignment.h:109
@ INFEASIBLE
Definition assignment.h:108
int32_t ArcIndex
Definition assignment.h:59
CostValue AssignmentCost(NodeIndex left_node) const
Definition assignment.h:132
NodeIndex LeftNode(ArcIndex arc) const
SimpleLinearSumAssignment & operator=(const SimpleLinearSumAssignment &)=delete
BlossomGraph::CostValue CostValue
BlossomGraph::NodeIndex NodeIndex