Files
ortools-clone/docs/cpp/cp__model__utils_8cc_source.html

170 lines
137 KiB
HTML
Raw Normal View History

2020-09-01 16:00:33 +02:00
<!-- 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"/>
2022-01-16 18:02:36 +01:00
<meta name="generator" content="Doxygen 1.8.15"/>
2020-09-01 16:00:33 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OR-Tools: cp_model_utils.cc Source File</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>
2022-01-16 18:02:36 +01:00
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
2020-09-01 16:00:33 +02:00
<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
2021-12-14 13:41:01 +01:00
&#160;<span id="projectnumber">9.2</span>
2020-09-01 16:00:33 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-01-16 18:02:36 +01:00
<!-- Generated by Doxygen 1.8.15 -->
2020-09-01 16:00:33 +02:00
<script type="text/javascript">
2022-01-16 18:02:36 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2020-09-01 16:00:33 +02:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-01-16 18:02:36 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2020-09-01 16:00:33 +02:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-01-16 18:02:36 +01:00
/* @license-end */</script>
2020-09-01 16:00:33 +02:00
<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">
2022-01-16 18:02:36 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('cp__model__utils_8cc_source.html','');});
2020-09-01 16:00:33 +02:00
/* @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">
2022-01-16 18:02:36 +01:00
<div class="headertitle">
<div class="title">cp_model_utils.cc</div> </div>
2020-09-01 16:00:33 +02:00
</div><!--header-->
<div class="contents">
2022-01-16 18:02:36 +01:00
<a href="cp__model__utils_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright 2010-2021 Google LLC</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cp__model__utils_8h.html">ortools/sat/cp_model_utils.h</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &lt;cstdint&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;absl/container/flat_hash_map.h&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="stl__util_8h.html">ortools/base/stl_util.h</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cp__model_8pb_8h.html">ortools/sat/cp_model.pb.h</a>&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>sat {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span>{</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</spa
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a1d467595ed8fe5b85dc95328ee1c2770"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a1d467595ed8fe5b85dc95328ee1c2770">operations_research::sat::UsedVariables</a></div><div class="ttdeci">std::vector&lt; int &gt; UsedVariables(const ConstraintProto &amp;ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00432">cp_model_utils.cc:432</a></div></div>
<div class="ttc" id="stl__util_8h_html"><div class="ttname"><a href="stl__util_8h.html">stl_util.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_objective_proto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_objective_proto.html">operations_research::sat::CpObjectiveProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l04469">cp_model.pb.h:4469</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a81b6165b5a5412969f351d0d343166b9"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a81b6165b5a5412969f351d0d343166b9">operations_research::sat::ApplyToAllIntervalIndices</a></div><div class="ttdeci">void ApplyToAllIntervalIndices(const std::function&lt; void(int *)&gt; &amp;f, ConstraintProto *ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00317">cp_model_utils.cc:317</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_aa0d2b6ddea7cb960b90423ac48f555bf"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#aa0d2b6ddea7cb960b90423ac48f555bf">operations_research::sat::LinearExpressionProto::Clear</a></div><div class="ttdeci">PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8cc_source.html#l01638">cp_model.pb.cc:1638</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_ab5f94367fbf4ab2c03bd6bef412c41f7"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ab5f94367fbf4ab2c03bd6bef412c41f7">operations_research::sat::ApplyToAllVariableIndices</a></div><div class="ttdeci">void ApplyToAllVariableIndices(const std::function&lt; void(int *)&gt; &amp;f, ConstraintProto *ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00222">cp_model_utils.cc:222</a></div></div>
<div class="ttc" id="structoperations__research_1_1sat_1_1_index_references_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_index_references.html">operations_research::sat::IndexReferences</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00054">cp_model_utils.h:54</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_acdbc8ad33149d45a6e6fcd8b72fd68ed"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#acdbc8ad33149d45a6e6fcd8b72fd68ed">operations_research::sat::PositiveRef</a></div><div class="ttdeci">int PositiveRef(int ref)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00035">cp_model_utils.h:35</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a4b9572c4b6c4b51f1e98efdcd69a7d0f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a4b9572c4b6c4b51f1e98efdcd69a7d0f">operations_research::sat::LinearExpressionProto::add_coeffs</a></div><div class="ttdeci">void add_coeffs(int64_t value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07262">cp_model.pb.h:7262</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a763f6514921f30b326a1582569b60ddb"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a763f6514921f30b326a1582569b60ddb">operations_research::sat::LinearExpressionProtosAreEqual</a></div><div class="ttdeci">bool LinearExpressionProtosAreEqual(const LinearExpressionProto &amp;a, const LinearExpressionProto &amp;b, int64_t b_scaling)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00552">cp_model_utils.cc:552</a></div></div>
<div class="ttc" id="namespacegtl_html_a288a1dc92da5d3ad62d4bc4cec9e8b1d"><div class="ttname"><a href="namespacegtl.html#a288a1dc92da5d3ad62d4bc4cec9e8b1d">gtl::STLSortAndRemoveDuplicates</a></div><div class="ttdeci">void STLSortAndRemoveDuplicates(T *v, const LessFunc &amp;less_func)</div><div class="ttdef"><b>Definition:</b> <a href="stl__util_8h_source.html#l00058">stl_util.h:58</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_aa5753f19d2045582bbf7b95955965d6b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#aa5753f19d2045582bbf7b95955965d6b">operations_research::sat::LinearExpressionProto::offset</a></div><div class="ttdeci">int64_t offset() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07292">cp_model.pb.h:7292</a></div></div>
<div class="ttc" id="routing__filters_8cc_html_a8e4ee19dee0e00541dbe9bbc83d806ba"><div class="ttname"><a href="routing__filters_8cc.html#a8e4ee19dee0e00541dbe9bbc83d806ba">coefficient</a></div><div class="ttdeci">int64_t coefficient</div><div class="ttdef"><b>Definition:</b> <a href="routing__filters_8cc_source.html#l00970">routing_filters.cc:970</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_solver_response_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_solver_response.html">operations_research::sat::CpSolverResponse</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l06587">cp_model.pb.h:6587</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a21f378bd519d4fe7cd67c79b0d5448bb"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a21f378bd519d4fe7cd67c79b0d5448bb">operations_research::sat::LinearExpressionProto::set_offset</a></div><div class="ttdeci">void set_offset(int64_t value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07300">cp_model.pb.h:7300</a></div></div>
<div class="ttc" id="constraint__solver_2table_8cc_html_a9293e4d29cac928301645070dd307683"><div class="ttname"><a href="constraint__solver_2table_8cc.html#a9293e4d29cac928301645070dd307683">b</a></div><div class="ttdeci">int64_t b</div><div class="ttdef"><b>Definition:</b> <a href="constraint__solver_2table_8cc_source.html#l00047">constraint_solver/table.cc:47</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a81a65d7e582fb45427e0ffe69666bad9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a81a65d7e582fb45427e0ffe69666bad9">operations_research::sat::LinearExpressionProto::vars</a></div><div class="ttdeci">int32_t vars(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07204">cp_model.pb.h:7204</a></div></div>
<div class="ttc" id="cp__model__utils_8cc_html_a970e04df3f6acfdbf5bfb4e2335e15eb"><div class="ttname"><a href="cp__model__utils_8cc.html#a970e04df3f6acfdbf5bfb4e2335e15eb">APPLY_TO_REPEATED_FIELD</a></div><div class="ttdeci">#define APPLY_TO_REPEATED_FIELD(ct_name, field_name)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00154">cp_model_utils.cc:154</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_constraint_proto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_constraint_proto.html">operations_research::sat::ConstraintProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l03772">cp_model.pb.h:3772</a></div></div>
<div class="ttc" id="cp__model__utils_8cc_html_a51c0d834a80b9dcd99d5f8d4eff92db2"><div class="ttname"><a href="cp__model__utils_8cc.html#a51c0d834a80b9dcd99d5f8d4eff92db2">APPLY_TO_SINGULAR_FIELD</a></div><div class="ttdeci">#define APPLY_TO_SINGULAR_FIELD(ct_name, field_name)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00147">cp_model_utils.cc:147</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a52d17efda66accf5a25aab163625e0dc"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a52d17efda66accf5a25aab163625e0dc">operations_research::sat::LinearExpressionProto::add_vars</a></div><div class="ttdeci">void add_vars(int32_t value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07215">cp_model.pb.h:7215</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_objective_proto_html_a81a65d7e582fb45427e0ffe69666bad9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_objective_proto.html#a81a65d7e582fb45427e0ffe69666bad9">operations_research::sat::CpObjectiveProto::vars</a></div><div class="ttdeci">int32_t vars(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l11234">cp_model.pb.h:11234</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_constraint_proto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_constraint_proto.html">operations_research::sat::LinearConstraintProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l01134">cp_model.pb.h:1134</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_objective_proto_html_a821ea964897901bfecffe8325b225736"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_objective_proto.html#a821ea964897901bfecffe8325b225736">operations_research::sat::CpObjectiveProto::coeffs</a></div><div class="ttdeci">int64_t coeffs(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l11281">cp_model.pb.h:11281</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_ae0803b8198728cd4f6e58498d9c60091"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ae0803b8198728cd4f6e58498d9c60091">operations_research::sat::NegatedRef</a></div><div class="ttdeci">int NegatedRef(int ref)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00034">cp_model_utils.h:34</a></div></div>
<div class="ttc" id="resource_8cc_html_a29fb0dd9484d890b12b280c41c150e20"><div class="ttname"><a href="resource_8cc.html#a29fb0dd9484d890b12b280c41c150e20">demand</a></div><div class="ttdeci">int64_t demand</div><div class="ttdef"><b>Definition:</b> <a href="resource_8cc_source.html#l00125">resource.cc:125</a></div></div>
<div class="ttc" id="cp__model__utils_8h_html"><div class="ttname"><a href="cp__model__utils_8h.html">cp_model_utils.h</a></div></div>
<div class="ttc" id="routing__flow_8cc_html_a2acb49f4df5288066c43610bede123ec"><div class="ttname"><a href="routing__flow_8cc.html#a2acb49f4df5288066c43610bede123ec">capacity</a></div><div class="ttdeci">int64_t capacity</div><div class="ttdef"><b>Definition:</b> <a href="routing__flow_8cc_source.html#l00151">routing_flow.cc:151</a></div></div>
<div class="ttc" id="pack_8cc_html_a750b5d744c39a06bfb13e6eb010e35d0"><div class="ttname"><a href="pack_8cc.html#a750b5d744c39a06bfb13e6eb010e35d0">index</a></div><div class="ttdeci">int index</div><div class="ttdef"><b>Definition:</b> <a href="pack_8cc_source.html#l00509">pack.cc:509</a></div></div>
<div class="ttc" id="cp__model__solver_8cc_html_abcd33b18ce6d5a90a4ba5c37cfa58829"><div class="ttname"><a href="cp__model__solver_8cc.html#abcd33b18ce6d5a90a4ba5c37cfa58829">response</a></div><div class="ttdeci">SharedResponseManager * response</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__solver_8cc_source.html#l01953">cp_model_solver.cc:1953</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_aced7df5982ab26894efec32543e459f7"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#aced7df5982ab26894efec32543e459f7">operations_research::sat::AddLinearExpressionToLinearConstraint</a></div><div class="ttdeci">void AddLinearExpressionToLinearConstraint(const LinearExpressionProto &amp;expr, int64_t coefficient, LinearConstraintProto *linear)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00536">cp_model_utils.cc:536</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a217ba4c51953c701a68d6572d79801f1"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a217ba4c51953c701a68d6572d79801f1">operations_research::sat::UsedIntervals</a></div><div class="ttdeci">std::vector&lt; int &gt; UsedIntervals(const ConstraintProto &amp;ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00447">cp_model_utils.cc:447</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_acf5b1cbffc494f14e8b87c672d5dda5f"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#acf5b1cbffc494f14e8b87c672d5dda5f">operations_research::sat::ConstraintCaseName</a></div><div class="ttdeci">std::string ConstraintCaseName(ConstraintProto::ConstraintCase constraint_case)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00378">cp_model_utils.cc:378</a></div></div>
<div class="ttc" id="base_2logging_8h_html_ae17f8119c108cf3070bad3449c7e0006"><div class="ttname"><a href="base_2logging_8h.html#ae17f8119c108cf3070bad3449c7e0006">DCHECK</a></div><div class="ttdeci">#define DCHECK(condition)</div><div class="ttdef"><b>Definition:</b> <a href="base_2logging_8h_source.html#l00889">base/logging.h:889</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_ae1c79e5c254e1e69d4ca7f52ba9cdc8b"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ae1c79e5c254e1e69d4ca7f52ba9cdc8b">operations_research::sat::ExpressionContainsSingleRef</a></div><div class="ttdeci">bool ExpressionContainsSingleRef(const LinearExpressionProto &amp;expr)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00520">cp_model_utils.cc:520</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_constraint_proto_html_a4b9572c4b6c4b51f1e98efdcd69a7d0f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_constraint_proto.html#a4b9572c4b6c4b51f1e98efdcd69a7d0f">operations_research::sat::LinearConstraintProto::add_coeffs</a></div><div class="ttdeci">void add_coeffs(int64_t value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07558">cp_model.pb.h:7558</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html">operations_research::sat::LinearExpressionProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l00608">cp_model.pb.h:608</a></div></div>
<div class="ttc" id="cp__model_8pb_8h_html"><div class="ttname"><a href="cp__model_8pb_8h.html">cp_model.pb.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_objective_proto_html_a76c521af56ab0e96eb06deeb679f46f7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_objective_proto.html#a76c521af56ab0e96eb06deeb679f46f7">operations_research::sat::CpObjectiveProto::vars_size</a></div><div class="ttdeci">int vars_size() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l11225">cp_model.pb.h:11225</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a821ea964897901bfecffe8325b225736"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a821ea964897901bfecffe8325b225736">operations_research::sat::LinearExpressionProto::coeffs</a></div><div class="ttdeci">int64_t coeffs(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07251">cp_model.pb.h:7251</a></div></div>
<div class="ttc" id="namespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdoc">Collection of objects used to extend the Constraint Solver library.</div><div class="ttdef"><b>Definition:</b> <a href="dense__doubly__linked__list_8h_source.html#l00021">dense_doubly_linked_list.h:21</a></div></div>
<div class="ttc" id="resource_8cc_html_aee52de7b225665566aa47246b9d6b8fa"><div class="ttname"><a href="resource_8cc.html#aee52de7b225665566aa47246b9d6b8fa">time</a></div><div class="ttdeci">int64_t time</div><div class="ttdef"><b>Definition:</b> <a href="resource_8cc_source.html#l01691">resource.cc:1691</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a10826704577008404187a36808daa739"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a10826704577008404187a36808daa739">operations_research::sat::ComputeInnerObjective</a></div><div class="ttdeci">int64_t ComputeInnerObjective(const CpObjectiveProto &amp;objective, const CpSolverResponse &amp;response)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00507">cp_model_utils.cc:507</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_aab9fc6e23064f7f2aff53c4f5059f493"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#aab9fc6e23064f7f2aff53c4f5059f493">operations_research::sat::ExpressionIsAffine</a></div><div class="ttdeci">bool ExpressionIsAffine(const LinearExpressionProto &amp;expr)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00525">cp_model_utils.cc:525</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_constraint_proto_html_ada030f50fcddb646af448ac7c5705e35"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_constraint_proto.html#ada030f50fcddb646af448ac7c5705e35">operations_research::sat::ConstraintProto::ConstraintCase</a></div><div class="ttdeci">ConstraintCase</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l03815">cp_model.pb.h:3815</a></div></div>
<div class="ttc" id="structoperations__research_1_1sat_1_1_index_references_html_a404c06a2a9a7b2290466f5d5423093d4"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_index_references.html#a404c06a2a9a7b2290466f5d5423093d4">operations_research::sat::IndexReferences::literals</a></div><div class="ttdeci">std::vector&lt; int &gt; literals</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00056">cp_model_utils.h:56</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_constraint_proto_html_a52d17efda66accf5a25aab163625e0dc"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_constraint_proto.html#a52d17efda66accf5a25aab163625e0dc">operations_research::sat::LinearConstraintProto::add_vars</a></div><div class="ttdeci">void add_vars(int32_t value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07511">cp_model.pb.h:7511</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a217338425de4389014563f1f24331713"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a217338425de4389014563f1f24331713">operations_research::sat::RefIsPositive</a></div><div class="ttdeci">bool RefIsPositive(int ref)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00036">cp_model_utils.h:36</a></div></div>
<div class="ttc" id="structoperations__research_1_1sat_1_1_index_references_html_a0821f58cb944376b1f8919327f202443"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_index_references.html#a0821f58cb944376b1f8919327f202443">operations_research::sat::IndexReferences::variables</a></div><div class="ttdeci">std::vector&lt; int &gt; variables</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00055">cp_model_utils.h:55</a></div></div>
<div class="ttc" id="expr__array_8cc_html_a472a99923cbe11ae7b5a5d157d9ad465"><div class="ttname"><a href="expr__array_8cc.html#a472a99923cbe11ae7b5a5d157d9ad465">var</a></div><div class="ttdeci">IntVar * var</div><div class="ttdef"><b>Definition:</b> <a href="expr__array_8cc_source.html#l01874">expr_array.cc:1874</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_constraint_proto_html_a7d8011ca186f4ad850fcd0e2278d278c"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_constraint_proto.html#a7d8011ca186f4ad850fcd0e2278d278c">operations_research::sat::LinearConstraintProto::domain</a></div><div class="ttdeci">int64_t domain(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07594">cp_model.pb.h:7594</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_adc1745a206c1ed3667e9de782d8a8c13"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#adc1745a206c1ed3667e9de782d8a8c13">operations_research::sat::GetSingleRefFromExpression</a></div><div class="ttdeci">int GetSingleRefFromExpression(const LinearExpressionProto &amp;expr)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00531">cp_model_utils.cc:531</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a6d4dc38d28f20c0c1bbbe71fff0803e7"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a6d4dc38d28f20c0c1bbbe71fff0803e7">operations_research::sat::ApplyToAllLiteralIndices</a></div><div class="ttdeci">void ApplyToAllLiteralIndices(const std::function&lt; void(int *)&gt; &amp;f, ConstraintProto *ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00159">cp_model_utils.cc:159</a></div></div>
<div class="ttc" id="resource_8cc_html_af92a8383a05fdf586a52263d358f5ada"><div class="ttname"><a href="resource_8cc.html#af92a8383a05fdf586a52263d358f5ada">interval</a></div><div class="ttdeci">IntervalVar * interval</div><div class="ttdef"><b>Definition:</b> <a href="resource_8cc_source.html#l00100">resource.cc:100</a></div></div>
<div class="ttc" id="demon__profiler_8cc_html_a05da18ca9c7b657a4a6ea24e07c9b695"><div class="ttname"><a href="demon__profiler_8cc.html#a05da18ca9c7b657a4a6ea24e07c9b695">ct</a></div><div class="ttdeci">const Constraint * ct</div><div class="ttdef"><b>Definition:</b> <a href="demon__profiler_8cc_source.html#l00043">demon_profiler.cc:43</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_aba8e3465fc58d3b287e05451d5230bae"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#aba8e3465fc58d3b287e05451d5230bae">operations_research::sat::GetReferencesUsedByConstraint</a></div><div class="ttdeci">IndexReferences GetReferencesUsedByConstraint(const ConstraintProto &amp;ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00045">cp_model_utils.cc:45</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a76c521af56ab0e96eb06deeb679f46f7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a76c521af56ab0e96eb06deeb679f46f7">operations_research::sat::LinearExpressionProto::vars_size</a></div><div class="ttdeci">int vars_size() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07195">cp_model.pb.h:7195</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a22efb1995471e34caa35927a9032f5f3"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a22efb1995471e34caa35927a9032f5f3">operations_research::sat::SetToNegatedLinearExpression</a></div><div class="ttdeci">void SetToNegatedLinearExpression(const LinearExpressionProto &amp;input_expr, LinearExpressionProto *output_negated_expr)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00035">cp_model_utils.cc:35</a></div></div>
<div class="ttc" id="constraint__solver_2table_8cc_html_acb18315d548212835cd8ed4287e6c0b6"><div class="ttname"><a href="constraint__solver_2table_8cc.html#acb18315d548212835cd8ed4287e6c0b6">a</a></div><div class="ttdeci">int64_t a</div><div class="ttdef"><b>Definition:</b> <a href="constraint__solver_2table_8cc_source.html#l00046">constraint_solver/table.cc:46</a></div></div>
2021-01-26 11:28:50 +01:00
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
2020-09-01 16:00:33 +02:00
<!-- 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="dir_a7cc1eeded8f693d0da6c729bc88c45a.html">ortools</a></li><li class="navelem"><a class="el" href="dir_dddac007a45022d9da6ea1dee012c3b9.html">sat</a></li><li class="navelem"><a class="el" href="cp__model__utils_8cc.html">cp_model_utils.cc</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
2022-01-16 18:02:36 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
2020-09-01 16:00:33 +02:00
</ul>
</div>
</body>
</html>