Files
ortools-clone/docs/cpp/classoperations__research_1_1SimpleMinCostFlow.html
2020-09-01 16:01:06 +02:00

562 lines
33 KiB
HTML

<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OR-Tools: SimpleMinCostFlow</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="styleSheet.tmp.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="orLogo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OR-Tools
&#160;<span id="projectnumber">8.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classoperations__research_1_1SimpleMinCostFlow.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<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_1SimpleMinCostFlow-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">SimpleMinCostFlow</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="min__cost__flow_8h_source.html#l00213">213</a> of file <a class="el" href="min__cost__flow_8h_source.html">min_cost_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_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> { <br />
&#160;&#160;<a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba0e6873a155f86a4695f463bf8601d05f">NOT_SOLVED</a>,
<a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba2579881e7c83261bc21bafb5a5c92cad">OPTIMAL</a>,
<a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba03f919221217f95d21a593a7120165e1">FEASIBLE</a>,
<a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba2884fa43446c0cbc9c7a9b74d41d7483">INFEASIBLE</a>,
<br />
&#160;&#160;<a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba6a2175a75814f119266396a0e9681718">UNBALANCED</a>,
<a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac76ecfd837bdc6d4150bb02c403356e4">BAD_RESULT</a>,
<a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70bac4a203c4d1b6ee01ef2494cf7bc90e88">BAD_COST_RANGE</a>
<br />
}</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:a6d65a7ab08c98b332781f187776683e5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html#a6d65a7ab08c98b332781f187776683e5">SimpleMinCostFlow</a> (<a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a> reserve_num_nodes=0, <a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> reserve_num_arcs=0)</td></tr>
<tr class="separator:a6d65a7ab08c98b332781f187776683e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20e10ea36c32c30c5130f300f1ffde2e"><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_1SimpleMinCostFlow.html#a20e10ea36c32c30c5130f300f1ffde2e">AddArcWithCapacityAndUnitCost</a> (<a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a> <a class="el" href="routing__sat_8cc.html#aff39d864a6594bc5f4a5e365282e00fe">tail</a>, <a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a> <a class="el" href="routing__sat_8cc.html#a20358970b1abaf992eb85e071e454653">head</a>, <a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> <a class="el" href="routing__flow_8cc.html#adf3be22c64f10c0783c0cf277e857adf">capacity</a>, <a class="el" href="namespaceoperations__research.html#aee97ac67f280d35acdef2c5d461a85c3">CostValue</a> unit_cost)</td></tr>
<tr class="separator:a20e10ea36c32c30c5130f300f1ffde2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cd2dc0776a9f339b56ffac996a7df8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html#a7cd2dc0776a9f339b56ffac996a7df8c">SetNodeSupply</a> (<a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a> node, <a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> supply)</td></tr>
<tr class="separator:a7cd2dc0776a9f339b56ffac996a7df8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc2868367f8fd38360a8b5b56cf71bdc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html#acc2868367f8fd38360a8b5b56cf71bdc">Solve</a> ()</td></tr>
<tr class="separator:acc2868367f8fd38360a8b5b56cf71bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a296c6f72aa7e3127a851efabcf109a2b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html#a296c6f72aa7e3127a851efabcf109a2b">SolveMaxFlowWithMinCost</a> ()</td></tr>
<tr class="separator:a296c6f72aa7e3127a851efabcf109a2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad39ce7ee10c34a3ce1f69f179aa4f1e9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#aee97ac67f280d35acdef2c5d461a85c3">CostValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html#ad39ce7ee10c34a3ce1f69f179aa4f1e9">OptimalCost</a> () const</td></tr>
<tr class="separator:ad39ce7ee10c34a3ce1f69f179aa4f1e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3351fc1eb1dce4a7f6b937db874b5de1"><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_1SimpleMinCostFlow.html#a3351fc1eb1dce4a7f6b937db874b5de1">MaximumFlow</a> () const</td></tr>
<tr class="separator:a3351fc1eb1dce4a7f6b937db874b5de1"><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_1SimpleMinCostFlow.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:a3be0f6fcc44bc6a4a1e976c1e60b31d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.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_1SimpleMinCostFlow.html#a7898be8b7efbfe53a58fcf621cf41315">NumArcs</a> () const</td></tr>
<tr class="separator:a7898be8b7efbfe53a58fcf621cf41315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f17f2cebe15f0a8f2b072738093379d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html#a8f17f2cebe15f0a8f2b072738093379d">Tail</a> (<a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> arc) const</td></tr>
<tr class="separator:a8f17f2cebe15f0a8f2b072738093379d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf6f87e72f7535b5dfe004740ef52a1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html#acf6f87e72f7535b5dfe004740ef52a1d">Head</a> (<a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> arc) const</td></tr>
<tr class="separator:acf6f87e72f7535b5dfe004740ef52a1d"><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_1SimpleMinCostFlow.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:aafd4139404e4f42af650481c3ff10cc7"><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_1SimpleMinCostFlow.html#aafd4139404e4f42af650481c3ff10cc7">Supply</a> (<a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a> node) const</td></tr>
<tr class="separator:aafd4139404e4f42af650481c3ff10cc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1057f1a98821c9237d75967b575f3829"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#aee97ac67f280d35acdef2c5d461a85c3">CostValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html#a1057f1a98821c9237d75967b575f3829">UnitCost</a> (<a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> arc) const</td></tr>
<tr class="separator:a1057f1a98821c9237d75967b575f3829"><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="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70ba0e6873a155f86a4695f463bf8601d05f"></a>NOT_SOLVED&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70ba2579881e7c83261bc21bafb5a5c92cad"></a>OPTIMAL&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70ba03f919221217f95d21a593a7120165e1"></a>FEASIBLE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70ba2884fa43446c0cbc9c7a9b74d41d7483"></a>INFEASIBLE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70ba6a2175a75814f119266396a0e9681718"></a>UNBALANCED&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70bac76ecfd837bdc6d4150bb02c403356e4"></a>BAD_RESULT&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a67a0db04d321a74b7e7fcfd3f1a3f70bac4a203c4d1b6ee01ef2494cf7bc90e88"></a>BAD_COST_RANGE&#160;</td><td class="fielddoc"></td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8h_source.html#l00194">194</a> of file <a class="el" href="min__cost__flow_8h_source.html">min_cost_flow.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6d65a7ab08c98b332781f187776683e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d65a7ab08c98b332781f187776683e5">&#9670;&nbsp;</a></span>SimpleMinCostFlow()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classoperations__research_1_1SimpleMinCostFlow.html">SimpleMinCostFlow</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a>&#160;</td>
<td class="paramname"><em>reserve_num_nodes</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a>&#160;</td>
<td class="paramname"><em>reserve_num_arcs</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l00994">994</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a20e10ea36c32c30c5130f300f1ffde2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20e10ea36c32c30c5130f300f1ffde2e">&#9670;&nbsp;</a></span>AddArcWithCapacityAndUnitCost()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</a> AddArcWithCapacityAndUnitCost </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">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#a7ae31ba4c3b4899478e53ca13df35dfc">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>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#aee97ac67f280d35acdef2c5d461a85c3">CostValue</a>&#160;</td>
<td class="paramname"><em>unit_cost</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01014">1014</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</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">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01165">1165</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</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">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01153">1153</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<a id="acf6f87e72f7535b5dfe004740ef52a1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf6f87e72f7535b5dfe004740ef52a1d">&#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#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</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">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01163">1163</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<a id="a3351fc1eb1dce4a7f6b937db874b5de1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3351fc1eb1dce4a7f6b937db874b5de1">&#9670;&nbsp;</a></span>MaximumFlow()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> MaximumFlow </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01151">1151</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</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">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01159">1159</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</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#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a> NumNodes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01157">1157</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<a id="ad39ce7ee10c34a3ce1f69f179aa4f1e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad39ce7ee10c34a3ce1f69f179aa4f1e9">&#9670;&nbsp;</a></span>OptimalCost()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#aee97ac67f280d35acdef2c5d461a85c3">CostValue</a> OptimalCost </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01149">1149</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<a id="a7cd2dc0776a9f339b56ffac996a7df8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cd2dc0776a9f339b56ffac996a7df8c">&#9670;&nbsp;</a></span>SetNodeSupply()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SetNodeSupply </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a>&#160;</td>
<td class="paramname"><em>node</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>supply</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01009">1009</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<a id="acc2868367f8fd38360a8b5b56cf71bdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc2868367f8fd38360a8b5b56cf71bdc">&#9670;&nbsp;</a></span>Solve()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> Solve </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8h_source.html#l00243">243</a> of file <a class="el" href="min__cost__flow_8h_source.html">min_cost_flow.h</a>.</p>
</div>
</div>
<a id="a296c6f72aa7e3127a851efabcf109a2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a296c6f72aa7e3127a851efabcf109a2b">&#9670;&nbsp;</a></span>SolveMaxFlowWithMinCost()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classoperations__research_1_1MinCostFlowBase.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> SolveMaxFlowWithMinCost </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8h_source.html#l00252">252</a> of file <a class="el" href="min__cost__flow_8h_source.html">min_cost_flow.h</a>.</p>
</div>
</div>
<a id="aafd4139404e4f42af650481c3ff10cc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafd4139404e4f42af650481c3ff10cc7">&#9670;&nbsp;</a></span>Supply()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#ab161c9ccc8667340cc3dc656d490f260">FlowQuantity</a> Supply </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a7ae31ba4c3b4899478e53ca13df35dfc">NodeIndex</a>&#160;</td>
<td class="paramname"><em>node</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01173">1173</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<a id="a8f17f2cebe15f0a8f2b072738093379d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f17f2cebe15f0a8f2b072738093379d">&#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#ad90a9fc7d16bb2c98a088a4162bbbc9d">ArcIndex</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">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01161">1161</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<a id="a1057f1a98821c9237d75967b575f3829"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1057f1a98821c9237d75967b575f3829">&#9670;&nbsp;</a></span>UnitCost()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#aee97ac67f280d35acdef2c5d461a85c3">CostValue</a> UnitCost </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">
<p class="definition">Definition at line <a class="el" href="min__cost__flow_8cc_source.html#l01169">1169</a> of file <a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="min__cost__flow_8h_source.html">min_cost_flow.h</a></li>
<li><a class="el" href="min__cost__flow_8cc_source.html">min_cost_flow.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<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_1SimpleMinCostFlow.html">SimpleMinCostFlow</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
</ul>
</div>
</body>
</html>