14#ifndef ORTOOLS_GRAPH_MAX_FLOW_H_
15#define ORTOOLS_GRAPH_MAX_FLOW_H_
124 std::vector<NodeIndex> arc_tail_;
125 std::vector<NodeIndex> arc_head_;
126 std::vector<FlowQuantity> arc_capacity_;
127 std::vector<ArcIndex> arc_permutation_;
128 std::vector<FlowQuantity> arc_flow_;
133 typedef ::util::ReverseArcStaticGraph<NodeIndex, ArcIndex>
Graph;
134 std::unique_ptr<Graph> underlying_graph_;
135 std::unique_ptr<GenericMaxFlow<Graph> > underlying_max_flow_;
SimpleMaxFlow & operator=(const SimpleMaxFlow &)=delete
FlowModelProto CreateFlowModelProto(NodeIndex source, NodeIndex sink) const
FlowQuantity OptimalFlow() const
SimpleMaxFlow(const SimpleMaxFlow &)=delete
void SetArcCapacity(ArcIndex arc, FlowQuantity capacity)
void GetSinkSideMinCut(std::vector< NodeIndex > *result)
NodeIndex Tail(ArcIndex arc) const
ArcIndex AddArcWithCapacity(NodeIndex tail, NodeIndex head, FlowQuantity capacity)
NodeIndex NumNodes() const
NodeIndex Head(ArcIndex arc) const
Status Solve(NodeIndex source, NodeIndex sink)
FlowQuantity Capacity(ArcIndex arc) const
FlowQuantity Flow(ArcIndex arc) const
void GetSourceSideMinCut(std::vector< NodeIndex > *result)
BlossomGraph::NodeIndex NodeIndex
util::ReverseArcStaticGraph Graph