Files
ortools-clone/docs/cpp_routing/classoperations__research_1_1NumericalRev.html
Laurent Perron 0ac3fa17eb more linear doc
2019-07-15 17:42:24 -07:00

290 lines
13 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">OR-Tools 7.2</span>
</div>
</div>
<link rel="icon" href="https://developers.google.com/optimization/images/orLogo.png">
<div id="content">
<!-- Generated by Doxygen 1.8.15 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<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><!-- 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_1NumericalRev.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classoperations__research_1_1NumericalRev-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">operations_research::NumericalRev&lt; T &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T&gt;<br />
class operations_research::NumericalRev&lt; T &gt;</h3>
<p>Subclass of Rev&lt;T&gt; which adds numerical operations. </p>
<p class="definition">Definition at line <a class="el" href="constraint__solver_8h_source.html#l03695">3695</a> of file <a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>.</p>
</div><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:a349aea96aef9e96ecdb1c001e931f75b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1NumericalRev.html#a349aea96aef9e96ecdb1c001e931f75b">NumericalRev</a> (const T &amp;val)</td></tr>
<tr class="separator:a349aea96aef9e96ecdb1c001e931f75b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5b1f44217bbe9914ab5f3bfd8a2c71f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1NumericalRev.html#ac5b1f44217bbe9914ab5f3bfd8a2c71f">Add</a> (<a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const s, const T &amp;to_add)</td></tr>
<tr class="separator:ac5b1f44217bbe9914ab5f3bfd8a2c71f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cb75653696c123cfc8dbc5a9e916084"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1NumericalRev.html#a5cb75653696c123cfc8dbc5a9e916084">Incr</a> (<a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const s)</td></tr>
<tr class="separator:a5cb75653696c123cfc8dbc5a9e916084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f28c0cf038c1f5f46a5d823c68b887e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1NumericalRev.html#a9f28c0cf038c1f5f46a5d823c68b887e">Decr</a> (<a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const s)</td></tr>
<tr class="separator:a9f28c0cf038c1f5f46a5d823c68b887e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a612718f3f1f56d8ecce47fae4bc3592c"><td class="memItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1Rev.html#a612718f3f1f56d8ecce47fae4bc3592c">Value</a> () const</td></tr>
<tr class="separator:a612718f3f1f56d8ecce47fae4bc3592c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a614fdcd3e96dc71b0c580f29026380ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1Rev.html#a614fdcd3e96dc71b0c580f29026380ec">SetValue</a> (<a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const s, const T &amp;val)</td></tr>
<tr class="separator:a614fdcd3e96dc71b0c580f29026380ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a349aea96aef9e96ecdb1c001e931f75b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a349aea96aef9e96ecdb1c001e931f75b">&#9670;&nbsp;</a></span>NumericalRev()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classoperations__research_1_1NumericalRev.html">operations_research::NumericalRev</a>&lt; T &gt;::<a class="el" href="classoperations__research_1_1NumericalRev.html">NumericalRev</a> </td>
<td>(</td>
<td class="paramtype">const T &amp;&#160;</td>
<td class="paramname"><em>val</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solver_8h_source.html#l03697">3697</a> of file <a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac5b1f44217bbe9914ab5f3bfd8a2c71f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5b1f44217bbe9914ab5f3bfd8a2c71f">&#9670;&nbsp;</a></span>Add()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classoperations__research_1_1NumericalRev.html">operations_research::NumericalRev</a>&lt; T &gt;::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const&#160;</td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const T &amp;&#160;</td>
<td class="paramname"><em>to_add</em>&#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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solver_8h_source.html#l03699">3699</a> of file <a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>.</p>
</div>
</div>
<a id="a9f28c0cf038c1f5f46a5d823c68b887e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f28c0cf038c1f5f46a5d823c68b887e">&#9670;&nbsp;</a></span>Decr()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classoperations__research_1_1NumericalRev.html">operations_research::NumericalRev</a>&lt; T &gt;::Decr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const&#160;</td>
<td class="paramname"><em>s</em></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="constraint__solver_8h_source.html#l03705">3705</a> of file <a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>.</p>
</div>
</div>
<a id="a5cb75653696c123cfc8dbc5a9e916084"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cb75653696c123cfc8dbc5a9e916084">&#9670;&nbsp;</a></span>Incr()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classoperations__research_1_1NumericalRev.html">operations_research::NumericalRev</a>&lt; T &gt;::Incr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const&#160;</td>
<td class="paramname"><em>s</em></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="constraint__solver_8h_source.html#l03703">3703</a> of file <a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>.</p>
</div>
</div>
<a id="a614fdcd3e96dc71b0c580f29026380ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a614fdcd3e96dc71b0c580f29026380ec">&#9670;&nbsp;</a></span>SetValue()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classoperations__research_1_1Rev.html">operations_research::Rev</a>&lt; T &gt;::SetValue </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const&#160;</td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const T &amp;&#160;</td>
<td class="paramname"><em>val</em>&#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">inline</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solver_8h_source.html#l03678">3678</a> of file <a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>.</p>
</div>
</div>
<a id="a612718f3f1f56d8ecce47fae4bc3592c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a612718f3f1f56d8ecce47fae4bc3592c">&#9670;&nbsp;</a></span>Value()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const T&amp; <a class="el" href="classoperations__research_1_1Rev.html">operations_research::Rev</a>&lt; T &gt;::Value </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solver_8h_source.html#l03676">3676</a> of file <a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>