804 lines
155 KiB
XML
804 lines
155 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.6">
|
|
<compounddef id="const_8hpp" kind="file">
|
|
<compoundname>const.hpp</compoundname>
|
|
<includedby refid="set_2view_8hpp" local="no">/usr/include/gecode/set/view.hpp</includedby>
|
|
<invincdepgraph>
|
|
<node id="31717">
|
|
<label>/usr/include/gecode/set/channel.hh</label>
|
|
<link refid="set_2channel_8hh_source"/>
|
|
</node>
|
|
<node id="31729">
|
|
<label>/usr/include/gecode/set/rel.hh</label>
|
|
<link refid="set_2rel_8hh_source"/>
|
|
<childnode refid="31716" relation="include">
|
|
</childnode>
|
|
<childnode refid="31720" relation="include">
|
|
</childnode>
|
|
<childnode refid="31727" relation="include">
|
|
</childnode>
|
|
<childnode refid="31728" relation="include">
|
|
</childnode>
|
|
<childnode refid="31730" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31722">
|
|
<label>/usr/include/gecode/set/int.hh</label>
|
|
<link refid="set_2int_8hh_source"/>
|
|
</node>
|
|
<node id="31715">
|
|
<label>/usr/include/gecode/set/branch.hh</label>
|
|
<link refid="set_2branch_8hh_source"/>
|
|
</node>
|
|
<node id="31720">
|
|
<label>/usr/include/gecode/set/element.hh</label>
|
|
<link refid="set_2element_8hh_source"/>
|
|
</node>
|
|
<node id="31712">
|
|
<label>/usr/include/gecode/set/view/const.hpp</label>
|
|
<link refid="const.hpp"/>
|
|
<childnode refid="31713" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31719">
|
|
<label>/usr/include/gecode/set/distinct.hh</label>
|
|
<link refid="set_2distinct_8hh_source"/>
|
|
</node>
|
|
<node id="31728">
|
|
<label>/usr/include/gecode/set/rel-op.hh</label>
|
|
<link refid="rel-op_8hh_source"/>
|
|
<childnode refid="31720" relation="include">
|
|
</childnode>
|
|
<childnode refid="31727" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31725">
|
|
<label>/usr/include/gecode/set/ldsb.hh</label>
|
|
<link refid="set_2ldsb_8hh_source"/>
|
|
</node>
|
|
<node id="31716">
|
|
<label>/usr/include/gecode/set/channel/sorted.hpp</label>
|
|
<link refid="sorted_8hpp_source"/>
|
|
<childnode refid="31717" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31723">
|
|
<label>/usr/include/gecode/set/int/minmax.hpp</label>
|
|
<link refid="minmax_8hpp_source"/>
|
|
<childnode refid="31722" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31726">
|
|
<label>/usr/include/gecode/set/precede.hh</label>
|
|
<link refid="set_2precede_8hh_source"/>
|
|
</node>
|
|
<node id="31713">
|
|
<label>/usr/include/gecode/set/view.hpp</label>
|
|
<link refid="set_2view_8hpp_source"/>
|
|
<childnode refid="31714" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31724">
|
|
<label>/usr/include/gecode/set/int/weights.hpp</label>
|
|
<link refid="weights_8hpp_source"/>
|
|
<childnode refid="31722" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31730">
|
|
<label>/usr/include/gecode/set/sequence.hh</label>
|
|
<link refid="set_2sequence_8hh_source"/>
|
|
</node>
|
|
<node id="31721">
|
|
<label>/usr/include/gecode/set/int/card.hpp</label>
|
|
<link refid="card_8hpp_source"/>
|
|
<childnode refid="31722" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31714">
|
|
<label>/usr/include/gecode/set.hh</label>
|
|
<link refid="set_8hh_source"/>
|
|
<childnode refid="31715" relation="include">
|
|
</childnode>
|
|
<childnode refid="31716" relation="include">
|
|
</childnode>
|
|
<childnode refid="31717" relation="include">
|
|
</childnode>
|
|
<childnode refid="31718" relation="include">
|
|
</childnode>
|
|
<childnode refid="31719" relation="include">
|
|
</childnode>
|
|
<childnode refid="31720" relation="include">
|
|
</childnode>
|
|
<childnode refid="31721" relation="include">
|
|
</childnode>
|
|
<childnode refid="31723" relation="include">
|
|
</childnode>
|
|
<childnode refid="31724" relation="include">
|
|
</childnode>
|
|
<childnode refid="31722" relation="include">
|
|
</childnode>
|
|
<childnode refid="31725" relation="include">
|
|
</childnode>
|
|
<childnode refid="31726" relation="include">
|
|
</childnode>
|
|
<childnode refid="31727" relation="include">
|
|
</childnode>
|
|
<childnode refid="31728" relation="include">
|
|
</childnode>
|
|
<childnode refid="31729" relation="include">
|
|
</childnode>
|
|
<childnode refid="31730" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31727">
|
|
<label>/usr/include/gecode/set/rel-op/post.hpp</label>
|
|
<link refid="set_2rel-op_2post_8hpp_source"/>
|
|
<childnode refid="31728" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31718">
|
|
<label>/usr/include/gecode/set/convex.hh</label>
|
|
<link refid="convex_8hh_source"/>
|
|
</node>
|
|
</invincdepgraph>
|
|
<innerclass refid="classGecode_1_1Set_1_1ArrayRanges" prot="public">Gecode::Set::ArrayRanges</innerclass>
|
|
<innerclass refid="classGecode_1_1Set_1_1LubRanges_3_01EmptyView_01_4" prot="public">Gecode::Set::LubRanges< EmptyView ></innerclass>
|
|
<innerclass refid="classGecode_1_1Set_1_1GlbRanges_3_01EmptyView_01_4" prot="public">Gecode::Set::GlbRanges< EmptyView ></innerclass>
|
|
<innerclass refid="classGecode_1_1Set_1_1LubRanges_3_01UniverseView_01_4" prot="public">Gecode::Set::LubRanges< UniverseView ></innerclass>
|
|
<innerclass refid="classGecode_1_1Set_1_1GlbRanges_3_01UniverseView_01_4" prot="public">Gecode::Set::GlbRanges< UniverseView ></innerclass>
|
|
<innerclass refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4" prot="public">Gecode::Set::LubRanges< ConstSetView ></innerclass>
|
|
<innerclass refid="classGecode_1_1Set_1_1GlbRanges_3_01ConstSetView_01_4" prot="public">Gecode::Set::GlbRanges< ConstSetView ></innerclass>
|
|
<innernamespace refid="namespaceGecode">Gecode</innernamespace>
|
|
<innernamespace refid="namespaceGecode_1_1Set">Gecode::Set</innernamespace>
|
|
<briefdescription>
|
|
</briefdescription>
|
|
<detaileddescription>
|
|
</detaileddescription>
|
|
<programlisting>
|
|
<codeline lineno="1"><highlight class="comment">/*<sp/>-*-<sp/>mode:<sp/>C++;<sp/>c-basic-offset:<sp/>2;<sp/>indent-tabs-mode:<sp/>nil<sp/>-*-<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="3"><highlight class="comment"><sp/>*<sp/><sp/>Main<sp/>authors:</highlight></codeline>
|
|
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Guido<sp/>Tack<sp/><tack@gecode.org></highlight></codeline>
|
|
<codeline lineno="5"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
|
|
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Guido<sp/>Tack,<sp/>2004</highlight></codeline>
|
|
<codeline lineno="8"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
|
|
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2010-07-28<sp/>17:35:33<sp/>+0200<sp/>(Wed,<sp/>28<sp/>Jul<sp/>2010)<sp/>$<sp/>by<sp/>$Author:<sp/>schulte<sp/>$</highlight></codeline>
|
|
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>11294<sp/>$</highlight></codeline>
|
|
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>Gecode,<sp/>the<sp/>generic<sp/>constraint</highlight></codeline>
|
|
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
|
|
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
|
|
<codeline lineno="16"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/>Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
|
|
<codeline lineno="18"><highlight class="comment"><sp/>*<sp/><sp/>a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
|
|
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/>"Software"),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
|
|
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/><sp/>without<sp/>limitation<sp/>the<sp/>rights<sp/>to<sp/>use,<sp/>copy,<sp/>modify,<sp/>merge,<sp/>publish,</highlight></codeline>
|
|
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/><sp/>distribute,<sp/>sublicense,<sp/>and/or<sp/>sell<sp/>copies<sp/>of<sp/>the<sp/>Software,<sp/>and<sp/>to</highlight></codeline>
|
|
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/><sp/>permit<sp/>persons<sp/>to<sp/>whom<sp/>the<sp/>Software<sp/>is<sp/>furnished<sp/>to<sp/>do<sp/>so,<sp/>subject<sp/>to</highlight></codeline>
|
|
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/><sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
|
|
<codeline lineno="24"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/><sp/>The<sp/>above<sp/>copyright<sp/>notice<sp/>and<sp/>this<sp/>permission<sp/>notice<sp/>shall<sp/>be</highlight></codeline>
|
|
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/><sp/>included<sp/>in<sp/>all<sp/>copies<sp/>or<sp/>substantial<sp/>portions<sp/>of<sp/>the<sp/>Software.</highlight></codeline>
|
|
<codeline lineno="27"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="28"><highlight class="comment"><sp/>*<sp/><sp/>THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>"AS<sp/>IS",<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
|
|
<codeline lineno="29"><highlight class="comment"><sp/>*<sp/><sp/>EXPRESS<sp/>OR<sp/>IMPLIED,<sp/>INCLUDING<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO<sp/>THE<sp/>WARRANTIES<sp/>OF</highlight></codeline>
|
|
<codeline lineno="30"><highlight class="comment"><sp/>*<sp/><sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
|
|
<codeline lineno="31"><highlight class="comment"><sp/>*<sp/><sp/>NONINFRINGEMENT.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>AUTHORS<sp/>OR<sp/>COPYRIGHT<sp/>HOLDERS<sp/>BE</highlight></codeline>
|
|
<codeline lineno="32"><highlight class="comment"><sp/>*<sp/><sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>CLAIM,<sp/>DAMAGES<sp/>OR<sp/>OTHER<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>AN<sp/>ACTION</highlight></codeline>
|
|
<codeline lineno="33"><highlight class="comment"><sp/>*<sp/><sp/>OF<sp/>CONTRACT,<sp/>TORT<sp/>OR<sp/>OTHERWISE,<sp/>ARISING<sp/>FROM,<sp/>OUT<sp/>OF<sp/>OR<sp/>IN<sp/>CONNECTION</highlight></codeline>
|
|
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/><sp/>WITH<sp/>THE<sp/>SOFTWARE<sp/>OR<sp/>THE<sp/>USE<sp/>OR<sp/>OTHER<sp/>DEALINGS<sp/>IN<sp/>THE<sp/>SOFTWARE.</highlight></codeline>
|
|
<codeline lineno="35"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="36"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="37"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Gecode<sp/>{<sp/></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Set<sp/>{</highlight></codeline>
|
|
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="44" refid="classGecode_1_1Set_1_1ArrayRanges" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Set_1_1ArrayRanges" kindref="compound">ArrayRanges</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="45"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>*_ranges;</highlight></codeline>
|
|
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>_size;</highlight></codeline>
|
|
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>_pos;</highlight></codeline>
|
|
<codeline lineno="49"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="51"></codeline>
|
|
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges_1a5e1dc5d4b027df27ce869010981c1d02" kindref="member">ArrayRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>:<sp/>_ranges(NULL),<sp/>_size(0),<sp/>_pos(0)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="55" refid="classGecode_1_1Set_1_1ArrayRanges_1a203c3fb95abc82f4a568e1552c869fa7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges_1a203c3fb95abc82f4a568e1552c869fa7" kindref="member">ArrayRanges</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>*ranges,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>)</highlight></codeline>
|
|
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>_ranges(ranges),<sp/>_size(size),<sp/>_pos(0)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="58" refid="classGecode_1_1Set_1_1ArrayRanges_1a75e263ca5598f84715ee8c09cf3de677" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges_1a75e263ca5598f84715ee8c09cf3de677" kindref="member">init</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">*<sp/>ranges,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>)<sp/>{</highlight></codeline>
|
|
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>_ranges<sp/>=<sp/>ranges;<sp/>_size<sp/>=<sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>;<sp/>_pos<sp/>=<sp/>0;</highlight></codeline>
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="62"></codeline>
|
|
<codeline lineno="64"></codeline>
|
|
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges_1a8a944d12fce36450fb61cbedcb5b78a8" kindref="member">operator ()</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>_pos<_size;<sp/>}</highlight></codeline>
|
|
<codeline lineno="68" refid="classGecode_1_1Set_1_1ArrayRanges_1aeeadb9c127feb346cb3b1ea364aa1b57" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges_1aeeadb9c127feb346cb3b1ea364aa1b57" kindref="member">operator ++</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{<sp/>_pos++;<sp/>}</highlight></codeline>
|
|
<codeline lineno="70"></codeline>
|
|
<codeline lineno="72"></codeline>
|
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges_1aecce070b0793349f0fb7921f9cb7775f" kindref="member">min</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>_ranges[_pos*2];<sp/>}</highlight></codeline>
|
|
<codeline lineno="76" refid="classGecode_1_1Set_1_1ArrayRanges_1a8aa913346edb93d7e90e9b68f7eddbb5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges_1a8aa913346edb93d7e90e9b68f7eddbb5" kindref="member">max</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>_ranges[_pos*2+1];<sp/>}</highlight></codeline>
|
|
<codeline lineno="78" refid="classGecode_1_1Set_1_1ArrayRanges_1a491c13ea53c52c3d65115d2a1c22cc82" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges_1a491c13ea53c52c3d65115d2a1c22cc82" kindref="member">width</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(_ranges[_pos*2+1]-_ranges[_pos*2]+1);</highlight></codeline>
|
|
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="82"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="83"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="84"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="85" refid="classGecode_1_1Set_1_1ConstSetView_1aabefcaa7d5dbb456e213669e2678de87" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1aabefcaa7d5dbb456e213669e2678de87" kindref="member">ConstSetView::ConstSetView</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>:<sp/>ranges(NULL),<sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>(0),<sp/>domSize(0)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="86"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="87"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="88" refid="classGecode_1_1Set_1_1ConstSetView_1a11881c622fe6d70a7444800cb4adc164" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1aabefcaa7d5dbb456e213669e2678de87" kindref="member">ConstSetView::ConstSetView</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&<sp/><ref refid="group__TaskModelFloatDomain_1gac1b9fa965f93c359aeadb620614e2b9b" kindref="member">dom</ref>)<sp/>{</highlight></codeline>
|
|
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/>size<sp/>=<sp/>dom.<ref refid="classGecode_1_1IntSet_1aee0385be2d8c4e34996cc24b25629d2c" kindref="member">ranges</ref>();</highlight></codeline>
|
|
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/>domSize<sp/>=<sp/>0;</highlight></codeline>
|
|
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(size<sp/>><sp/>0)<sp/>{</highlight></codeline>
|
|
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ranges<sp/>=<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref><</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">>(2*size);</highlight></codeline>
|
|
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1IntSetRanges" kindref="compound">IntSetRanges</ref><sp/>dr(dom);</highlight></codeline>
|
|
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=0;<sp/>dr();<sp/>++dr,<sp/>i+=2)<sp/>{</highlight></codeline>
|
|
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>min<sp/>=<sp/>dr.min();<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>max<sp/>=<sp/>dr.max();</highlight></codeline>
|
|
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ranges[i]<sp/>=<sp/>min;</highlight></codeline>
|
|
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ranges[i+1]<sp/>=<sp/>max;</highlight></codeline>
|
|
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>domSize<sp/>+=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(max-min+1);</highlight></codeline>
|
|
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
|
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ranges<sp/>=<sp/>NULL;</highlight></codeline>
|
|
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="103"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="104"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="105"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="106" refid="classGecode_1_1Set_1_1ConstSetView_1aa7832e29dc7cf15649db57841df76715" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1aa7832e29dc7cf15649db57841df76715" kindref="member">ConstSetView::glbSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>domSize;<sp/>}</highlight></codeline>
|
|
<codeline lineno="107"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="108"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="109" refid="classGecode_1_1Set_1_1ConstSetView_1ac7b65ab945a39883a2f8425f1ed2bf76" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ac7b65ab945a39883a2f8425f1ed2bf76" kindref="member">ConstSetView::lubSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>domSize;<sp/>}</highlight></codeline>
|
|
<codeline lineno="110"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="111"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="112" refid="classGecode_1_1Set_1_1ConstSetView_1ad80ed0d577406ec0feb540b228024584" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ad80ed0d577406ec0feb540b228024584" kindref="member">ConstSetView::unknownSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="113"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="114"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="115" refid="classGecode_1_1Set_1_1ConstSetView_1ad5a63733ffc7c5706472147f63499786" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ad5a63733ffc7c5706472147f63499786" kindref="member">ConstSetView::contains</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j=size;<sp/>j--;<sp/>)<sp/>{</highlight></codeline>
|
|
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(ranges[2*j+1]<sp/><<sp/>i)</highlight></codeline>
|
|
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(ranges[2*j]<sp/>>=<sp/>i)</highlight></codeline>
|
|
<codeline lineno="120"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="122"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="123"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="124"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="125"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="126" refid="classGecode_1_1Set_1_1ConstSetView_1acb05946f02d2a7e161177617b7bf262e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1acb05946f02d2a7e161177617b7bf262e" kindref="member">ConstSetView::notContains</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="127"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>!<ref refid="classGecode_1_1Set_1_1ConstSetView_1ad5a63733ffc7c5706472147f63499786" kindref="member">contains</ref>(i);</highlight></codeline>
|
|
<codeline lineno="128"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="129"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="130"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="131" refid="classGecode_1_1Set_1_1ConstSetView_1a236f70cf598a7ad992b5bd75bfd052f7" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a236f70cf598a7ad992b5bd75bfd052f7" kindref="member">ConstSetView::cardMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>domSize;<sp/>}</highlight></codeline>
|
|
<codeline lineno="132"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="133"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="134" refid="classGecode_1_1Set_1_1ConstSetView_1a7c6301dc5017a0e41d40461d8de407d6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a7c6301dc5017a0e41d40461d8de407d6" kindref="member">ConstSetView::cardMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>domSize;<sp/>}</highlight></codeline>
|
|
<codeline lineno="135"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="136"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="137" refid="classGecode_1_1Set_1_1ConstSetView_1a42192413e2ffc0fd4a12c9d6694a4c00" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a42192413e2ffc0fd4a12c9d6694a4c00" kindref="member">ConstSetView::lubMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>size==0<sp/>?<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ac506e1f8224563cc4090b7465acbe14b" kindref="member">BndSet::MIN_OF_EMPTY</ref><sp/>:<sp/>ranges[0];</highlight></codeline>
|
|
<codeline lineno="139"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="140"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="141"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="142" refid="classGecode_1_1Set_1_1ConstSetView_1ab4fbcb1e46dc3328711b7dfa784ab484" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ab4fbcb1e46dc3328711b7dfa784ab484" kindref="member">ConstSetView::lubMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>size==0<sp/>?<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a2a0b1c8d9863a9650eda7b1066d85943" kindref="member">BndSet::MAX_OF_EMPTY</ref><sp/>:<sp/>ranges[size*2-1];</highlight></codeline>
|
|
<codeline lineno="144"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="145"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="146"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="147" refid="classGecode_1_1Set_1_1ConstSetView_1a8d30f8aedfe104b9d806874609d92d7a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a8d30f8aedfe104b9d806874609d92d7a" kindref="member">ConstSetView::glbMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a42192413e2ffc0fd4a12c9d6694a4c00" kindref="member">lubMin</ref>();<sp/>}</highlight></codeline>
|
|
<codeline lineno="148"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="149"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="150" refid="classGecode_1_1Set_1_1ConstSetView_1a961a3d4fbed9b9fb4576e9df900fda0f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a961a3d4fbed9b9fb4576e9df900fda0f" kindref="member">ConstSetView::glbMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ab4fbcb1e46dc3328711b7dfa784ab484" kindref="member">lubMax</ref>();<sp/>}</highlight></codeline>
|
|
<codeline lineno="151"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="152"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="153" refid="classGecode_1_1Set_1_1ConstSetView_1a5fdcb3f1db64ada8c28c0b6687815c9a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a236f70cf598a7ad992b5bd75bfd052f7" kindref="member">ConstSetView::cardMin</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c)<sp/>{</highlight></codeline>
|
|
<codeline lineno="154"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>c<=domSize<sp/>?<sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="155"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="156"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="157"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="158" refid="classGecode_1_1Set_1_1ConstSetView_1a5261b770e63df165b68edba0e3311a80" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a7c6301dc5017a0e41d40461d8de407d6" kindref="member">ConstSetView::cardMax</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c)<sp/>{</highlight></codeline>
|
|
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>c>=domSize<sp/>?<sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="160"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="161"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="162"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="163" refid="classGecode_1_1Set_1_1ConstSetView_1ab35289059c1796a035af226a69873164" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a7a137a197c000ab824285bb7d48e432f" kindref="member">ConstSetView::include</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c)<sp/>{</highlight></codeline>
|
|
<codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ad5a63733ffc7c5706472147f63499786" kindref="member">contains</ref>(c)<sp/>?<sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="165"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="166"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="167"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="168" refid="classGecode_1_1Set_1_1ConstSetView_1ad4bf29c0d9bd7230a0ed322da624cd19" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1afc0de40dda24a6567f97b9d64796f07a" kindref="member">ConstSetView::exclude</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c)<sp/>{</highlight></codeline>
|
|
<codeline lineno="169"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ad5a63733ffc7c5706472147f63499786" kindref="member">contains</ref>(c)<sp/>?<sp/>ME_SET_FAILED<sp/>:<sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="170"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="171"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="172"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="173" refid="classGecode_1_1Set_1_1ConstSetView_1a37093341129d389d7e199d2f471e53fb" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a2b81ea8e6b9692a0a5c9653fd5b33c6d" kindref="member">ConstSetView::intersect</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c)<sp/>{</highlight></codeline>
|
|
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(size==0<sp/>||</highlight></codeline>
|
|
<codeline lineno="175"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(size==1<sp/>&&</highlight></codeline>
|
|
<codeline lineno="176"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ranges[0]==ranges[1]<sp/>&&<sp/>ranges[0]==c))<sp/>?</highlight></codeline>
|
|
<codeline lineno="177"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="178"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="179"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="180"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="181" refid="classGecode_1_1Set_1_1ConstSetView_1a2b81ea8e6b9692a0a5c9653fd5b33c6d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a2b81ea8e6b9692a0a5c9653fd5b33c6d" kindref="member">ConstSetView::intersect</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j)<sp/>{</highlight></codeline>
|
|
<codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1ConstSetView_1a8d30f8aedfe104b9d806874609d92d7a" kindref="member">glbMin</ref>()>=i<sp/>&&<sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a961a3d4fbed9b9fb4576e9df900fda0f" kindref="member">glbMax</ref>()<=j)<sp/>?</highlight></codeline>
|
|
<codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="184"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="185"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="186"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="187" refid="classGecode_1_1Set_1_1ConstSetView_1a7a137a197c000ab824285bb7d48e432f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a7a137a197c000ab824285bb7d48e432f" kindref="member">ConstSetView::include</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j)<sp/>{</highlight></codeline>
|
|
<codeline lineno="188"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Singleton" kindref="compound">Iter::Ranges::Singleton</ref><sp/>single(i,j);</highlight></codeline>
|
|
<codeline lineno="189"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges" kindref="compound">ArrayRanges</ref><sp/>ar(ranges,<sp/>size);</highlight></codeline>
|
|
<codeline lineno="190"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(single()<sp/>&&<sp/><ref refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" kindref="member">Iter::Ranges::subset</ref>(single,<sp/>ar))<sp/>?</highlight></codeline>
|
|
<codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="192"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="193"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="194"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="195" refid="classGecode_1_1Set_1_1ConstSetView_1afc0de40dda24a6567f97b9d64796f07a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1afc0de40dda24a6567f97b9d64796f07a" kindref="member">ConstSetView::exclude</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j)<sp/>{</highlight></codeline>
|
|
<codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Singleton" kindref="compound">Iter::Ranges::Singleton</ref><sp/>single(i,j);</highlight></codeline>
|
|
<codeline lineno="197"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges" kindref="compound">ArrayRanges</ref><sp/>ar(ranges,<sp/>size);</highlight></codeline>
|
|
<codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(single()<sp/>&&<sp/><ref refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" kindref="member">Iter::Ranges::subset</ref>(single,<sp/>ar))<sp/>?</highlight></codeline>
|
|
<codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ME_SET_FAILED<sp/>:<sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="200"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="201"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="202"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="203" refid="classGecode_1_1Set_1_1ConstSetView_1abdecaadeabbc3af48526143deb63035b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1abdecaadeabbc3af48526143deb63035b" kindref="member">ConstSetView::excludeI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges" kindref="compound">ArrayRanges</ref><sp/>ar(ranges,<sp/>size);</highlight></codeline>
|
|
<codeline lineno="205"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(i()<sp/>&&<sp/><ref refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" kindref="member">Iter::Ranges::subset</ref>(i,<sp/>ar))<sp/>?<sp/>ME_SET_FAILED<sp/>:<sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="206"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="207"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="208"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="209" refid="classGecode_1_1Set_1_1ConstSetView_1a8583aec5942130fbdc3228200565306f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a8583aec5942130fbdc3228200565306f" kindref="member">ConstSetView::includeI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="210"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges" kindref="compound">ArrayRanges</ref><sp/>ar(ranges,<sp/>size);</highlight></codeline>
|
|
<codeline lineno="211"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" kindref="member">Iter::Ranges::subset</ref>(i,<sp/>ar)<sp/>?<sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="212"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="213"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="214"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="215" refid="classGecode_1_1Set_1_1ConstSetView_1aaa604c47b188ea7f154bce5d44930f2e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1aaa604c47b188ea7f154bce5d44930f2e" kindref="member">ConstSetView::intersectI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="216"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges" kindref="compound">ArrayRanges</ref><sp/>ar(ranges,<sp/>size);</highlight></codeline>
|
|
<codeline lineno="217"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" kindref="member">Iter::Ranges::subset</ref>(ar,<sp/>i)<sp/>?<sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="218"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="219"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="220"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="221" refid="classGecode_1_1Set_1_1ConstSetView_1a5ba1699a283de9d148854797515d9b3a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a5ba1699a283de9d148854797515d9b3a" kindref="member">ConstSetView::update</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share,<sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>p)<sp/>{</highlight></codeline>
|
|
<codeline lineno="222"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ConstView_1aa707302c7d06b42165f614cff5dc6fc0" kindref="member">ConstView<SetView>::update</ref>(home,share,p);</highlight></codeline>
|
|
<codeline lineno="223"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>dispose<sp/>old<sp/>ranges</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="224"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(size<sp/>><sp/>0)</highlight></codeline>
|
|
<codeline lineno="225"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>home.<ref refid="group__FuncMemSpace_1gada420b751340125380dc4fcde66e6d99" kindref="member">free</ref><</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">>(ranges,<sp/>2);</highlight></codeline>
|
|
<codeline lineno="226"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="227"><highlight class="normal"><sp/><sp/><sp/><sp/>domSize<sp/>=<sp/>p.domSize;</highlight></codeline>
|
|
<codeline lineno="228"><highlight class="normal"><sp/><sp/><sp/><sp/>size<sp/>=<sp/>p.size;</highlight></codeline>
|
|
<codeline lineno="229"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(size<sp/>==<sp/>0)<sp/>{</highlight></codeline>
|
|
<codeline lineno="230"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ranges<sp/>=<sp/>NULL;</highlight></codeline>
|
|
<codeline lineno="231"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
|
<codeline lineno="232"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>copy<sp/>ranges<sp/>from<sp/>p</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="233"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ranges<sp/>=<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref><</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">>(2*size);</highlight></codeline>
|
|
<codeline lineno="234"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=size;<sp/>i--;<sp/>)<sp/>{</highlight></codeline>
|
|
<codeline lineno="235"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ranges[2*i]<sp/><sp/><sp/>=<sp/>p.ranges[2*i];</highlight></codeline>
|
|
<codeline lineno="236"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ranges[2*i+1]<sp/>=<sp/>p.ranges[2*i+1];</highlight></codeline>
|
|
<codeline lineno="237"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="238"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="239"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="240"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="241"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="242"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="243"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Delta<sp/>information<sp/>for<sp/>advisors</highlight></codeline>
|
|
<codeline lineno="244"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="245"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="246"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="247" refid="classGecode_1_1Set_1_1ConstSetView_1a3fe14563dd1b9a418847063fdf60d56f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a8d30f8aedfe104b9d806874609d92d7a" kindref="member">ConstSetView::glbMin</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="248"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="249"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="250"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="251"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="252" refid="classGecode_1_1Set_1_1ConstSetView_1a3f949412269e3e099fbe875037d439e1" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a961a3d4fbed9b9fb4576e9df900fda0f" kindref="member">ConstSetView::glbMax</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="253"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="254"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="255"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="256"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="257" refid="classGecode_1_1Set_1_1ConstSetView_1a5b5cff487562733b5c9dc8b3a29898f5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a5b5cff487562733b5c9dc8b3a29898f5" kindref="member">ConstSetView::glbAny</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="258"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="259"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="260"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="261"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="262" refid="classGecode_1_1Set_1_1ConstSetView_1adce50500e51d4838639d8f09ce5ccf35" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1a42192413e2ffc0fd4a12c9d6694a4c00" kindref="member">ConstSetView::lubMin</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="263"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="264"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="265"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="266"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="267" refid="classGecode_1_1Set_1_1ConstSetView_1ab7effc190d389f9082f2b9e6fa211232" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ab4fbcb1e46dc3328711b7dfa784ab484" kindref="member">ConstSetView::lubMax</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="268"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="269"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="270"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="271"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="272" refid="classGecode_1_1Set_1_1ConstSetView_1ab95c909323b9a2bb1f06af98da801370" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView_1ab95c909323b9a2bb1f06af98da801370" kindref="member">ConstSetView::lubAny</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="273"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="274"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="275"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="276"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="277"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="278" refid="classGecode_1_1Set_1_1EmptyView_1a36499db69c57ab65b350c7edecb4502f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a36499db69c57ab65b350c7edecb4502f" kindref="member">EmptyView::EmptyView</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="279"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="280"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="281"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="282"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="283" refid="classGecode_1_1Set_1_1EmptyView_1a5bbc1e1c6970ceb8290aa0f5e2b233ef" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a5bbc1e1c6970ceb8290aa0f5e2b233ef" kindref="member">EmptyView::glbSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="284"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="285"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="286" refid="classGecode_1_1Set_1_1EmptyView_1a41aa8c009b3eabbabd8931851ba55a07" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a41aa8c009b3eabbabd8931851ba55a07" kindref="member">EmptyView::lubSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="287"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="288"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="289" refid="classGecode_1_1Set_1_1EmptyView_1af741de1798ce542b44c53cec9136eef8" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1af741de1798ce542b44c53cec9136eef8" kindref="member">EmptyView::unknownSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="290"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="291"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="292" refid="classGecode_1_1Set_1_1EmptyView_1a777bc8b21e247eda0403792b665ffa3b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a777bc8b21e247eda0403792b665ffa3b" kindref="member">EmptyView::contains</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;<sp/>}</highlight></codeline>
|
|
<codeline lineno="293"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="294"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="295" refid="classGecode_1_1Set_1_1EmptyView_1acb695e7984f25e063c9e1335693e74fd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1acb695e7984f25e063c9e1335693e74fd" kindref="member">EmptyView::notContains</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;<sp/>}</highlight></codeline>
|
|
<codeline lineno="296"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="297"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="298" refid="classGecode_1_1Set_1_1EmptyView_1a259fa797bacdb52a10d9d60508cc534d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a259fa797bacdb52a10d9d60508cc534d" kindref="member">EmptyView::cardMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="299"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="300"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="301" refid="classGecode_1_1Set_1_1EmptyView_1a2b4be915ce410a3375bfa9c88f5cf5ce" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a2b4be915ce410a3375bfa9c88f5cf5ce" kindref="member">EmptyView::cardMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="302"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="303"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="304" refid="classGecode_1_1Set_1_1EmptyView_1ae494fcee6fec11a8365da9cd98b6abe0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1ae494fcee6fec11a8365da9cd98b6abe0" kindref="member">EmptyView::lubMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="305"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="306"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="307" refid="classGecode_1_1Set_1_1EmptyView_1a01e21f142a67fd667bc1166e89ca9c2d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a01e21f142a67fd667bc1166e89ca9c2d" kindref="member">EmptyView::lubMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="308"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="309"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="310" refid="classGecode_1_1Set_1_1EmptyView_1a0695d237b2602b3407e902bf86afa090" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a0695d237b2602b3407e902bf86afa090" kindref="member">EmptyView::glbMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="311"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="312"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="313" refid="classGecode_1_1Set_1_1EmptyView_1afe3a5fd27f2d90c889981f50e5d1c2ac" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1afe3a5fd27f2d90c889981f50e5d1c2ac" kindref="member">EmptyView::glbMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="314"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="315"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="316" refid="classGecode_1_1Set_1_1EmptyView_1aeecedb3db45aaed852d732f2c63ec0c3" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a259fa797bacdb52a10d9d60508cc534d" kindref="member">EmptyView::cardMin</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c)<sp/>{</highlight></codeline>
|
|
<codeline lineno="317"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>c==0<sp/>?<sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="318"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="319"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="320"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="321" refid="classGecode_1_1Set_1_1EmptyView_1af32aae687237fd1e34e484f85eb08b46" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a2b4be915ce410a3375bfa9c88f5cf5ce" kindref="member">EmptyView::cardMax</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
|
<codeline lineno="322"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="323"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="324"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="325"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="326"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="327" refid="classGecode_1_1Set_1_1EmptyView_1a821d156ca2cd26cc19cd084e0acc0907" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a60da50029b6d5cce05c18189b752164a" kindref="member">EmptyView::include</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
|
<codeline lineno="328"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="329"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="330"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="331"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="332" refid="classGecode_1_1Set_1_1EmptyView_1a6a8db640c7cd4f4b526b285abe6ea8a5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1aee40f1355795063fb287af7917bde02c" kindref="member">EmptyView::exclude</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;<sp/>}</highlight></codeline>
|
|
<codeline lineno="333"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="334"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="335" refid="classGecode_1_1Set_1_1EmptyView_1aa71f8e4cb7754bd3e0e82a1c68a570b8" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1aa5e3070d30c515f89c7da04d7658e5dc" kindref="member">EmptyView::intersect</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;<sp/>}</highlight></codeline>
|
|
<codeline lineno="336"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="337"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="338" refid="classGecode_1_1Set_1_1EmptyView_1aa5e3070d30c515f89c7da04d7658e5dc" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1aa5e3070d30c515f89c7da04d7658e5dc" kindref="member">EmptyView::intersect</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;<sp/>}</highlight></codeline>
|
|
<codeline lineno="339"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="340"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="341" refid="classGecode_1_1Set_1_1EmptyView_1a60da50029b6d5cce05c18189b752164a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a60da50029b6d5cce05c18189b752164a" kindref="member">EmptyView::include</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
|
<codeline lineno="342"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_FAILED;<sp/>}</highlight></codeline>
|
|
<codeline lineno="343"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="344"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="345" refid="classGecode_1_1Set_1_1EmptyView_1aee40f1355795063fb287af7917bde02c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1aee40f1355795063fb287af7917bde02c" kindref="member">EmptyView::exclude</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;<sp/>}</highlight></codeline>
|
|
<codeline lineno="346"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="347"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="348" refid="classGecode_1_1Set_1_1EmptyView_1a9bd1b737a7af310e72de4a138e3003bd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a9bd1b737a7af310e72de4a138e3003bd" kindref="member">EmptyView::excludeI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&)<sp/>{</highlight></codeline>
|
|
<codeline lineno="349"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="350"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="351"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="352"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="353" refid="classGecode_1_1Set_1_1EmptyView_1a0b3d75145c3544f5ffb69b41e4179c7e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a0b3d75145c3544f5ffb69b41e4179c7e" kindref="member">EmptyView::includeI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="354"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>i()<sp/>?<sp/>ME_SET_FAILED<sp/>:<sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="355"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="356"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="357"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="358" refid="classGecode_1_1Set_1_1EmptyView_1adba1fecbfdd18a205e7860276eda505b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1adba1fecbfdd18a205e7860276eda505b" kindref="member">EmptyView::intersectI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&)<sp/>{</highlight></codeline>
|
|
<codeline lineno="359"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="360"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="361"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="362"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="363"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Delta<sp/>information<sp/>for<sp/>advisors</highlight></codeline>
|
|
<codeline lineno="364"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="365"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="366"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="367" refid="classGecode_1_1Set_1_1EmptyView_1a40afaa608e186f561044302365e4d54d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a0695d237b2602b3407e902bf86afa090" kindref="member">EmptyView::glbMin</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="368"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="369"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="370"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="371"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="372"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="373" refid="classGecode_1_1Set_1_1EmptyView_1aca51cc47cd57d98d6a172484345c9d32" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1afe3a5fd27f2d90c889981f50e5d1c2ac" kindref="member">EmptyView::glbMax</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="374"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="375"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="376"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="377"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="378"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="379" refid="classGecode_1_1Set_1_1EmptyView_1afbb7f6fc85c8fbe2b19ff10b1c844607" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1afbb7f6fc85c8fbe2b19ff10b1c844607" kindref="member">EmptyView::glbAny</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="380"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="381"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="382"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="383"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="384"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="385" refid="classGecode_1_1Set_1_1EmptyView_1ac7b395dbe8da310828af370783a79ec8" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1ae494fcee6fec11a8365da9cd98b6abe0" kindref="member">EmptyView::lubMin</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="386"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="387"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="388"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="389"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="390"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="391" refid="classGecode_1_1Set_1_1EmptyView_1a3c6801c84e9e82928b047908ab35e37e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a01e21f142a67fd667bc1166e89ca9c2d" kindref="member">EmptyView::lubMax</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="392"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="393"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="394"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="395"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="396"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="397" refid="classGecode_1_1Set_1_1EmptyView_1a490e406bf5393d1fe49888c42d3fa878" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1EmptyView_1a490e406bf5393d1fe49888c42d3fa878" kindref="member">EmptyView::lubAny</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="398"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="399"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="400"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="401"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="402"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//<sp/>Constant<sp/>universe<sp/>variable</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="403"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="404"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="405" refid="classGecode_1_1Set_1_1UniverseView_1ab29eae6f4894a684daceb57393f7b906" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1ab29eae6f4894a684daceb57393f7b906" kindref="member">UniverseView::UniverseView</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="406"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="407"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="408" refid="classGecode_1_1Set_1_1UniverseView_1aa9556f454c9fc5705b6d177272da8dad" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1aa9556f454c9fc5705b6d177272da8dad" kindref="member">UniverseView::glbSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Set::Limits::card</ref>;<sp/>}</highlight></codeline>
|
|
<codeline lineno="409"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="410"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="411" refid="classGecode_1_1Set_1_1UniverseView_1ae2929e73c81dc13a15a9d0778e578ddb" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1ae2929e73c81dc13a15a9d0778e578ddb" kindref="member">UniverseView::lubSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Set::Limits::card</ref>;<sp/>}</highlight></codeline>
|
|
<codeline lineno="412"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="413"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="414" refid="classGecode_1_1Set_1_1UniverseView_1a91283e1926c72c43b916f5579b95e44c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a91283e1926c72c43b916f5579b95e44c" kindref="member">UniverseView::unknownSize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
|
|
<codeline lineno="415"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="416"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="417" refid="classGecode_1_1Set_1_1UniverseView_1ae4c7d832e2f1bcaccd1ddb2cef1813ac" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1ae4c7d832e2f1bcaccd1ddb2cef1813ac" kindref="member">UniverseView::contains</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;<sp/>}</highlight></codeline>
|
|
<codeline lineno="418"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="419"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="420" refid="classGecode_1_1Set_1_1UniverseView_1a196b4d3485c92b9f4286f434e4bcc3fd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a196b4d3485c92b9f4286f434e4bcc3fd" kindref="member">UniverseView::notContains</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;<sp/>}</highlight></codeline>
|
|
<codeline lineno="421"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="422"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="423" refid="classGecode_1_1Set_1_1UniverseView_1a551dc6a306ce0ec8fce698377570e9c0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a551dc6a306ce0ec8fce698377570e9c0" kindref="member">UniverseView::cardMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Set::Limits::card</ref>;<sp/>}</highlight></codeline>
|
|
<codeline lineno="424"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="425"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="426" refid="classGecode_1_1Set_1_1UniverseView_1a44b92879623753ca6ebce9f5c023de08" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a44b92879623753ca6ebce9f5c023de08" kindref="member">UniverseView::cardMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Limits::card</ref>;<sp/>}</highlight></codeline>
|
|
<codeline lineno="427"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="428"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="429" refid="classGecode_1_1Set_1_1UniverseView_1af34684f8462cf1ef63d8065d6dab7b8a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1af34684f8462cf1ef63d8065d6dab7b8a" kindref="member">UniverseView::lubMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Limits::card</ref>;<sp/>}</highlight></codeline>
|
|
<codeline lineno="430"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="431"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="432" refid="classGecode_1_1Set_1_1UniverseView_1addaabaaf6d7dccdbe8ca2c9b572bc149" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1addaabaaf6d7dccdbe8ca2c9b572bc149" kindref="member">UniverseView::lubMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Limits::card</ref>;<sp/>}</highlight></codeline>
|
|
<codeline lineno="433"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="434"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="435" refid="classGecode_1_1Set_1_1UniverseView_1a9b221c96b5c53c9e4507d965361b26bd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a9b221c96b5c53c9e4507d965361b26bd" kindref="member">UniverseView::glbMin</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Limits::card</ref>;<sp/>}</highlight></codeline>
|
|
<codeline lineno="436"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="437"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="438" refid="classGecode_1_1Set_1_1UniverseView_1a95dffb2ae5dfeb416979deefec7d4499" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a95dffb2ae5dfeb416979deefec7d4499" kindref="member">UniverseView::glbMax</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Limits::card</ref>;<sp/>}</highlight></codeline>
|
|
<codeline lineno="439"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="440"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="441" refid="classGecode_1_1Set_1_1UniverseView_1ac27478f6e56ea1f02bc3c80368804d5b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a551dc6a306ce0ec8fce698377570e9c0" kindref="member">UniverseView::cardMin</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c)<sp/>{</highlight></codeline>
|
|
<codeline lineno="442"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>c><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Limits::card</ref><sp/>?<sp/>ME_SET_FAILED<sp/>:<sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="443"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="444"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="445"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="446" refid="classGecode_1_1Set_1_1UniverseView_1a12e5caf1f0fef79fa719e407999e122c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a44b92879623753ca6ebce9f5c023de08" kindref="member">UniverseView::cardMax</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c)<sp/>{</highlight></codeline>
|
|
<codeline lineno="447"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>c>=<ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Limits::card</ref><sp/>?<sp/>ME_SET_NONE<sp/>:<sp/>ME_SET_FAILED;</highlight></codeline>
|
|
<codeline lineno="448"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="449"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="450"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="451"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="452" refid="classGecode_1_1Set_1_1UniverseView_1ade2bb7d12dd558b1e2c23e39fa02c7a8" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1ada35273e41b0eeeb0c0db289cf2cb8df" kindref="member">UniverseView::include</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
|
<codeline lineno="453"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="454"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="455"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="456"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="457" refid="classGecode_1_1Set_1_1UniverseView_1a37236d7681102fdd203449b1798182e2" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a9368d65f4be79b169a1a6beb44232825" kindref="member">UniverseView::exclude</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_FAILED;<sp/>}</highlight></codeline>
|
|
<codeline lineno="458"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="459"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="460" refid="classGecode_1_1Set_1_1UniverseView_1a147bf16b1430fa200e8d7cab683a3378" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a8bae1cd25496b428499b4df59bcccdf6" kindref="member">UniverseView::intersect</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_FAILED;<sp/>}</highlight></codeline>
|
|
<codeline lineno="461"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="462"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="463" refid="classGecode_1_1Set_1_1UniverseView_1ada35273e41b0eeeb0c0db289cf2cb8df" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1ada35273e41b0eeeb0c0db289cf2cb8df" kindref="member">UniverseView::include</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;<sp/>}</highlight></codeline>
|
|
<codeline lineno="464"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="465"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="466" refid="classGecode_1_1Set_1_1UniverseView_1a9368d65f4be79b169a1a6beb44232825" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a9368d65f4be79b169a1a6beb44232825" kindref="member">UniverseView::exclude</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_FAILED;<sp/>}</highlight></codeline>
|
|
<codeline lineno="467"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="468"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="469" refid="classGecode_1_1Set_1_1UniverseView_1a08083c4d4d6bebdb913664866dadcc2c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a08083c4d4d6bebdb913664866dadcc2c" kindref="member">UniverseView::excludeI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="470"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>i()<sp/>?<sp/>ME_SET_FAILED<sp/>:<sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="471"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="472"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="473"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="474"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a3ed2e23dbcda2545c1da0e972cda8e0b" kindref="member">UniverseView::includeI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&)<sp/>{</highlight></codeline>
|
|
<codeline lineno="475"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="476"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="477"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="478"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="479" refid="classGecode_1_1Set_1_1UniverseView_1a8bae1cd25496b428499b4df59bcccdf6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a8bae1cd25496b428499b4df59bcccdf6" kindref="member">UniverseView::intersect</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j)<sp/>{</highlight></codeline>
|
|
<codeline lineno="480"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(i><ref refid="namespaceGecode_1_1Set_1_1Limits_1a768af29a2cbf9eec75b4376b325f6cc4" kindref="member">Limits::min</ref><sp/>||</highlight></codeline>
|
|
<codeline lineno="481"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>j<<ref refid="namespaceGecode_1_1Set_1_1Limits_1aa0057c6b80521aaf8485343580d0eed5" kindref="member">Limits::max</ref>)<sp/>?<sp/>ME_SET_FAILED<sp/>:<sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="482"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="483"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="484"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I><sp/>forceinline<sp/><ref refid="group__TaskVarMEPC_1gafa985ae465bd12df08e29252cdb7519b" kindref="member">ModEvent</ref></highlight></codeline>
|
|
<codeline lineno="485"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a4ffa64f4c2f25233d3a5199fc097c0b2" kindref="member">UniverseView::intersectI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&,I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="486"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(i()<sp/>&&</highlight></codeline>
|
|
<codeline lineno="487"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(i.min()><ref refid="namespaceGecode_1_1Set_1_1Limits_1a768af29a2cbf9eec75b4376b325f6cc4" kindref="member">Limits::min</ref><sp/>||</highlight></codeline>
|
|
<codeline lineno="488"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>i.max()<<ref refid="namespaceGecode_1_1Set_1_1Limits_1aa0057c6b80521aaf8485343580d0eed5" kindref="member">Limits::max</ref>)<sp/>)<sp/>?</highlight></codeline>
|
|
<codeline lineno="489"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ME_SET_FAILED<sp/>:<sp/>ME_SET_NONE;</highlight></codeline>
|
|
<codeline lineno="490"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="491"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="492"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="493"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="494"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Delta<sp/>information<sp/>for<sp/>advisors</highlight></codeline>
|
|
<codeline lineno="495"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="496"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="497"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="498" refid="classGecode_1_1Set_1_1UniverseView_1aa9dcf490820a83d4236188cb0b19872d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a9b221c96b5c53c9e4507d965361b26bd" kindref="member">UniverseView::glbMin</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="499"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="500"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="501"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="502"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="503"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="504" refid="classGecode_1_1Set_1_1UniverseView_1a5a5bee1acbe302c23bfb7a45f97bb340" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a95dffb2ae5dfeb416979deefec7d4499" kindref="member">UniverseView::glbMax</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="505"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="506"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="507"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="508"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="509"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="510" refid="classGecode_1_1Set_1_1UniverseView_1a502e6fc32ab94b35d80db95f05bad7bb" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a502e6fc32ab94b35d80db95f05bad7bb" kindref="member">UniverseView::glbAny</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="511"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="512"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="513"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="514"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="515"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="516" refid="classGecode_1_1Set_1_1UniverseView_1adc406976d0dd2b2cda0eb32ac361723b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1af34684f8462cf1ef63d8065d6dab7b8a" kindref="member">UniverseView::lubMin</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="517"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="518"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="519"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="520"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="521"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="522" refid="classGecode_1_1Set_1_1UniverseView_1a47280c56c8f76e88231632373a2126fb" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1addaabaaf6d7dccdbe8ca2c9b572bc149" kindref="member">UniverseView::lubMax</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="523"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="524"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
<codeline lineno="525"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="526"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="527"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="528" refid="classGecode_1_1Set_1_1UniverseView_1a3ba95e1e003249a0598be9eea3b0ac57" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1UniverseView_1a3ba95e1e003249a0598be9eea3b0ac57" kindref="member">UniverseView::lubAny</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Delta" kindref="compound">Delta</ref>&)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="529"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
|
|
<codeline lineno="530"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="531"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="532"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="533"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="534"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Iterators</highlight></codeline>
|
|
<codeline lineno="535"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="536"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="537"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="542"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><></highlight></codeline>
|
|
<codeline lineno="543" refid="classGecode_1_1Set_1_1LubRanges_3_01EmptyView_01_4" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Set_1_1LubRanges" kindref="compound">LubRanges</ref><<ref refid="classGecode_1_1Set_1_1EmptyView" kindref="compound">EmptyView</ref>><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Empty" kindref="compound">Iter::Ranges::Empty</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="544"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="546"></codeline>
|
|
<codeline lineno="547"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_1a6083dba6e8813bcb693f1885725ae0a9" kindref="member">LubRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="550" refid="classGecode_1_1Set_1_1LubRanges_3_01EmptyView_01_4_1a2b429b75b56935b1ab6dae6f2cebdf72" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_3_01EmptyView_01_4_1a2b429b75b56935b1ab6dae6f2cebdf72" kindref="member">LubRanges</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1EmptyView" kindref="compound">EmptyView</ref>&<sp/>x)<sp/>{<sp/>(void)x;<sp/>}</highlight></codeline>
|
|
<codeline lineno="552" refid="classGecode_1_1Set_1_1LubRanges_3_01EmptyView_01_4_1a9fed4b73979a8bc2bfdf0a20f1ece1ed" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_3_01EmptyView_01_4_1a9fed4b73979a8bc2bfdf0a20f1ece1ed" kindref="member">init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1EmptyView" kindref="compound">EmptyView</ref>&<sp/>x)<sp/>{<sp/>(void)x;<sp/>}</highlight></codeline>
|
|
<codeline lineno="554"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="555"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="560"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><></highlight></codeline>
|
|
<codeline lineno="561" refid="classGecode_1_1Set_1_1GlbRanges_3_01EmptyView_01_4" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Set_1_1GlbRanges" kindref="compound">GlbRanges</ref><<ref refid="classGecode_1_1Set_1_1EmptyView" kindref="compound">EmptyView</ref>><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Empty" kindref="compound">Iter::Ranges::Empty</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="562"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="564"></codeline>
|
|
<codeline lineno="565"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_1af0c7f91066fe8cfd88501966992b3343" kindref="member">GlbRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="568" refid="classGecode_1_1Set_1_1GlbRanges_3_01EmptyView_01_4_1a24a9eac08ad8868b94d74afb105f75db" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_3_01EmptyView_01_4_1a24a9eac08ad8868b94d74afb105f75db" kindref="member">GlbRanges</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1EmptyView" kindref="compound">EmptyView</ref>&<sp/>x)<sp/>{<sp/>(void)x;<sp/>}</highlight></codeline>
|
|
<codeline lineno="570" refid="classGecode_1_1Set_1_1GlbRanges_3_01EmptyView_01_4_1a5e4a44615c0329824452aa34cff2ce44" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_3_01EmptyView_01_4_1a5e4a44615c0329824452aa34cff2ce44" kindref="member">init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1EmptyView" kindref="compound">EmptyView</ref>&<sp/>x)<sp/>{<sp/>(void)x;<sp/>}</highlight></codeline>
|
|
<codeline lineno="572"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="573"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="578"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><></highlight></codeline>
|
|
<codeline lineno="579" refid="classGecode_1_1Set_1_1LubRanges_3_01UniverseView_01_4" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Set_1_1LubRanges" kindref="compound">LubRanges</ref><<ref refid="classGecode_1_1Set_1_1UniverseView" kindref="compound">UniverseView</ref>><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Singleton" kindref="compound">Iter::Ranges::Singleton</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="580"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="582"></codeline>
|
|
<codeline lineno="583"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_1a6083dba6e8813bcb693f1885725ae0a9" kindref="member">LubRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight></codeline>
|
|
<codeline lineno="585"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Singleton" kindref="compound">Iter::Ranges::Singleton</ref>(<ref refid="namespaceGecode_1_1Set_1_1Limits_1a768af29a2cbf9eec75b4376b325f6cc4" kindref="member">Limits::min</ref>,</highlight></codeline>
|
|
<codeline lineno="586"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1aa0057c6b80521aaf8485343580d0eed5" kindref="member">Limits::max</ref>)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="588" refid="classGecode_1_1Set_1_1LubRanges_3_01UniverseView_01_4_1adcd2f4b8e44f13394a902f3c6c0d0e93" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_3_01UniverseView_01_4_1adcd2f4b8e44f13394a902f3c6c0d0e93" kindref="member">LubRanges</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1UniverseView" kindref="compound">UniverseView</ref>&<sp/>x)</highlight></codeline>
|
|
<codeline lineno="589"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>Iter::Ranges::Singleton(Limits::<ref refid="classGecode_1_1Set_1_1LubRanges_1a477d11de91d1533d86b065ab1ae285f2" kindref="member">min</ref>,</highlight></codeline>
|
|
<codeline lineno="590"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Limits::<ref refid="classGecode_1_1Set_1_1LubRanges_1ab611285a985a7fd844c8ec6b26dcb053" kindref="member">max</ref>)<sp/>{</highlight></codeline>
|
|
<codeline lineno="591"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(void)x;</highlight></codeline>
|
|
<codeline lineno="592"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="594" refid="classGecode_1_1Set_1_1LubRanges_3_01UniverseView_01_4_1ab40d87b5524a95b4cfd04ce01ff34d5a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_3_01UniverseView_01_4_1ab40d87b5524a95b4cfd04ce01ff34d5a" kindref="member">init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1UniverseView" kindref="compound">UniverseView</ref>&<sp/>x)<sp/>{<sp/>(void)x;<sp/>}</highlight></codeline>
|
|
<codeline lineno="596"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="597"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="602"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><></highlight></codeline>
|
|
<codeline lineno="603" refid="classGecode_1_1Set_1_1GlbRanges_3_01UniverseView_01_4" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Set_1_1GlbRanges" kindref="compound">GlbRanges</ref><<ref refid="classGecode_1_1Set_1_1UniverseView" kindref="compound">UniverseView</ref>><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Singleton" kindref="compound">Iter::Ranges::Singleton</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="604"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="606"></codeline>
|
|
<codeline lineno="607"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_1af0c7f91066fe8cfd88501966992b3343" kindref="member">GlbRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight></codeline>
|
|
<codeline lineno="609"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Singleton" kindref="compound">Iter::Ranges::Singleton</ref>(<ref refid="namespaceGecode_1_1Set_1_1Limits_1a768af29a2cbf9eec75b4376b325f6cc4" kindref="member">Limits::min</ref>,</highlight></codeline>
|
|
<codeline lineno="610"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1aa0057c6b80521aaf8485343580d0eed5" kindref="member">Limits::max</ref>)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="612" refid="classGecode_1_1Set_1_1GlbRanges_3_01UniverseView_01_4_1a3b452304dcbf84e3ef9e0b2ad783210b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_3_01UniverseView_01_4_1a3b452304dcbf84e3ef9e0b2ad783210b" kindref="member">GlbRanges</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1UniverseView" kindref="compound">UniverseView</ref>&<sp/>x)</highlight></codeline>
|
|
<codeline lineno="613"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>Iter::Ranges::Singleton(Limits::<ref refid="classGecode_1_1Set_1_1GlbRanges_1ae636e7329cca394ccb4380ec9bf7889f" kindref="member">min</ref>,</highlight></codeline>
|
|
<codeline lineno="614"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Limits::<ref refid="classGecode_1_1Set_1_1GlbRanges_1a34b4975643d2d0534a0525ebc01a03cf" kindref="member">max</ref>)<sp/>{</highlight></codeline>
|
|
<codeline lineno="615"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>(void)x;</highlight></codeline>
|
|
<codeline lineno="616"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="618" refid="classGecode_1_1Set_1_1GlbRanges_3_01UniverseView_01_4_1a57c0fded92e6ec9d98d7ba1bc3f557f4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_3_01UniverseView_01_4_1a57c0fded92e6ec9d98d7ba1bc3f557f4" kindref="member">init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1UniverseView" kindref="compound">UniverseView</ref>&<sp/>x)<sp/>{<sp/>(void)x;<sp/>}</highlight></codeline>
|
|
<codeline lineno="620"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="621"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="622"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="627"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><></highlight></codeline>
|
|
<codeline lineno="628" refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Set_1_1LubRanges" kindref="compound">LubRanges</ref><<ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>><sp/>{</highlight></codeline>
|
|
<codeline lineno="629"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="630"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1ArrayRanges" kindref="compound">ArrayRanges</ref><sp/>ar;</highlight></codeline>
|
|
<codeline lineno="631"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="633"></codeline>
|
|
<codeline lineno="634"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_1a6083dba6e8813bcb693f1885725ae0a9" kindref="member">LubRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="637" refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1a70ebe329e080fa694ebc6241cd425fda" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1a70ebe329e080fa694ebc6241cd425fda" kindref="member">LubRanges</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>x)<sp/>:<sp/>ar(x.ranges,x.<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="639" refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1aabfd706cb0f40b83100966b512de8d6e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1aabfd706cb0f40b83100966b512de8d6e" kindref="member">init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>x)<sp/>{</highlight></codeline>
|
|
<codeline lineno="640"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>ar.init(x.ranges,x.size);</highlight></codeline>
|
|
<codeline lineno="641"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="643"></codeline>
|
|
<codeline lineno="645"></codeline>
|
|
<codeline lineno="646"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_1acc9284aa4170296775d1a307bc2cf396" kindref="member">operator ()</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ar();<sp/>}</highlight></codeline>
|
|
<codeline lineno="649" refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1a9173b58790b62f0660a1ed89f99534fc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_1a9c0bfc0184d7392863563733f590e23b" kindref="member">operator ++</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{<sp/>++ar;<sp/>}</highlight></codeline>
|
|
<codeline lineno="651"></codeline>
|
|
<codeline lineno="653"></codeline>
|
|
<codeline lineno="654"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_1a477d11de91d1533d86b065ab1ae285f2" kindref="member">min</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ar.min();<sp/>}</highlight></codeline>
|
|
<codeline lineno="657" refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1a726da7b881a0d503ca88e59d08d033b0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1a726da7b881a0d503ca88e59d08d033b0" kindref="member">max</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ar.max();<sp/>}</highlight></codeline>
|
|
<codeline lineno="659" refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1a1de1d0416de4ca5df2b197ce24a4ab94" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_3_01ConstSetView_01_4_1a1de1d0416de4ca5df2b197ce24a4ab94" kindref="member">width</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ar.width();<sp/>}</highlight></codeline>
|
|
<codeline lineno="661"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="662"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="667"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><></highlight></codeline>
|
|
<codeline lineno="668" refid="classGecode_1_1Set_1_1GlbRanges_3_01ConstSetView_01_4" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Set_1_1GlbRanges" kindref="compound">GlbRanges</ref><<ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1LubRanges" kindref="compound">LubRanges</ref><ConstSetView><sp/>{</highlight></codeline>
|
|
<codeline lineno="669"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="671"></codeline>
|
|
<codeline lineno="672"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_1af0c7f91066fe8cfd88501966992b3343" kindref="member">GlbRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="675" refid="classGecode_1_1Set_1_1GlbRanges_3_01ConstSetView_01_4_1a4503298212324a496c332d48119dbf44" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_3_01ConstSetView_01_4_1a4503298212324a496c332d48119dbf44" kindref="member">GlbRanges</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>x)<sp/>:<sp/><ref refid="classGecode_1_1Set_1_1LubRanges" kindref="compound">LubRanges</ref><<ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>>(x)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="677" refid="classGecode_1_1Set_1_1GlbRanges_3_01ConstSetView_01_4_1a0ab2c41b7e2e1b47efa1a06ae9f4b90c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1GlbRanges_3_01ConstSetView_01_4_1a0ab2c41b7e2e1b47efa1a06ae9f4b90c" kindref="member">init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>x)<sp/>{</highlight></codeline>
|
|
<codeline lineno="678"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1LubRanges_1a613882fc8749ed95bf7843ce24bbb187" kindref="member">LubRanges<ConstSetView>::init</ref>(x);</highlight></codeline>
|
|
<codeline lineno="679"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="681"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="682"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="683"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="684"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Testing</highlight></codeline>
|
|
<codeline lineno="685"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="686"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="687"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="688" refid="classGecode_1_1Set_1_1ConstSetView_1a227c7d4aa341a10ebdc9905f48d73a5a" refkind="member"><highlight class="normal"><sp/><sp/>same(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>y)<sp/>{</highlight></codeline>
|
|
<codeline lineno="689"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((x.size<sp/>!=<sp/>y.size)<sp/>||<sp/>(x.domSize<sp/>!=<sp/>y.domSize))</highlight></codeline>
|
|
<codeline lineno="690"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="691"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.size;<sp/>i--;<sp/>)</highlight></codeline>
|
|
<codeline lineno="692"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.ranges[2*i]<sp/><sp/><sp/>!=<sp/>y.ranges[2*i]<sp/>||</highlight></codeline>
|
|
<codeline lineno="693"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x.ranges[2*i+1]<sp/>!=<sp/>y.ranges[2*i+1])</highlight></codeline>
|
|
<codeline lineno="694"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="695"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="696"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="697"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="698" refid="classGecode_1_1Set_1_1ConstSetView_1aebb2b28f770043349d8208b380674309" refkind="member"><highlight class="normal"><sp/><sp/>before(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>x,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1ConstSetView" kindref="compound">ConstSetView</ref>&<sp/>y)<sp/>{</highlight></codeline>
|
|
<codeline lineno="699"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.size<sp/><<sp/>y.size)</highlight></codeline>
|
|
<codeline lineno="700"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="701"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.domSize<sp/><<sp/>y.domSize)</highlight></codeline>
|
|
<codeline lineno="702"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="703"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.size;<sp/>i--;<sp/>)</highlight></codeline>
|
|
<codeline lineno="704"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.ranges[2*i]<sp/><sp/><sp/><<sp/>y.ranges[2*i]<sp/>||</highlight></codeline>
|
|
<codeline lineno="705"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x.ranges[2*i+1]<sp/><<sp/>y.ranges[2*i+1])</highlight></codeline>
|
|
<codeline lineno="706"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="707"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="708"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="709"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="710"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="711"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="712" refid="classGecode_1_1Set_1_1EmptyView_1a7778f782d4edd37c77d119b9bb02b6ae" refkind="member"><highlight class="normal"><sp/><sp/>same(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1EmptyView" kindref="compound">EmptyView</ref>&,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1EmptyView" kindref="compound">EmptyView</ref>&)<sp/>{</highlight></codeline>
|
|
<codeline lineno="713"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="714"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="715"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="716" refid="classGecode_1_1Set_1_1UniverseView_1a0aab167fe8ec7ebf6bb9b1c7c2c28c81" refkind="member"><highlight class="normal"><sp/><sp/>same(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1UniverseView" kindref="compound">UniverseView</ref>&,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1UniverseView" kindref="compound">UniverseView</ref>&)<sp/>{</highlight></codeline>
|
|
<codeline lineno="717"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="718"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="719"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="720"><highlight class="normal">}}</highlight></codeline>
|
|
<codeline lineno="721"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="722"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>set-var</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="723"><highlight class="normal"></highlight></codeline>
|
|
</programlisting>
|
|
<location file="/usr/include/gecode/set/view/const.hpp"/>
|
|
</compounddef>
|
|
</doxygen>
|