162 lines
110 KiB
HTML
162 lines
110 KiB
HTML
|
|
<!-- 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"/>
|
||
|
|
<meta name="generator" content="Doxygen 1.8.15"/>
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
|
<title>OR-Tools: diffn_util.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>
|
||
|
|
<script type="text/javascript">
|
||
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
|
$(document).ready(initResizable);
|
||
|
|
/* @license-end */</script>
|
||
|
|
<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
|
||
|
|
 <span id="projectnumber">9.1</span>
|
||
|
|
</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<!-- end header part -->
|
||
|
|
<!-- Generated by Doxygen 1.8.15 -->
|
||
|
|
<script type="text/javascript">
|
||
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||
|
|
/* @license-end */
|
||
|
|
</script>
|
||
|
|
<script type="text/javascript" src="menudata.js"></script>
|
||
|
|
<script type="text/javascript" src="menu.js"></script>
|
||
|
|
<script type="text/javascript">
|
||
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
|
$(function() {
|
||
|
|
initMenu('',true,false,'search.php','Search');
|
||
|
|
$(document).ready(function() { init_search(); });
|
||
|
|
});
|
||
|
|
/* @license-end */</script>
|
||
|
|
<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">
|
||
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
|
$(document).ready(function(){initNavTree('diffn__util_8cc_source.html','');});
|
||
|
|
/* @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">
|
||
|
|
<div class="headertitle">
|
||
|
|
<div class="title">diffn_util.cc</div> </div>
|
||
|
|
</div><!--header-->
|
||
|
|
<div class="contents">
|
||
|
|
<a href="diffn__util_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> <span class="comment">// Copyright 2010-2021 Google LLC</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <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> <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> <span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> <span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <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> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <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> <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> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="diffn__util_8h.html">ortools/sat/diffn_util.h</a>"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="stl__util_8h.html">ortools/base/stl_util.h</a>"</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">namespace </span>sat {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_rectangle.html#af35016193fab7576c18a7fbd0e3b9a20"> 21</a></span> <span class="keywordtype">bool</span> <a class="code" href="structoperations__research_1_1sat_1_1_rectangle.html#af35016193fab7576c18a7fbd0e3b9a20">Rectangle::IsDisjoint</a>(<span class="keyword">const</span> <a class="code" href="structoperations__research_1_1sat_1_1_rectangle.html">Rectangle</a>& other)<span class="keyword"> const </span>{</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordflow">return</span> <a class="code" href="structoperations__research_1_1sat_1_1_rectangle.html#a1f62ae069f3793df9ae18399ba6d052c">x_min</a> >= other.<a class="code" href="structoperations__research_1_1sat_1_1_rectangle.html#a0cc9a3a200ee27bae9b9907d97b5718e">x_max</a> || other.<a class="code" href="structoperati
|
||
|
|
<div class="ttc" id="macros_8h_html_a7f536a3b33f9bed8f75734e035d30725"><div class="ttname"><a href="macros_8h.html#a7f536a3b33f9bed8f75734e035d30725">DEBUG_MODE</a></div><div class="ttdeci">const bool DEBUG_MODE</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00024">macros.h:24</a></div></div>
|
||
|
|
<div class="ttc" id="alldiff__cst_8cc_html_ad10edae0a852d72fb76afb1c77735045"><div class="ttname"><a href="alldiff__cst_8cc.html#ad10edae0a852d72fb76afb1c77735045">min</a></div><div class="ttdeci">int64_t min</div><div class="ttdef"><b>Definition:</b> <a href="alldiff__cst_8cc_source.html#l00139">alldiff_cst.cc:139</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_indexed_interval_1_1_comparator_by_start_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_indexed_interval_1_1_comparator_by_start.html">operations_research::sat::IndexedInterval::ComparatorByStart</a></div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00125">diffn_util.h:125</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="namespaceoperations__research_1_1sat_html_a3087cde516cefe9797be88d14a80079b"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a3087cde516cefe9797be88d14a80079b">operations_research::sat::GetOverlappingIntervalComponents</a></div><div class="ttdeci">void GetOverlappingIntervalComponents(std::vector< IndexedInterval > *intervals, std::vector< std::vector< int >> *components)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00392">diffn_util.cc:392</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a355a62f25cfadeccfb164ab9fb867c81"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a355a62f25cfadeccfb164ab9fb867c81">operations_research::sat::kMinIntegerValue</a></div><div class="ttdeci">constexpr IntegerValue kMinIntegerValue(-kMaxIntegerValue)</div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a4e6ac3124f7b4484cb98c11d412f9f34"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a4e6ac3124f7b4484cb98c11d412f9f34">operations_research::sat::FilterBoxesAndRandomize</a></div><div class="ttdeci">absl::Span< int > FilterBoxesAndRandomize(const std::vector< Rectangle > &cached_rectangles, absl::Span< int > boxes, IntegerValue threshold_x, IntegerValue threshold_y, absl::BitGenRef random)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00300">diffn_util.cc:300</a></div></div>
|
||
|
|
<div class="ttc" id="base_2logging_8h_html_a7e03ec13560fa94a8fea569960d7efc6"><div class="ttname"><a href="base_2logging_8h.html#a7e03ec13560fa94a8fea569960d7efc6">CHECK_GT</a></div><div class="ttdeci">#define CHECK_GT(val1, val2)</div><div class="ttdef"><b>Definition:</b> <a href="base_2logging_8h_source.html#l00703">base/logging.h:703</a></div></div>
|
||
|
|
<div class="ttc" id="base_2logging_8h_html_afcaa7cadd41741bb855c2ada1d2ef927"><div class="ttname"><a href="base_2logging_8h.html#afcaa7cadd41741bb855c2ada1d2ef927">VLOG</a></div><div class="ttdeci">#define VLOG(verboselevel)</div><div class="ttdef"><b>Definition:</b> <a href="base_2logging_8h_source.html#l00979">base/logging.h:979</a></div></div>
|
||
|
|
<div class="ttc" id="classoperations__research_1_1sat_1_1_interval_var_html_acca41811e8aaab0112b987749c0ecb93"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_interval_var.html#acca41811e8aaab0112b987749c0ecb93">operations_research::sat::IntervalVar::index</a></div><div class="ttdeci">int index() const</div><div class="ttdoc">Returns the index of the interval constraint in the model.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00395">cp_model.h:395</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1math__opt_html_a5de89a1f6e3f80a49a0d76136d8044e2"><div class="ttname"><a href="namespaceoperations__research_1_1math__opt.html#a5de89a1f6e3f80a49a0d76136d8044e2">operations_research::math_opt::swap</a></div><div class="ttdeci">void swap(IdMap< K, V > &a, IdMap< K, V > &b)</div><div class="ttdef"><b>Definition:</b> <a href="id__map_8h_source.html#l00263">id_map.h:263</a></div></div>
|
||
|
|
<div class="ttc" id="classoperations__research_1_1sat_1_1_scheduling_constraint_helper_html_a9ce9e563527f073b9aac535e63b7f647"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_scheduling_constraint_helper.html#a9ce9e563527f073b9aac535e63b7f647">operations_research::sat::SchedulingConstraintHelper::ImportOtherReasons</a></div><div class="ttdeci">void ImportOtherReasons(const SchedulingConstraintHelper &other_helper)</div><div class="ttdef"><b>Definition:</b> <a href="intervals_8cc_source.html#l00541">intervals.cc:541</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_rectangle_html_ae39303b5b3149e1914834c36ad51fe8f"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_rectangle.html#ae39303b5b3149e1914834c36ad51fe8f">operations_research::sat::Rectangle::y_max</a></div><div class="ttdeci">IntegerValue y_max</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00033">diffn_util.h:33</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 &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="structoperations__research_1_1sat_1_1_indexed_interval_1_1_comparator_by_start_then_end_then_index_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_indexed_interval_1_1_comparator_by_start_then_end_then_index.html">operations_research::sat::IndexedInterval::ComparatorByStartThenEndThenIndex</a></div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00119">diffn_util.h:119</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_rectangle_html_a0cc9a3a200ee27bae9b9907d97b5718e"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_rectangle.html#a0cc9a3a200ee27bae9b9907d97b5718e">operations_research::sat::Rectangle::x_max</a></div><div class="ttdeci">IntegerValue x_max</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00031">diffn_util.h:31</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a1227e67513602591fb959e35c9de66e8"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a1227e67513602591fb959e35c9de66e8">operations_research::sat::kMaxIntegerValue</a></div><div class="ttdeci">constexpr IntegerValue kMaxIntegerValue(std::numeric_limits< IntegerValue::ValueType >::max() - 1)</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="structoperations__research_1_1sat_1_1_indexed_interval_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_indexed_interval.html">operations_research::sat::IndexedInterval</a></div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00107">diffn_util.h:107</a></div></div>
|
||
|
|
<div class="ttc" id="classoperations__research_1_1sat_1_1_scheduling_constraint_helper_html_af9c040735b02626e2c373e820d4b6416"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_scheduling_constraint_helper.html#af9c040735b02626e2c373e820d4b6416">operations_research::sat::SchedulingConstraintHelper::ClearReason</a></div><div class="ttdeci">void ClearReason()</div><div class="ttdef"><b>Definition:</b> <a href="intervals_8h_source.html#l00488">intervals.h:488</a></div></div>
|
||
|
|
<div class="ttc" id="alldiff__cst_8cc_html_a26e6db9bcc64b584051ecc28171ed11f"><div class="ttname"><a href="alldiff__cst_8cc.html#a26e6db9bcc64b584051ecc28171ed11f">max</a></div><div class="ttdeci">int64_t max</div><div class="ttdef"><b>Definition:</b> <a href="alldiff__cst_8cc_source.html#l00140">alldiff_cst.cc:140</a></div></div>
|
||
|
|
<div class="ttc" id="classoperations__research_1_1sat_1_1_scheduling_constraint_helper_html_a5caf109ec436f43088925c00bb64794b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_scheduling_constraint_helper.html#a5caf109ec436f43088925c00bb64794b">operations_research::sat::SchedulingConstraintHelper::ShiftedEndMax</a></div><div class="ttdeci">IntegerValue ShiftedEndMax(int t) const</div><div class="ttdef"><b>Definition:</b> <a href="intervals_8h_source.html#l00256">intervals.h:256</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_rectangle_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_rectangle.html">operations_research::sat::Rectangle</a></div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00029">diffn_util.h:29</a></div></div>
|
||
|
|
<div class="ttc" id="classoperations__research_1_1sat_1_1_scheduling_constraint_helper_html_ad663c8b14dbad962a78333fbc02c7967"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_scheduling_constraint_helper.html#ad663c8b14dbad962a78333fbc02c7967">operations_research::sat::SchedulingConstraintHelper::AddEnergyMinInIntervalReason</a></div><div class="ttdeci">void AddEnergyMinInIntervalReason(int t, IntegerValue min, IntegerValue max)</div><div class="ttdef"><b>Definition:</b> <a href="intervals_8h_source.html#l00600">intervals.h:600</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_rectangle_html_a72c77da14562bc93e057989744b551fd"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_rectangle.html#a72c77da14562bc93e057989744b551fd">operations_research::sat::Rectangle::Area</a></div><div class="ttdeci">IntegerValue Area() const</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00042">diffn_util.h:42</a></div></div>
|
||
|
|
<div class="ttc" id="resource_8cc_html_a4a6149ef5bdc681a998b90bb5c165bf3"><div class="ttname"><a href="resource_8cc.html#a4a6149ef5bdc681a998b90bb5c165bf3">energy</a></div><div class="ttdeci">int64_t energy</div><div class="ttdef"><b>Definition:</b> <a href="resource_8cc_source.html#l00354">resource.cc:354</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_rectangle_html_a1f62ae069f3793df9ae18399ba6d052c"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_rectangle.html#a1f62ae069f3793df9ae18399ba6d052c">operations_research::sat::Rectangle::x_min</a></div><div class="ttdeci">IntegerValue x_min</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00030">diffn_util.h:30</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="namespaceoperations__research_1_1sat_html_a74b637c7690aa3cd4c80157b44c5e5ac"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a74b637c7690aa3cd4c80157b44c5e5ac">operations_research::sat::ConstructOverlappingSets</a></div><div class="ttdeci">void ConstructOverlappingSets(bool already_sorted, std::vector< IndexedInterval > *intervals, std::vector< std::vector< int >> *result)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00343">diffn_util.cc:343</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_rectangle_html_ae0f155c5fab2db4cf40e75f0ad6039f6"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_rectangle.html#ae0f155c5fab2db4cf40e75f0ad6039f6">operations_research::sat::Rectangle::TakeUnionWith</a></div><div class="ttdeci">void TakeUnionWith(const Rectangle &other)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00035">diffn_util.h:35</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a3e2516c0d3fc4991896c6a9bbead80e7"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a3e2516c0d3fc4991896c6a9bbead80e7">operations_research::sat::GetOverlappingRectangleComponents</a></div><div class="ttdeci">std::vector< absl::Span< int > > GetOverlappingRectangleComponents(const std::vector< Rectangle > &rectangles, absl::Span< int > active_rectangles)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00026">diffn_util.cc:26</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a98d09c7e8c4f5a15b569f5f14fa9937a"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a98d09c7e8c4f5a15b569f5f14fa9937a">operations_research::sat::AnalyzeIntervals</a></div><div class="ttdeci">bool AnalyzeIntervals(bool transpose, absl::Span< const int > local_boxes, const std::vector< Rectangle > &rectangles, const std::vector< IntegerValue > &rectangle_energies, IntegerValue *x_threshold, IntegerValue *y_threshold, Rectangle *conflict)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00148">diffn_util.cc:148</a></div></div>
|
||
|
|
<div class="ttc" id="classoperations__research_1_1sat_1_1_scheduling_constraint_helper_html_a9583bbea958febd24d92742c2f137d22"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_scheduling_constraint_helper.html#a9583bbea958febd24d92742c2f137d22">operations_research::sat::SchedulingConstraintHelper::ReportConflict</a></div><div class="ttdeci">ABSL_MUST_USE_RESULT bool ReportConflict()</div><div class="ttdef"><b>Definition:</b> <a href="intervals_8cc_source.html#l00503">intervals.cc:503</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#l00885">base/logging.h:885</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_acb732f4a9114d03a4b3e53109923e60f"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#acb732f4a9114d03a4b3e53109923e60f">operations_research::sat::BoxesAreInEnergyConflict</a></div><div class="ttdeci">bool BoxesAreInEnergyConflict(const std::vector< Rectangle > &rectangles, const std::vector< IntegerValue > &energies, absl::Span< const int > boxes, Rectangle *conflict)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00081">diffn_util.cc:81</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_ac15dce45cd213b58af7a1fd6fc8a6ebc"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ac15dce45cd213b58af7a1fd6fc8a6ebc">operations_research::sat::ReportEnergyConflict</a></div><div class="ttdeci">bool ReportEnergyConflict(Rectangle bounding_box, absl::Span< const int > boxes, SchedulingConstraintHelper *x, SchedulingConstraintHelper *y)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00052">diffn_util.cc:52</a></div></div>
|
||
|
|
<div class="ttc" id="classoperations__research_1_1sat_1_1_scheduling_constraint_helper_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_scheduling_constraint_helper.html">operations_research::sat::SchedulingConstraintHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="intervals_8h_source.html#l00173">intervals.h:173</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a29b96869d2a821cf1d2e6099e7a0f51b"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a29b96869d2a821cf1d2e6099e7a0f51b">operations_research::sat::CeilRatio</a></div><div class="ttdeci">IntegerValue CeilRatio(IntegerValue dividend, IntegerValue positive_divisor)</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00082">integer.h:82</a></div></div>
|
||
|
|
<div class="ttc" id="diffn__util_8h_html"><div class="ttname"><a href="diffn__util_8h.html">diffn_util.h</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_ae5c5a34c633c8746d9caca8d79cf2727"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ae5c5a34c633c8746d9caca8d79cf2727">operations_research::sat::FilterBoxesThatAreTooLarge</a></div><div class="ttdeci">absl::Span< int > FilterBoxesThatAreTooLarge(const std::vector< Rectangle > &cached_rectangles, const std::vector< IntegerValue > &energies, absl::Span< int > boxes)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00316">diffn_util.cc:316</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a29fc5608780f1d24b490a8bc3650774e"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a29fc5608780f1d24b490a8bc3650774e">operations_research::sat::GetIntervalArticulationPoints</a></div><div class="ttdeci">std::vector< int > GetIntervalArticulationPoints(std::vector< IndexedInterval > *intervals)</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00425">diffn_util.cc:425</a></div></div>
|
||
|
|
<div class="ttc" id="classoperations__research_1_1sat_1_1_scheduling_constraint_helper_html_a0d7780af676ab4fd1c57e62da9e03686"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_scheduling_constraint_helper.html#a0d7780af676ab4fd1c57e62da9e03686">operations_research::sat::SchedulingConstraintHelper::ShiftedStartMin</a></div><div class="ttdeci">IntegerValue ShiftedStartMin(int t) const</div><div class="ttdef"><b>Definition:</b> <a href="intervals_8h_source.html#l00250">intervals.h:250</a></div></div>
|
||
|
|
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a15ca399ada8a279dc92f693ede7e4004"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a15ca399ada8a279dc92f693ede7e4004">operations_research::sat::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, const BoolVar &var)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8cc_source.html#l00068">cp_model.cc:68</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_rectangle_html_af35016193fab7576c18a7fbd0e3b9a20"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_rectangle.html#af35016193fab7576c18a7fbd0e3b9a20">operations_research::sat::Rectangle::IsDisjoint</a></div><div class="ttdeci">bool IsDisjoint(const Rectangle &other) const</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8cc_source.html#l00021">diffn_util.cc:21</a></div></div>
|
||
|
|
<div class="ttc" id="vlog__is__on_8h_html_a956152cad330225654d128f35c00efce"><div class="ttname"><a href="vlog__is__on_8h.html#a956152cad330225654d128f35c00efce">VLOG_IS_ON</a></div><div class="ttdeci">#define VLOG_IS_ON(verboselevel)</div><div class="ttdef"><b>Definition:</b> <a href="vlog__is__on_8h_source.html#l00041">vlog_is_on.h:41</a></div></div>
|
||
|
|
<div class="ttc" id="structoperations__research_1_1sat_1_1_rectangle_html_a379a897decc0711464cb15e8d02fd095"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_rectangle.html#a379a897decc0711464cb15e8d02fd095">operations_research::sat::Rectangle::y_min</a></div><div class="ttdeci">IntegerValue y_min</div><div class="ttdef"><b>Definition:</b> <a href="diffn__util_8h_source.html#l00032">diffn_util.h:32</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="base_2logging_8h_html_ab62f5ed8f2d48e29802be0cbbcd1359a"><div class="ttname"><a href="base_2logging_8h.html#ab62f5ed8f2d48e29802be0cbbcd1359a">DCHECK_LT</a></div><div class="ttdeci">#define DCHECK_LT(val1, val2)</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="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>
|
||
|
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
|
</div><!-- doc-content -->
|
||
|
|
<!-- 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="diffn__util_8cc.html">diffn_util.cc</a></li>
|
||
|
|
<li class="footer">Generated by
|
||
|
|
<a href="http://www.doxygen.org/index.html">
|
||
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|