48 #ifndef OR_TOOLS_GRAPH_ASSIGNMENT_H_
49 #define OR_TOOLS_GRAPH_ASSIGNMENT_H_
109 return arc_head_[assignment_arcs_[left_node]];
115 return arc_cost_[assignment_arcs_[left_node]];
120 std::vector<NodeIndex> arc_tail_;
121 std::vector<NodeIndex> arc_head_;
122 std::vector<CostValue> arc_cost_;
123 std::vector<ArcIndex> assignment_arcs_;
NodeIndex RightMate(NodeIndex left_node) const
NodeIndex NumNodes() const
CostValue Cost(ArcIndex arc) const
ArcIndex AddArcWithCost(NodeIndex left_node, NodeIndex right_node, CostValue cost)
NodeIndex LeftNode(ArcIndex arc) const
SimpleLinearSumAssignment()
CostValue AssignmentCost(NodeIndex left_node) const
CostValue OptimalCost() const
NodeIndex RightNode(ArcIndex arc) const
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...