Files
ortools-clone/docs/cpp_routing/classoperations__research_1_1RevIntSet.html
Laurent Perron 6230c8e7a4 polish cpp doc
2019-07-12 13:25:23 -07:00

604 lines
29 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>
</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_1RevIntSet.html','');});
/* @license-end */
</script>
<div id="doc-content">
<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="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classoperations__research_1_1RevIntSet-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">operations_research::RevIntSet&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::RevIntSet&lt; T &gt;</h3>
<p>This is a special class to represent a 'residual' set of T. </p>
<p>T must be an integer type. You fill it at first, and then during search, you can efficiently remove an element, and query the removed elements. </p>
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02310">2310</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.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:a5608be2b7716304454f31dda7b3d80e9"><td class="memItemLeft" align="right" valign="top">typedef const T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a5608be2b7716304454f31dda7b3d80e9">const_iterator</a></td></tr>
<tr class="memdesc:a5608be2b7716304454f31dda7b3d80e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterators on the indices. <a href="#a5608be2b7716304454f31dda7b3d80e9">More...</a><br /></td></tr>
<tr class="separator:a5608be2b7716304454f31dda7b3d80e9"><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:a256503b400735b79534bf87a3a433296"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a256503b400735b79534bf87a3a433296">RevIntSet</a> (int capacity)</td></tr>
<tr class="memdesc:a256503b400735b79534bf87a3a433296"><td class="mdescLeft">&#160;</td><td class="mdescRight">Capacity is the fixed size of the set (it cannot grow). <a href="#a256503b400735b79534bf87a3a433296">More...</a><br /></td></tr>
<tr class="separator:a256503b400735b79534bf87a3a433296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa332f108f9a442e8765e460e7f53c496"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#aa332f108f9a442e8765e460e7f53c496">RevIntSet</a> (int capacity, int *shared_positions, int shared_positions_size)</td></tr>
<tr class="memdesc:aa332f108f9a442e8765e460e7f53c496"><td class="mdescLeft">&#160;</td><td class="mdescRight">Capacity is the fixed size of the set (it cannot grow). <a href="#aa332f108f9a442e8765e460e7f53c496">More...</a><br /></td></tr>
<tr class="separator:aa332f108f9a442e8765e460e7f53c496"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7b2ae30393111b4904bc1732ea5ae91"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#ab7b2ae30393111b4904bc1732ea5ae91">~RevIntSet</a> ()</td></tr>
<tr class="separator:ab7b2ae30393111b4904bc1732ea5ae91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e1746bc4ae813f8109cffed9c227664"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a7e1746bc4ae813f8109cffed9c227664">Size</a> () const</td></tr>
<tr class="separator:a7e1746bc4ae813f8109cffed9c227664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cc5cf695691d208027e25fa2483db5a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a2cc5cf695691d208027e25fa2483db5a">Capacity</a> () const</td></tr>
<tr class="separator:a2cc5cf695691d208027e25fa2483db5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0d0ba3d28661d12114afbb50dccfa45"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#af0d0ba3d28661d12114afbb50dccfa45">Element</a> (int i) const</td></tr>
<tr class="separator:af0d0ba3d28661d12114afbb50dccfa45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ded4dd9cceb7eeffb2412df5b5187a4"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a6ded4dd9cceb7eeffb2412df5b5187a4">RemovedElement</a> (int i) const</td></tr>
<tr class="separator:a6ded4dd9cceb7eeffb2412df5b5187a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cf1d68f60f01b5e545fa23d74386a46"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a5cf1d68f60f01b5e545fa23d74386a46">Insert</a> (<a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const solver, const T &amp;elt)</td></tr>
<tr class="separator:a5cf1d68f60f01b5e545fa23d74386a46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a381f8a2a726c51ac8dca0690dc94145d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a381f8a2a726c51ac8dca0690dc94145d">Remove</a> (<a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const solver, const T &amp;value_index)</td></tr>
<tr class="separator:a381f8a2a726c51ac8dca0690dc94145d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f8643d2a1bec62b4b1d4d0ac99a3cb5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a7f8643d2a1bec62b4b1d4d0ac99a3cb5">Restore</a> (<a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const solver, const T &amp;value_index)</td></tr>
<tr class="separator:a7f8643d2a1bec62b4b1d4d0ac99a3cb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a593b6d59b93e2284bbc16af121a67a98"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a593b6d59b93e2284bbc16af121a67a98">Clear</a> (<a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const solver)</td></tr>
<tr class="separator:a593b6d59b93e2284bbc16af121a67a98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab40a309276a1d22ec7fe932c120934a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoperations__research_1_1RevIntSet.html#a5608be2b7716304454f31dda7b3d80e9">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#ab40a309276a1d22ec7fe932c120934a8">begin</a> () const</td></tr>
<tr class="separator:ab40a309276a1d22ec7fe932c120934a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87f5328273f94c5294fdbd9f3e46201b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoperations__research_1_1RevIntSet.html#a5608be2b7716304454f31dda7b3d80e9">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a87f5328273f94c5294fdbd9f3e46201b">end</a> () const</td></tr>
<tr class="separator:a87f5328273f94c5294fdbd9f3e46201b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a249b8be47f098c8b42b61876ed5c300f"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1RevIntSet.html#a249b8be47f098c8b42b61876ed5c300f">kNoInserted</a> = -1</td></tr>
<tr class="separator:a249b8be47f098c8b42b61876ed5c300f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a5608be2b7716304454f31dda7b3d80e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5608be2b7716304454f31dda7b3d80e9">&#9670;&nbsp;</a></span>const_iterator</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="memname">
<tr>
<td class="memname">typedef const T* <a class="el" href="classoperations__research_1_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::<a class="el" href="classoperations__research_1_1RevIntSet.html#a5608be2b7716304454f31dda7b3d80e9">const_iterator</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Iterators on the indices. </p>
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02382">2382</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a256503b400735b79534bf87a3a433296"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a256503b400735b79534bf87a3a433296">&#9670;&nbsp;</a></span>RevIntSet() <span class="overload">[1/2]</span></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_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::<a class="el" href="classoperations__research_1_1RevIntSet.html">RevIntSet</a> </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>capacity</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>Capacity is the fixed size of the set (it cannot grow). </p>
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02315">2315</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="aa332f108f9a442e8765e460e7f53c496"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa332f108f9a442e8765e460e7f53c496">&#9670;&nbsp;</a></span>RevIntSet() <span class="overload">[2/2]</span></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_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::<a class="el" href="classoperations__research_1_1RevIntSet.html">RevIntSet</a> </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>capacity</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int *&#160;</td>
<td class="paramname"><em>shared_positions</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>shared_positions_size</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>Capacity is the fixed size of the set (it cannot grow). </p>
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02327">2327</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="ab7b2ae30393111b4904bc1732ea5ae91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7b2ae30393111b4904bc1732ea5ae91">&#9670;&nbsp;</a></span>~RevIntSet()</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_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::~<a class="el" href="classoperations__research_1_1RevIntSet.html">RevIntSet</a> </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="constraint__solveri_8h_source.html#l02338">2338</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab40a309276a1d22ec7fe932c120934a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab40a309276a1d22ec7fe932c120934a8">&#9670;&nbsp;</a></span>begin()</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_1RevIntSet.html#a5608be2b7716304454f31dda7b3d80e9">const_iterator</a> <a class="el" href="classoperations__research_1_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::begin </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> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02383">2383</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="a2cc5cf695691d208027e25fa2483db5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cc5cf695691d208027e25fa2483db5a">&#9670;&nbsp;</a></span>Capacity()</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">int <a class="el" href="classoperations__research_1_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::Capacity </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> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02346">2346</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="a593b6d59b93e2284bbc16af121a67a98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a593b6d59b93e2284bbc16af121a67a98">&#9670;&nbsp;</a></span>Clear()</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_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::Clear </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const&#160;</td>
<td class="paramname"><em>solver</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__solveri_8h_source.html#l02379">2379</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="af0d0ba3d28661d12114afbb50dccfa45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0d0ba3d28661d12114afbb50dccfa45">&#9670;&nbsp;</a></span>Element()</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">T <a class="el" href="classoperations__research_1_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::Element </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</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__solveri_8h_source.html#l02348">2348</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="a87f5328273f94c5294fdbd9f3e46201b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87f5328273f94c5294fdbd9f3e46201b">&#9670;&nbsp;</a></span>end()</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_1RevIntSet.html#a5608be2b7716304454f31dda7b3d80e9">const_iterator</a> <a class="el" href="classoperations__research_1_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::end </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> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02384">2384</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="a5cf1d68f60f01b5e545fa23d74386a46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cf1d68f60f01b5e545fa23d74386a46">&#9670;&nbsp;</a></span>Insert()</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_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::Insert </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const&#160;</td>
<td class="paramname"><em>solver</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const T &amp;&#160;</td>
<td class="paramname"><em>elt</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>Valid. </p>
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02360">2360</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="a381f8a2a726c51ac8dca0690dc94145d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a381f8a2a726c51ac8dca0690dc94145d">&#9670;&nbsp;</a></span>Remove()</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_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::Remove </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const&#160;</td>
<td class="paramname"><em>solver</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const T &amp;&#160;</td>
<td class="paramname"><em>value_index</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__solveri_8h_source.html#l02369">2369</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="a6ded4dd9cceb7eeffb2412df5b5187a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ded4dd9cceb7eeffb2412df5b5187a4">&#9670;&nbsp;</a></span>RemovedElement()</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">T <a class="el" href="classoperations__research_1_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::RemovedElement </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</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__solveri_8h_source.html#l02354">2354</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="a7f8643d2a1bec62b4b1d4d0ac99a3cb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f8643d2a1bec62b4b1d4d0ac99a3cb5">&#9670;&nbsp;</a></span>Restore()</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_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::Restore </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1Solver.html">Solver</a> *const&#160;</td>
<td class="paramname"><em>solver</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const T &amp;&#160;</td>
<td class="paramname"><em>value_index</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__solveri_8h_source.html#l02374">2374</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<a id="a7e1746bc4ae813f8109cffed9c227664"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e1746bc4ae813f8109cffed9c227664">&#9670;&nbsp;</a></span>Size()</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">int <a class="el" href="classoperations__research_1_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::Size </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> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02344">2344</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a249b8be47f098c8b42b61876ed5c300f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a249b8be47f098c8b42b61876ed5c300f">&#9670;&nbsp;</a></span>kNoInserted</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 int <a class="el" href="classoperations__research_1_1RevIntSet.html">operations_research::RevIntSet</a>&lt; T &gt;::kNoInserted = -1</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="constraint__solveri_8h_source.html#l02312">2312</a> of file <a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="constraint__solveri_8h_source.html">constraint_solveri.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>