308 lines
15 KiB
HTML
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 Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related 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 List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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> |
|
|
<a href="classoperations__research_1_1NumericalRev-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">operations_research::NumericalRev< T > Class Template Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Subclass of Rev<T> which adds numerical operations.
|
|
<a href="classoperations__research_1_1NumericalRev.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="constraint__solver_8h_source.html">constraint_solver.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for operations_research::NumericalRev< T >:</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<T> 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< T >:</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<T> 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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1NumericalRev.html#a349aea96aef9e96ecdb1c001e931f75b">NumericalRev</a> (const T &val)</td></tr>
|
|
<tr class="separator:a349aea96aef9e96ecdb1c001e931f75b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac5b1f44217bbe9914ab5f3bfd8a2c71f"><td class="memItemLeft" align="right" valign="top">void </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 &to_add)</td></tr>
|
|
<tr class="separator:ac5b1f44217bbe9914ab5f3bfd8a2c71f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5cb75653696c123cfc8dbc5a9e916084"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:a9f28c0cf038c1f5f46a5d823c68b887e"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:a612718f3f1f56d8ecce47fae4bc3592c"><td class="memItemLeft" align="right" valign="top">const T & </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"> </td></tr>
|
|
<tr class="memitem:a614fdcd3e96dc71b0c580f29026380ec"><td class="memItemLeft" align="right" valign="top">void </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 &val)</td></tr>
|
|
<tr class="separator:a614fdcd3e96dc71b0c580f29026380ec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><h3>template<class T><br />
|
|
class operations_research::NumericalRev< T ></h3>
|
|
|
|
<p>Subclass of Rev<T> 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 & Destructor Documentation</h2>
|
|
<a id="a349aea96aef9e96ecdb1c001e931f75b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a349aea96aef9e96ecdb1c001e931f75b">◆ </a></span>NumericalRev()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class T> </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>< T >::<a class="el" href="classoperations__research_1_1NumericalRev.html">NumericalRev</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T & </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">◆ </a></span>Add()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class T> </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>< T >::Add </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const </td>
|
|
<td class="paramname"><em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const T & </td>
|
|
<td class="paramname"><em>to_add</em> </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">◆ </a></span>Decr()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class T> </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>< T >::Decr </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const </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">◆ </a></span>Incr()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class T> </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>< T >::Incr </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const </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">◆ </a></span>SetValue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class T> </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>< T >::SetValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const </td>
|
|
<td class="paramname"><em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const T & </td>
|
|
<td class="paramname"><em>val</em> </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">◆ </a></span>Value()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class T> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const T& <a class="el" href="classoperations__research_1_1Rev.html">operations_research::Rev</a>< T >::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>
|