Files
ortools-clone/docs/cpp_graph/classoperations__research_1_1SimpleMaxFlow.html
Laurent Perron faf982ce5d regenerate doc
2019-11-14 13:52:51 -08:00

419 lines
24 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OR-Tools</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<meta charset="utf-8"/>
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
<link rel="stylesheet" type="text/css" href="ortools.css" title="default" media="screen,print" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="banner-container">
<div id="banner">
<span id="sfml">Google OR-Tools 7.4</span>
</div>
</div>
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
<h2>C++ Reference</h2>
<ul>
<li><a href="../cpp_algorithms/annotated.html">Algorithms</a></li>
<li><a href="../cpp_sat/annotated.html">CP-SAT</a></li>
<li><a href="../cpp_graph/annotated.html">Graph</a></li>
<li><a href="../cpp_routing/annotated.html">Routing</a></li>
<li><a href="../cpp_linear/annotated.html">Linear solver</a></li>
</ul>
</div>
<div id="content">
<div align="center">
<h1 style="color: #145A32;">C++ Reference: Graph</h1>
</div>
<!-- Generated by Doxygen 1.8.16 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceoperations__research.html">operations_research</a></li><li class="navelem"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html">SimpleMaxFlow</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classoperations__research_1_1SimpleMaxFlow-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">SimpleMaxFlow</div> </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="max__flow_8h_source.html#l00152">152</a> of file <a class="el" href="max__flow_8h_source.html">max_flow.h</a>.</p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a67a0db04d321a74b7e7fcfd3f1a3f70b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> { <a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba2579881e7c83261bc21bafb5a5c92cad">OPTIMAL</a>,
<a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba63e6c2750d99f3c548e6a08bb6822fe2">POSSIBLE_OVERFLOW</a>,
<a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac2811be86dd03c6735e3b0db51ad914f">BAD_INPUT</a>,
<a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac76ecfd837bdc6d4150bb02c403356e4">BAD_RESULT</a>
}</td></tr>
<tr class="separator:a67a0db04d321a74b7e7fcfd3f1a3f70b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0b218e6bdef5560b441d7dc1b47d897f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a0b218e6bdef5560b441d7dc1b47d897f">SimpleMaxFlow</a> ()</td></tr>
<tr class="separator:a0b218e6bdef5560b441d7dc1b47d897f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d8699dbc3e3b9cadc36d4fd5ee29dce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a9d8699dbc3e3b9cadc36d4fd5ee29dce">AddArcWithCapacity</a> (<a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> tail, <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> head, <a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> capacity)</td></tr>
<tr class="separator:a9d8699dbc3e3b9cadc36d4fd5ee29dce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3be0f6fcc44bc6a4a1e976c1e60b31d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a3be0f6fcc44bc6a4a1e976c1e60b31d0">NumNodes</a> () const</td></tr>
<tr class="separator:a3be0f6fcc44bc6a4a1e976c1e60b31d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7898be8b7efbfe53a58fcf621cf41315"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a7898be8b7efbfe53a58fcf621cf41315">NumArcs</a> () const</td></tr>
<tr class="separator:a7898be8b7efbfe53a58fcf621cf41315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab49dbdb731f80e626e575bdf66835f46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#ab49dbdb731f80e626e575bdf66835f46">Tail</a> (<a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> arc) const</td></tr>
<tr class="separator:ab49dbdb731f80e626e575bdf66835f46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5f729a6274027e5e5478e4bd76603ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#aa5f729a6274027e5e5478e4bd76603ca">Head</a> (<a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> arc) const</td></tr>
<tr class="separator:aa5f729a6274027e5e5478e4bd76603ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dcd8610149406a1593d2a0725290482"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a9dcd8610149406a1593d2a0725290482">Capacity</a> (<a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> arc) const</td></tr>
<tr class="separator:a9dcd8610149406a1593d2a0725290482"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a208812d23c7f00cbc76419a41038e7f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a208812d23c7f00cbc76419a41038e7f1">Solve</a> (<a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> source, <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> sink)</td></tr>
<tr class="separator:a208812d23c7f00cbc76419a41038e7f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a865dfd15177ea8b4cd75a34ab9cee1b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a865dfd15177ea8b4cd75a34ab9cee1b1">OptimalFlow</a> () const</td></tr>
<tr class="separator:a865dfd15177ea8b4cd75a34ab9cee1b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a420ad8221c326064736ccf148d2f93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a2a420ad8221c326064736ccf148d2f93">Flow</a> (<a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> arc) const</td></tr>
<tr class="separator:a2a420ad8221c326064736ccf148d2f93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ede8a987bfe0972a51942bbca22d4c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a4ede8a987bfe0972a51942bbca22d4c1">GetSourceSideMinCut</a> (std::vector&lt; <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> &gt; *result)</td></tr>
<tr class="separator:a4ede8a987bfe0972a51942bbca22d4c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ca9f0f372e03f5cf3af1e163230792"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#ad8ca9f0f372e03f5cf3af1e163230792">GetSinkSideMinCut</a> (std::vector&lt; <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> &gt; *result)</td></tr>
<tr class="separator:ad8ca9f0f372e03f5cf3af1e163230792"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d39b4f2db0792ccce2a922c74f43ecf"><td class="memItemLeft" align="right" valign="top">FlowModel&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a4d39b4f2db0792ccce2a922c74f43ecf">CreateFlowModelOfLastSolve</a> ()</td></tr>
<tr class="separator:a4d39b4f2db0792ccce2a922c74f43ecf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7bfd46bed70e12f118aa53df0c26769"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#ac7bfd46bed70e12f118aa53df0c26769">SetArcCapacity</a> (<a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> arc, <a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> capacity)</td></tr>
<tr class="separator:ac7bfd46bed70e12f118aa53df0c26769"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a67a0db04d321a74b7e7fcfd3f1a3f70b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67a0db04d321a74b7e7fcfd3f1a3f70b">&#9670;&nbsp;</a></span>Status</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70ba2579881e7c83261bc21bafb5a5c92cad"></a>OPTIMAL&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70ba63e6c2750d99f3c548e6a08bb6822fe2"></a>POSSIBLE_OVERFLOW&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70bac2811be86dd03c6735e3b0db51ad914f"></a>BAD_INPUT&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70bac76ecfd837bdc6d4150bb02c403356e4"></a>BAD_RESULT&#160;</td><td class="fielddoc"></td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="max__flow_8h_source.html#l00180">180</a> of file <a class="el" href="max__flow_8h_source.html">max_flow.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0b218e6bdef5560b441d7dc1b47d897f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b218e6bdef5560b441d7dc1b47d897f">&#9670;&nbsp;</a></span>SimpleMaxFlow()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html">SimpleMaxFlow</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9d8699dbc3e3b9cadc36d4fd5ee29dce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d8699dbc3e3b9cadc36d4fd5ee29dce">&#9670;&nbsp;</a></span>AddArcWithCapacity()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> AddArcWithCapacity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&#160;</td>
<td class="paramname"><em>tail</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&#160;</td>
<td class="paramname"><em>head</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a>&#160;</td>
<td class="paramname"><em>capacity</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a9dcd8610149406a1593d2a0725290482"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dcd8610149406a1593d2a0725290482">&#9670;&nbsp;</a></span>Capacity()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> Capacity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a>&#160;</td>
<td class="paramname"><em>arc</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4d39b4f2db0792ccce2a922c74f43ecf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d39b4f2db0792ccce2a922c74f43ecf">&#9670;&nbsp;</a></span>CreateFlowModelOfLastSolve()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FlowModel CreateFlowModelOfLastSolve </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2a420ad8221c326064736ccf148d2f93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a420ad8221c326064736ccf148d2f93">&#9670;&nbsp;</a></span>Flow()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> Flow </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a>&#160;</td>
<td class="paramname"><em>arc</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad8ca9f0f372e03f5cf3af1e163230792"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8ca9f0f372e03f5cf3af1e163230792">&#9670;&nbsp;</a></span>GetSinkSideMinCut()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GetSinkSideMinCut </td>
<td>(</td>
<td class="paramtype">std::vector&lt; <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> &gt; *&#160;</td>
<td class="paramname"><em>result</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4ede8a987bfe0972a51942bbca22d4c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ede8a987bfe0972a51942bbca22d4c1">&#9670;&nbsp;</a></span>GetSourceSideMinCut()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GetSourceSideMinCut </td>
<td>(</td>
<td class="paramtype">std::vector&lt; <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> &gt; *&#160;</td>
<td class="paramname"><em>result</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa5f729a6274027e5e5478e4bd76603ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5f729a6274027e5e5478e4bd76603ca">&#9670;&nbsp;</a></span>Head()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> Head </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a>&#160;</td>
<td class="paramname"><em>arc</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a7898be8b7efbfe53a58fcf621cf41315"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7898be8b7efbfe53a58fcf621cf41315">&#9670;&nbsp;</a></span>NumArcs()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> NumArcs </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a3be0f6fcc44bc6a4a1e976c1e60b31d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3be0f6fcc44bc6a4a1e976c1e60b31d0">&#9670;&nbsp;</a></span>NumNodes()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> NumNodes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a865dfd15177ea8b4cd75a34ab9cee1b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a865dfd15177ea8b4cd75a34ab9cee1b1">&#9670;&nbsp;</a></span>OptimalFlow()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> OptimalFlow </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac7bfd46bed70e12f118aa53df0c26769"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7bfd46bed70e12f118aa53df0c26769">&#9670;&nbsp;</a></span>SetArcCapacity()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SetArcCapacity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a>&#160;</td>
<td class="paramname"><em>arc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a>&#160;</td>
<td class="paramname"><em>capacity</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a208812d23c7f00cbc76419a41038e7f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a208812d23c7f00cbc76419a41038e7f1">&#9670;&nbsp;</a></span>Solve()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classoperations__research_1_1SimpleMaxFlow.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> Solve </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&#160;</td>
<td class="paramname"><em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&#160;</td>
<td class="paramname"><em>sink</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab49dbdb731f80e626e575bdf66835f46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab49dbdb731f80e626e575bdf66835f46">&#9670;&nbsp;</a></span>Tail()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> Tail </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a>&#160;</td>
<td class="paramname"><em>arc</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="max__flow_8h_source.html">max_flow.h</a></li>
</ul>
</div><!-- contents -->
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>