Files
ortools-clone/docs/cpp_routing/classoperations__research_1_1NumericalRev.html
2019-06-13 15:51:12 +02:00

308 lines
15 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="doxygen.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.1@</span>
</div>
</div>
<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="pages.html"><span>Related&#160;Pages</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 id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</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_1NumericalRev.html">NumericalRev</a></li> </ul>
</div>
</div><!-- top -->
<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">
<p>Subclass of Rev&lt;T&gt; which adds numerical operations.
<a href="classoperations__research_1_1NumericalRev.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for operations_research::NumericalRev&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classoperations__research_1_1NumericalRev__inherit__graph.png" border="0" usemap="#operations__research_1_1NumericalRev_3_01T_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="operations__research_1_1NumericalRev_3_01T_01_4_inherit__map" id="operations__research_1_1NumericalRev_3_01T_01_4_inherit__map">
<area shape="rect" title="Subclass of Rev&lt;T&gt; which adds numerical operations." alt="" coords="5,92,148,131"/>
<area shape="rect" href="classoperations__research_1_1Rev.html" title="This class adds reversibility to a POD type." alt="" coords="5,5,148,44"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for operations_research::NumericalRev&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classoperations__research_1_1NumericalRev__coll__graph.png" border="0" usemap="#operations__research_1_1NumericalRev_3_01T_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="operations__research_1_1NumericalRev_3_01T_01_4_coll__map" id="operations__research_1_1NumericalRev_3_01T_01_4_coll__map">
<area shape="rect" title="Subclass of Rev&lt;T&gt; which adds numerical operations." alt="" coords="5,92,148,131"/>
<area shape="rect" href="classoperations__research_1_1Rev.html" title="This class adds reversibility to a POD type." alt="" coords="5,5,148,44"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></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>
<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#l03739">3739</a> of file <a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>.</p>
</div><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#l03741">3741</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#l03743">3743</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#l03749">3749</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#l03747">3747</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#l03722">3722</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#l03720">3720</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>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>