581 lines
96 KiB
XML
581 lines
96 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="integerset_8hpp" kind="file">
|
|
<compoundname>integerset.hpp</compoundname>
|
|
<includedby refid="set_2var-imp_8hpp" local="no">/usr/include/gecode/set/var-imp.hpp</includedby>
|
|
<invincdepgraph>
|
|
<node id="31676">
|
|
<label>/usr/include/gecode/set/channel.hh</label>
|
|
<link refid="set_2channel_8hh_source"/>
|
|
</node>
|
|
<node id="31688">
|
|
<label>/usr/include/gecode/set/rel.hh</label>
|
|
<link refid="set_2rel_8hh_source"/>
|
|
<childnode refid="31675" relation="include">
|
|
</childnode>
|
|
<childnode refid="31679" relation="include">
|
|
</childnode>
|
|
<childnode refid="31686" relation="include">
|
|
</childnode>
|
|
<childnode refid="31687" relation="include">
|
|
</childnode>
|
|
<childnode refid="31689" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31681">
|
|
<label>/usr/include/gecode/set/int.hh</label>
|
|
<link refid="set_2int_8hh_source"/>
|
|
</node>
|
|
<node id="31674">
|
|
<label>/usr/include/gecode/set/branch.hh</label>
|
|
<link refid="set_2branch_8hh_source"/>
|
|
</node>
|
|
<node id="31679">
|
|
<label>/usr/include/gecode/set/element.hh</label>
|
|
<link refid="set_2element_8hh_source"/>
|
|
</node>
|
|
<node id="31678">
|
|
<label>/usr/include/gecode/set/distinct.hh</label>
|
|
<link refid="set_2distinct_8hh_source"/>
|
|
</node>
|
|
<node id="31671">
|
|
<label>/usr/include/gecode/set/var-imp/integerset.hpp</label>
|
|
<link refid="integerset.hpp"/>
|
|
<childnode refid="31672" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31687">
|
|
<label>/usr/include/gecode/set/rel-op.hh</label>
|
|
<link refid="rel-op_8hh_source"/>
|
|
<childnode refid="31679" relation="include">
|
|
</childnode>
|
|
<childnode refid="31686" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31684">
|
|
<label>/usr/include/gecode/set/ldsb.hh</label>
|
|
<link refid="set_2ldsb_8hh_source"/>
|
|
</node>
|
|
<node id="31672">
|
|
<label>/usr/include/gecode/set/var-imp.hpp</label>
|
|
<link refid="set_2var-imp_8hpp_source"/>
|
|
<childnode refid="31673" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31675">
|
|
<label>/usr/include/gecode/set/channel/sorted.hpp</label>
|
|
<link refid="sorted_8hpp_source"/>
|
|
<childnode refid="31676" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31682">
|
|
<label>/usr/include/gecode/set/int/minmax.hpp</label>
|
|
<link refid="minmax_8hpp_source"/>
|
|
<childnode refid="31681" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31685">
|
|
<label>/usr/include/gecode/set/precede.hh</label>
|
|
<link refid="set_2precede_8hh_source"/>
|
|
</node>
|
|
<node id="31683">
|
|
<label>/usr/include/gecode/set/int/weights.hpp</label>
|
|
<link refid="weights_8hpp_source"/>
|
|
<childnode refid="31681" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31689">
|
|
<label>/usr/include/gecode/set/sequence.hh</label>
|
|
<link refid="set_2sequence_8hh_source"/>
|
|
</node>
|
|
<node id="31680">
|
|
<label>/usr/include/gecode/set/int/card.hpp</label>
|
|
<link refid="card_8hpp_source"/>
|
|
<childnode refid="31681" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31673">
|
|
<label>/usr/include/gecode/set.hh</label>
|
|
<link refid="set_8hh_source"/>
|
|
<childnode refid="31674" relation="include">
|
|
</childnode>
|
|
<childnode refid="31675" relation="include">
|
|
</childnode>
|
|
<childnode refid="31676" relation="include">
|
|
</childnode>
|
|
<childnode refid="31677" relation="include">
|
|
</childnode>
|
|
<childnode refid="31678" relation="include">
|
|
</childnode>
|
|
<childnode refid="31679" relation="include">
|
|
</childnode>
|
|
<childnode refid="31680" relation="include">
|
|
</childnode>
|
|
<childnode refid="31682" relation="include">
|
|
</childnode>
|
|
<childnode refid="31683" relation="include">
|
|
</childnode>
|
|
<childnode refid="31681" relation="include">
|
|
</childnode>
|
|
<childnode refid="31684" relation="include">
|
|
</childnode>
|
|
<childnode refid="31685" relation="include">
|
|
</childnode>
|
|
<childnode refid="31686" relation="include">
|
|
</childnode>
|
|
<childnode refid="31687" relation="include">
|
|
</childnode>
|
|
<childnode refid="31688" relation="include">
|
|
</childnode>
|
|
<childnode refid="31689" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31686">
|
|
<label>/usr/include/gecode/set/rel-op/post.hpp</label>
|
|
<link refid="set_2rel-op_2post_8hpp_source"/>
|
|
<childnode refid="31687" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="31677">
|
|
<label>/usr/include/gecode/set/convex.hh</label>
|
|
<link refid="convex_8hh_source"/>
|
|
</node>
|
|
</invincdepgraph>
|
|
<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/>*<sp/><sp/><sp/><sp/><sp/>Gabor<sp/>Szokoli<sp/><szokoli@gecode.org></highlight></codeline>
|
|
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte<sp/><schulte@gecode.org></highlight></codeline>
|
|
<codeline lineno="7"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
|
|
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Guido<sp/>Tack,<sp/>2004</highlight></codeline>
|
|
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte,<sp/>2004</highlight></codeline>
|
|
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Gabor<sp/>Szokoli,<sp/>2004</highlight></codeline>
|
|
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
|
|
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2011-09-19<sp/>14:02:26<sp/>+0200<sp/>(Mon,<sp/>19<sp/>Sep<sp/>2011)<sp/>$<sp/>by<sp/>$Author:<sp/>schulte<sp/>$</highlight></codeline>
|
|
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>12400<sp/>$</highlight></codeline>
|
|
<codeline lineno="16"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="17"><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="18"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
|
|
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
|
|
<codeline lineno="20"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="21"><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="22"><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="23"><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="24"><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="25"><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="26"><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="27"><highlight class="comment"><sp/>*<sp/><sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
|
|
<codeline lineno="28"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="29"><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="30"><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="31"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="32"><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="33"><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="34"><highlight class="comment"><sp/>*<sp/><sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
|
|
<codeline lineno="35"><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="36"><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="37"><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="38"><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="39"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="40"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="42"><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="43"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="44"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="45"><highlight class="comment"><sp/><sp/><sp/>*<sp/>BndSet</highlight></codeline>
|
|
<codeline lineno="46"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="47"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="48"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="49"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="50" refid="classGecode_1_1Set_1_1BndSet_1a50cfb1606c03ac06cb3249ef96eefc34" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a50cfb1606c03ac06cb3249ef96eefc34" kindref="member">BndSet::BndSet</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>:</highlight></codeline>
|
|
<codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/>first(NULL),<sp/>last(NULL),<sp/>_size(0),<sp/>_card(0)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="52"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="53"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*</highlight></codeline>
|
|
<codeline lineno="54" refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">BndSet::fst</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="55"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>first;</highlight></codeline>
|
|
<codeline lineno="56"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="57"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*</highlight></codeline>
|
|
<codeline lineno="59" refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">BndSet::lst</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="60"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>last;</highlight></codeline>
|
|
<codeline lineno="61"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="62"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="63"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="64" refid="classGecode_1_1Set_1_1BndSet_1a4fd106aef04d3546920c07e0d94024de" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a4fd106aef04d3546920c07e0d94024de" kindref="member">BndSet::dispose</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home)<sp/>{</highlight></codeline>
|
|
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()!=NULL)</highlight></codeline>
|
|
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());</highlight></codeline>
|
|
<codeline lineno="67"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="68"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="69"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="70" refid="classGecode_1_1Set_1_1BndSet_1aba229e4bebf30696535787f7e8d0620f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">BndSet::fst</ref>(<ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>f)<sp/>{</highlight></codeline>
|
|
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/>first<sp/>=<sp/>f;</highlight></codeline>
|
|
<codeline lineno="72"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="73"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="74"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="75" refid="classGecode_1_1Set_1_1BndSet_1a56cd57a91cbc164ec0a711590898e7fd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">BndSet::lst</ref>(<ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>l)<sp/>{</highlight></codeline>
|
|
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/>last<sp/>=<sp/>l;</highlight></codeline>
|
|
<codeline lineno="77"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="78"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="79"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="80" refid="classGecode_1_1Set_1_1BndSet_1aa26e3bfb7c95a8797cc574f5be59c33a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a50cfb1606c03ac06cb3249ef96eefc34" kindref="member">BndSet::BndSet</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mn,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mx)<sp/>{</highlight></codeline>
|
|
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(mn>mx)<sp/>{</highlight></codeline>
|
|
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(NULL);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(NULL);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><sp/>=<sp/>0;</highlight></codeline>
|
|
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
|
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>p<sp/>=</highlight></codeline>
|
|
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>(mn,mx,NULL);</highlight></codeline>
|
|
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(p);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(p);</highlight></codeline>
|
|
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><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">(mx-mn+1);</highlight></codeline>
|
|
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="89"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="90"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="91"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*</highlight></codeline>
|
|
<codeline lineno="92" refid="classGecode_1_1Set_1_1BndSet_1af77054b07e5f11f6e6559adf53b0d628" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1af77054b07e5f11f6e6559adf53b0d628" kindref="member">BndSet::ranges</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="93"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>();</highlight></codeline>
|
|
<codeline lineno="94"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="95"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="96"><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="97" refid="classGecode_1_1Set_1_1BndSet_1a057b3dad3bb84170fe390ddfde1b993b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a057b3dad3bb84170fe390ddfde1b993b" kindref="member">BndSet::size</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="98"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref>;</highlight></codeline>
|
|
<codeline lineno="99"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="100"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="101"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="102" refid="classGecode_1_1Set_1_1BndSet_1ac5a9db35697d947862965086081e59cd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ac5a9db35697d947862965086081e59cd" kindref="member">BndSet::empty</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="103"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref>==0);</highlight></codeline>
|
|
<codeline lineno="104"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="105"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="106"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="107" refid="classGecode_1_1Set_1_1BndSet_1af17f47c5c3582a9bd6fcd792b385bce4" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1af17f47c5c3582a9bd6fcd792b385bce4" kindref="member">BndSet::min</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="108"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()==NULL)</highlight></codeline>
|
|
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ac506e1f8224563cc4090b7465acbe14b" kindref="member">MIN_OF_EMPTY</ref>;</highlight></codeline>
|
|
<codeline lineno="110"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a3716d76502b1ad17b30b0a606a50f691" kindref="member">min</ref>();</highlight></codeline>
|
|
<codeline lineno="112"><highlight class="normal"><sp/><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">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="115" refid="classGecode_1_1Set_1_1BndSet_1a8b6d498312183939e1d007ed614c61a1" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a8b6d498312183939e1d007ed614c61a1" kindref="member">BndSet::max</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="116"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>()==NULL)<sp/></highlight></codeline>
|
|
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a2a0b1c8d9863a9650eda7b1066d85943" kindref="member">MAX_OF_EMPTY</ref>;</highlight></codeline>
|
|
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight></codeline>
|
|
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>()-><ref refid="classGecode_1_1RangeList_1a07b12ffd797419107e6f9a9970a93226" kindref="member">max</ref>();</highlight></codeline>
|
|
<codeline lineno="120"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="121"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="122"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//<sp/>nth<sp/>smallest<sp/>element</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="123"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="124" refid="classGecode_1_1Set_1_1BndSet_1a287a236ac01b493edb81c654562c5998" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a287a236ac01b493edb81c654562c5998" kindref="member">BndSet::minN</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="125"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>c<sp/>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>();<sp/>c<sp/>!=<sp/>NULL;<sp/>c<sp/>=<sp/>c-><ref refid="classGecode_1_1RangeList_1a0b5c08469f5b466226731976452e54a4" kindref="member">next</ref>())<sp/>{</highlight></codeline>
|
|
<codeline lineno="126"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(c->width()<sp/>><sp/>n)</highlight></codeline>
|
|
<codeline lineno="127"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>static_cast<int>(c->min()<sp/>+<sp/>n);</highlight></codeline>
|
|
<codeline lineno="128"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>n<sp/>-=<sp/>c->width();</highlight></codeline>
|
|
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="130"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ac506e1f8224563cc4090b7465acbe14b" kindref="member">MIN_OF_EMPTY</ref>;</highlight></codeline>
|
|
<codeline lineno="131"><highlight class="normal"><sp/><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_1BndSet_1a1929a70d68fc1cdabd40c07152f5a282" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a1929a70d68fc1cdabd40c07152f5a282" kindref="member">BndSet::card</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="135"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a72ac8c078e274e567020e180a6a2310c" kindref="member">_card</ref>;</highlight></codeline>
|
|
<codeline lineno="136"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="137"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="138"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="139" refid="classGecode_1_1Set_1_1BndSet_1af73a7b88485946bd51da2afbabf12745" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a1929a70d68fc1cdabd40c07152f5a282" kindref="member">BndSet::card</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="140"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a72ac8c078e274e567020e180a6a2310c" kindref="member">_card</ref><sp/>=<sp/>c;</highlight></codeline>
|
|
<codeline lineno="141"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="142"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="143"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="144" refid="classGecode_1_1Set_1_1BndSet_1a4d00b2876d4c92e788b50cb927cf3751" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a4d00b2876d4c92e788b50cb927cf3751" kindref="member">BndSet::update</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/><ref refid="classGecode_1_1Set_1_1BndSet" kindref="compound">BndSet</ref>&<sp/>d)<sp/>{</highlight></codeline>
|
|
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(d.<ref refid="classGecode_1_1Set_1_1BndSet_1aba229e4bebf30696535787f7e8d0620f" kindref="member">fst</ref>()<sp/>==<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>())</highlight></codeline>
|
|
<codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()<sp/>!=<sp/>NULL)</highlight></codeline>
|
|
<codeline lineno="148"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());</highlight></codeline>
|
|
<codeline lineno="149"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><sp/>=<sp/>d.<ref refid="classGecode_1_1Set_1_1BndSet_1a057b3dad3bb84170fe390ddfde1b993b" kindref="member">size</ref>();</highlight></codeline>
|
|
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><sp/>==<sp/>0)<sp/>{</highlight></codeline>
|
|
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(NULL);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="153"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="154"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="155"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n=0;</highlight></codeline>
|
|
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>c<sp/>=<sp/>d.<ref refid="classGecode_1_1Set_1_1BndSet_1aba229e4bebf30696535787f7e8d0620f" kindref="member">fst</ref>();<sp/>c<sp/>!=<sp/>NULL;<sp/>c<sp/>=<sp/>c->next())</highlight></codeline>
|
|
<codeline lineno="157"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>n++;</highlight></codeline>
|
|
<codeline lineno="158"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>r<sp/>=<sp/>home.<ref refid="group__FuncMemSpace_1gacf6b71739fd13f46d8d27052d714265e" kindref="member">alloc</ref><<ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>>(n);</highlight></codeline>
|
|
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(r);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(r+n-1);</highlight></codeline>
|
|
<codeline lineno="161"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
|
<codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>c<sp/>=<sp/>d.<ref refid="classGecode_1_1Set_1_1BndSet_1aba229e4bebf30696535787f7e8d0620f" kindref="member">fst</ref>();</highlight></codeline>
|
|
<codeline lineno="164"><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/>i<n;<sp/>i++)<sp/>{</highlight></codeline>
|
|
<codeline lineno="165"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r[i].<ref refid="classGecode_1_1RangeList_1a3716d76502b1ad17b30b0a606a50f691" kindref="member">min</ref>(c-><ref refid="classGecode_1_1RangeList_1a3716d76502b1ad17b30b0a606a50f691" kindref="member">min</ref>());</highlight></codeline>
|
|
<codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r[i].<ref refid="classGecode_1_1RangeList_1a07b12ffd797419107e6f9a9970a93226" kindref="member">max</ref>(c-><ref refid="classGecode_1_1RangeList_1a07b12ffd797419107e6f9a9970a93226" kindref="member">max</ref>());</highlight></codeline>
|
|
<codeline lineno="167"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>r[i].<ref refid="classGecode_1_1RangeList_1a0b5c08469f5b466226731976452e54a4" kindref="member">next</ref>(&r[i+1]);</highlight></codeline>
|
|
<codeline lineno="168"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>c<sp/>=<sp/>c-><ref refid="classGecode_1_1RangeList_1a0b5c08469f5b466226731976452e54a4" kindref="member">next</ref>();</highlight></codeline>
|
|
<codeline lineno="169"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="170"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="171"><highlight class="normal"><sp/><sp/><sp/><sp/>r[n-1].<ref refid="classGecode_1_1RangeList_1a0b5c08469f5b466226731976452e54a4" kindref="member">next</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="172"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="173"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="174"><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/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="175"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a21fab9ef2a20ebaa3230c1d59a641059" kindref="member">BndSet::overwrite</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/>I&<sp/>ri)<sp/>{</highlight></codeline>
|
|
<codeline lineno="176"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Is<sp/>new<sp/>domain<sp/>empty?</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="177"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!ri())<sp/>{</highlight></codeline>
|
|
<codeline lineno="178"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Was<sp/>it<sp/>empty?</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="179"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()==NULL)</highlight></codeline>
|
|
<codeline lineno="180"><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="181"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());</highlight></codeline>
|
|
<codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref>=0;<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(NULL);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="183"><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="184"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="185"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="186"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>f<sp/>=</highlight></codeline>
|
|
<codeline lineno="187"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>(ri.min(),ri.max(),NULL);</highlight></codeline>
|
|
<codeline lineno="188"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>l<sp/>=<sp/>f;</highlight></codeline>
|
|
<codeline lineno="189"><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/>s<sp/>=<sp/>ri.<ref refid="classGecode_1_1RangeList_1a8ef551f4dae1886fa4544394c03b8c6c" kindref="member">width</ref>();</highlight></codeline>
|
|
<codeline lineno="190"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/>++ri;</highlight></codeline>
|
|
<codeline lineno="192"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="193"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(ri()){</highlight></codeline>
|
|
<codeline lineno="194"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref><sp/>*n<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>(ri.min(),ri.max(),NULL);</highlight></codeline>
|
|
<codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>l-><ref refid="classGecode_1_1RangeList_1a0b5c08469f5b466226731976452e54a4" kindref="member">next</ref>(n);</highlight></codeline>
|
|
<codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>l=n;</highlight></codeline>
|
|
<codeline lineno="197"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>+=<sp/>ri.<ref refid="classGecode_1_1RangeList_1a8ef551f4dae1886fa4544394c03b8c6c" kindref="member">width</ref>();</highlight></codeline>
|
|
<codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>++ri;</highlight></codeline>
|
|
<codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="200"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()<sp/>!=<sp/>NULL)</highlight></codeline>
|
|
<codeline lineno="202"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());</highlight></codeline>
|
|
<codeline lineno="203"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(f);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(l);</highlight></codeline>
|
|
<codeline lineno="204"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="205"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>If<sp/>the<sp/>size<sp/>did<sp/>not<sp/>change,<sp/>nothing<sp/>changed,<sp/>as<sp/>overwriting</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="206"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>must<sp/>not<sp/>at<sp/>the<sp/>same<sp/>time<sp/>include<sp/>and<sp/>exclude<sp/>elements.</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="207"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a057b3dad3bb84170fe390ddfde1b993b" kindref="member">size</ref>()<sp/>==<sp/>s)</highlight></codeline>
|
|
<codeline lineno="208"><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="209"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="210"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><sp/>=<sp/>s;</highlight></codeline>
|
|
<codeline lineno="211"><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="212"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="213"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="214"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="215" refid="classGecode_1_1Set_1_1BndSet_1adce5e13c9b374e193a11efd0ebf3a133" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1adce5e13c9b374e193a11efd0ebf3a133" kindref="member">BndSet::become</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_1Set_1_1BndSet" kindref="compound">BndSet</ref>&<sp/>that){</highlight></codeline>
|
|
<codeline lineno="216"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()!=NULL){</highlight></codeline>
|
|
<codeline lineno="217"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>()!=NULL);</highlight></codeline>
|
|
<codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()!=<sp/>that.<ref refid="classGecode_1_1Set_1_1BndSet_1aba229e4bebf30696535787f7e8d0620f" kindref="member">fst</ref>());</highlight></codeline>
|
|
<codeline lineno="219"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());</highlight></codeline>
|
|
<codeline lineno="220"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="221"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(that.<ref refid="classGecode_1_1Set_1_1BndSet_1aba229e4bebf30696535787f7e8d0620f" kindref="member">fst</ref>());</highlight></codeline>
|
|
<codeline lineno="222"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(that.<ref refid="classGecode_1_1Set_1_1BndSet_1a56cd57a91cbc164ec0a711590898e7fd" kindref="member">lst</ref>());</highlight></codeline>
|
|
<codeline lineno="223"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><sp/>=<sp/>that.<ref refid="classGecode_1_1Set_1_1BndSet_1a057b3dad3bb84170fe390ddfde1b993b" kindref="member">size</ref>();</highlight></codeline>
|
|
<codeline lineno="224"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1ad5fc6491a5d55b3668c42dba6d40a612" kindref="member">isConsistent</ref>());</highlight></codeline>
|
|
<codeline lineno="225"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="226"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="227"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="228" refid="classGecode_1_1Set_1_1BndSet_1a488ecdc2ee45bd60d70088cc1b9f7642" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a488ecdc2ee45bd60d70088cc1b9f7642" kindref="member">BndSet::in</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="229"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>c<sp/>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>();<sp/>c<sp/>!=<sp/>NULL;<sp/>c<sp/>=<sp/>c-><ref refid="classGecode_1_1RangeList_1a0b5c08469f5b466226731976452e54a4" kindref="member">next</ref>())<sp/>{</highlight></codeline>
|
|
<codeline lineno="230"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(c->min()<sp/><=<sp/>i<sp/>&&<sp/>c->max()<sp/>>=<sp/>i)</highlight></codeline>
|
|
<codeline lineno="231"><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="232"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(c->min()<sp/>><sp/>i)</highlight></codeline>
|
|
<codeline lineno="233"><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="234"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="235"><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="236"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="237"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="238"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="239"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Range<sp/>iterator<sp/>for<sp/>BndSets</highlight></codeline>
|
|
<codeline lineno="240"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="241"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="242"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="243"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="244" refid="classGecode_1_1Set_1_1BndSetRanges_1a67c31ddbcd9c5b10d3d9e0b42dc7503c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSetRanges_1a67c31ddbcd9c5b10d3d9e0b42dc7503c" kindref="member">BndSetRanges::BndSetRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="245"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="246"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="247" refid="classGecode_1_1Set_1_1BndSetRanges_1afcba05259951b0434ed03d92ac9667e4" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSetRanges_1a67c31ddbcd9c5b10d3d9e0b42dc7503c" kindref="member">BndSetRanges::BndSetRanges</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet" kindref="compound">BndSet</ref>&<sp/>s)</highlight></codeline>
|
|
<codeline lineno="248"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>Iter::Ranges::<ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>(s.ranges())<sp/>{}</highlight></codeline>
|
|
<codeline lineno="249"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="250"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="251" refid="classGecode_1_1Set_1_1BndSetRanges_1ad8507922bff01066c6e58782a34d7093" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSetRanges_1ad8507922bff01066c6e58782a34d7093" kindref="member">BndSetRanges::init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Set_1_1BndSet" kindref="compound">BndSet</ref>&<sp/>s)<sp/>{</highlight></codeline>
|
|
<codeline lineno="252"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1RangeList_1a4a87b002930eb61bfbb67dd84360ce55" kindref="member">Iter::Ranges::RangeList::init</ref>(s.<ref refid="classGecode_1_1Set_1_1BndSet_1af77054b07e5f11f6e6559adf53b0d628" kindref="member">ranges</ref>());</highlight></codeline>
|
|
<codeline lineno="253"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="254"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="255"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="256"><highlight class="comment"><sp/><sp/><sp/>*<sp/>GLBndSet</highlight></codeline>
|
|
<codeline lineno="257"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="258"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="259"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="260"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="261" refid="classGecode_1_1Set_1_1GLBndSet_1a27afd0962d393d7180ba14db5a04fc96" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1GLBndSet_1a27afd0962d393d7180ba14db5a04fc96" kindref="member">GLBndSet::GLBndSet</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="262"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="263"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="264" refid="classGecode_1_1Set_1_1GLBndSet_1a2dc74e28525f9d5468cdbe43d64c9b41" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1GLBndSet_1a27afd0962d393d7180ba14db5a04fc96" kindref="member">GLBndSet::GLBndSet</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="265"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="266"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="267" refid="classGecode_1_1Set_1_1GLBndSet_1a31403d780f878d8e7162bb2ccaaea266" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1GLBndSet_1a27afd0962d393d7180ba14db5a04fc96" kindref="member">GLBndSet::GLBndSet</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mi,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ma)</highlight></codeline>
|
|
<codeline lineno="268"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Set_1_1BndSet" kindref="compound">BndSet</ref>(home,mi,ma)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="269"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="270"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="271" refid="classGecode_1_1Set_1_1GLBndSet_1a88936afad9a772b31d8035478f656463" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1GLBndSet_1a27afd0962d393d7180ba14db5a04fc96" kindref="member">GLBndSet::GLBndSet</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/>s)</highlight></codeline>
|
|
<codeline lineno="272"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Set_1_1BndSet" kindref="compound">BndSet</ref>(home,s)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="273"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="274"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="275" refid="classGecode_1_1Set_1_1GLBndSet_1a755ea7610760cda4d9c2b0430212d94e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1GLBndSet_1a755ea7610760cda4d9c2b0430212d94e" kindref="member">GLBndSet::init</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home)<sp/>{</highlight></codeline>
|
|
<codeline lineno="276"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a4fd106aef04d3546920c07e0d94024de" kindref="member">dispose</ref>(home);</highlight></codeline>
|
|
<codeline lineno="277"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="278"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="279"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><sp/>=<sp/>0;</highlight></codeline>
|
|
<codeline lineno="280"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="281"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="282"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="283" refid="classGecode_1_1Set_1_1GLBndSet_1a4ebf21641975e6f63d4f46fecc584b0a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1GLBndSet_1a4ebf21641975e6f63d4f46fecc584b0a" kindref="member">GLBndSet::include</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mi,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ma,<sp/><ref refid="classGecode_1_1Set_1_1SetDelta" kindref="compound">SetDelta</ref>&<sp/>d)<sp/>{</highlight></codeline>
|
|
<codeline lineno="284"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(ma<sp/>>=<sp/>mi);</highlight></codeline>
|
|
<codeline lineno="285"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()==NULL)<sp/>{</highlight></codeline>
|
|
<codeline lineno="286"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>*<sp/>p<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>(mi,ma,NULL);</highlight></codeline>
|
|
<codeline lineno="287"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(p);</highlight></codeline>
|
|
<codeline lineno="288"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(p);</highlight></codeline>
|
|
<codeline lineno="289"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref>=</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">(ma-mi+1);</highlight></codeline>
|
|
<codeline lineno="290"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>d._glbMin<sp/>=<sp/>mi;</highlight></codeline>
|
|
<codeline lineno="291"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>d._glbMax<sp/>=<sp/>ma;</highlight></codeline>
|
|
<codeline lineno="292"><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="293"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="294"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>ret<sp/>=<sp/>include_full(home,<sp/>mi,<sp/>ma,<sp/>d);</highlight></codeline>
|
|
<codeline lineno="295"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1ad5fc6491a5d55b3668c42dba6d40a612" kindref="member">isConsistent</ref>());</highlight></codeline>
|
|
<codeline lineno="296"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ret;</highlight></codeline>
|
|
<codeline lineno="297"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="298"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="299"><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/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="300" refid="classGecode_1_1Set_1_1GLBndSet_1acf31e1ebe21a4d3138c6655c06b19ac0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1GLBndSet_1acf31e1ebe21a4d3138c6655c06b19ac0" kindref="member">GLBndSet::includeI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/>I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="301"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!i())</highlight></codeline>
|
|
<codeline lineno="302"><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="303"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSetRanges" kindref="compound">BndSetRanges</ref><sp/>j(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="304"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Union" kindref="compound">Iter::Ranges::Union<BndSetRanges,I></ref><sp/>ij(j,i);</highlight></codeline>
|
|
<codeline lineno="305"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>me<sp/>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a21fab9ef2a20ebaa3230c1d59a641059" kindref="member">overwrite</ref>(home,<sp/>ij);</highlight></codeline>
|
|
<codeline lineno="306"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1ad5fc6491a5d55b3668c42dba6d40a612" kindref="member">isConsistent</ref>());</highlight></codeline>
|
|
<codeline lineno="307"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>me;</highlight></codeline>
|
|
<codeline lineno="308"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="309"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="310"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="311"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="312"><highlight class="comment"><sp/><sp/><sp/>*<sp/>LUBndSet</highlight></codeline>
|
|
<codeline lineno="313"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="314"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="315"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="316"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="317" refid="classGecode_1_1Set_1_1LUBndSet_1aec189ff8607c6004bcba3f26916dc638" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1aec189ff8607c6004bcba3f26916dc638" kindref="member">LUBndSet::LUBndSet</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="318"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="319"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="320" refid="classGecode_1_1Set_1_1LUBndSet_1a00005f6b5812feda371cb35163a7c9f6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1aec189ff8607c6004bcba3f26916dc638" kindref="member">LUBndSet::LUBndSet</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home)</highlight></codeline>
|
|
<codeline lineno="321"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Set_1_1BndSet" kindref="compound">BndSet</ref>(home,Limits::min,Limits::max)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="322"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="323"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="324" refid="classGecode_1_1Set_1_1LUBndSet_1a81cb6bf1f2b5d42c19bbd0ae8b331496" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1aec189ff8607c6004bcba3f26916dc638" kindref="member">LUBndSet::LUBndSet</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mi,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ma)</highlight></codeline>
|
|
<codeline lineno="325"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Set_1_1BndSet" kindref="compound">BndSet</ref>(home,mi,ma)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="326"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="327"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="328" refid="classGecode_1_1Set_1_1LUBndSet_1aac8f976c7d389285edb54ddb5c788671" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1aec189ff8607c6004bcba3f26916dc638" kindref="member">LUBndSet::LUBndSet</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/>s)</highlight></codeline>
|
|
<codeline lineno="329"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Set_1_1BndSet" kindref="compound">BndSet</ref>(home,s)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="330"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="331"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="332" refid="classGecode_1_1Set_1_1LUBndSet_1aea765802d56f99c7b254bc08e02eb283" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1aea765802d56f99c7b254bc08e02eb283" kindref="member">LUBndSet::init</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home)<sp/>{</highlight></codeline>
|
|
<codeline lineno="333"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref><sp/>*p<sp/>=</highlight></codeline>
|
|
<codeline lineno="334"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1RangeList" kindref="compound">RangeList</ref>(<ref refid="namespaceGecode_1_1Set_1_1Limits_1a768af29a2cbf9eec75b4376b325f6cc4" kindref="member">Limits::min</ref>,</highlight></codeline>
|
|
<codeline lineno="335"><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/><ref refid="namespaceGecode_1_1Set_1_1Limits_1aa0057c6b80521aaf8485343580d0eed5" kindref="member">Limits::max</ref>,</highlight></codeline>
|
|
<codeline lineno="336"><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/>NULL);</highlight></codeline>
|
|
<codeline lineno="337"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(p);</highlight></codeline>
|
|
<codeline lineno="338"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(p);</highlight></codeline>
|
|
<codeline lineno="339"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><sp/>=<sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1a82e5a0891d539b2d58db3a9347ac138b" kindref="member">Limits::card</ref>;</highlight></codeline>
|
|
<codeline lineno="340"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="341"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="342"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="343" refid="classGecode_1_1Set_1_1LUBndSet_1afcce63c08c49990298015cf30bf6eb63" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1afcce63c08c49990298015cf30bf6eb63" kindref="member">LUBndSet::exclude</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mi,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ma,<sp/><ref refid="classGecode_1_1Set_1_1SetDelta" kindref="compound">SetDelta</ref>&<sp/>d)<sp/>{</highlight></codeline>
|
|
<codeline lineno="344"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(ma<sp/>>=<sp/>mi);</highlight></codeline>
|
|
<codeline lineno="345"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((mi<sp/>><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a8b6d498312183939e1d007ed614c61a1" kindref="member">max</ref>())<sp/>||<sp/>(ma<sp/><<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1af17f47c5c3582a9bd6fcd792b385bce4" kindref="member">min</ref>()))<sp/>{<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="346"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(mi<sp/><=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1af17f47c5c3582a9bd6fcd792b385bce4" kindref="member">min</ref>()<sp/>&&<sp/>ma<sp/>>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a8b6d498312183939e1d007ed614c61a1" kindref="member">max</ref>()<sp/>)<sp/>{<sp/></highlight><highlight class="comment">//the<sp/>range<sp/>covers<sp/>the<sp/>whole<sp/>set</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="347"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>d._lubMin<sp/>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1af17f47c5c3582a9bd6fcd792b385bce4" kindref="member">min</ref>();</highlight></codeline>
|
|
<codeline lineno="348"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>d._lubMax<sp/>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a8b6d498312183939e1d007ed614c61a1" kindref="member">max</ref>();</highlight></codeline>
|
|
<codeline lineno="349"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(NULL);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="350"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref>=0;</highlight></codeline>
|
|
<codeline lineno="351"><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="352"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="353"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>ret<sp/>=<sp/><sp/>exclude_full(home,<sp/>mi,<sp/>ma,<sp/>d);</highlight></codeline>
|
|
<codeline lineno="354"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1ad5fc6491a5d55b3668c42dba6d40a612" kindref="member">isConsistent</ref>());</highlight></codeline>
|
|
<codeline lineno="355"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ret;</highlight></codeline>
|
|
<codeline lineno="356"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="357"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="358"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="359" refid="classGecode_1_1Set_1_1LUBndSet_1a809a72818925ee9ee5ee829af7a0f8cf" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1a809a72818925ee9ee5ee829af7a0f8cf" kindref="member">LUBndSet::intersect</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mi,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ma)<sp/>{</highlight></codeline>
|
|
<codeline lineno="360"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(ma<sp/>>=<sp/>mi);</highlight></codeline>
|
|
<codeline lineno="361"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((mi<sp/><=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1af17f47c5c3582a9bd6fcd792b385bce4" kindref="member">min</ref>())<sp/>&&<sp/>(ma<sp/>>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a8b6d498312183939e1d007ed614c61a1" kindref="member">max</ref>()))<sp/>{<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="362"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref><sp/>==<sp/>0)<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="363"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(ma<sp/><<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1af17f47c5c3582a9bd6fcd792b385bce4" kindref="member">min</ref>()<sp/>||<sp/>mi<sp/>><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a8b6d498312183939e1d007ed614c61a1" kindref="member">max</ref>()<sp/>)<sp/>{<sp/></highlight><highlight class="comment">//<sp/>empty<sp/>the<sp/>whole<sp/>set</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="364"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(NULL);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="365"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref>=0;</highlight></codeline>
|
|
<codeline lineno="366"><highlight class="normal"><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="367"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="368"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>ret<sp/>=<sp/>intersect_full(home,<sp/>mi,<sp/>ma);</highlight></codeline>
|
|
<codeline lineno="369"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1ad5fc6491a5d55b3668c42dba6d40a612" kindref="member">isConsistent</ref>());</highlight></codeline>
|
|
<codeline lineno="370"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ret;</highlight></codeline>
|
|
<codeline lineno="371"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="372"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="373"><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/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="374" refid="classGecode_1_1Set_1_1LUBndSet_1a29e84847cb5c60372af8d3f7c2509f7e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1a29e84847cb5c60372af8d3f7c2509f7e" kindref="member">LUBndSet::intersectI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/>I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="375"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()==NULL)<sp/>{<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="376"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!i())<sp/>{</highlight></codeline>
|
|
<codeline lineno="377"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(NULL);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="378"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref>=0;</highlight></codeline>
|
|
<codeline lineno="379"><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="380"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="381"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSetRanges" kindref="compound">BndSetRanges</ref><sp/>j(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="382"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Inter" kindref="compound">Iter::Ranges::Inter<BndSetRanges,I></ref><sp/>ij(j,i);</highlight></codeline>
|
|
<codeline lineno="383"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>ret<sp/>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a21fab9ef2a20ebaa3230c1d59a641059" kindref="member">overwrite</ref>(home,<sp/>ij);</highlight></codeline>
|
|
<codeline lineno="384"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1ad5fc6491a5d55b3668c42dba6d40a612" kindref="member">isConsistent</ref>());</highlight></codeline>
|
|
<codeline lineno="385"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ret;</highlight></codeline>
|
|
<codeline lineno="386"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="387"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="388"><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/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="389" refid="classGecode_1_1Set_1_1LUBndSet_1a3128d05340cf630be14714e9280d6e75" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1a3128d05340cf630be14714e9280d6e75" kindref="member">LUBndSet::excludeI</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home,<sp/>I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="390"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!i())<sp/>{<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="391"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSetRanges" kindref="compound">BndSetRanges</ref><sp/>j(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="392"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Diff" kindref="compound">Iter::Ranges::Diff<BndSetRanges,I></ref><sp/>ij(j,i);</highlight></codeline>
|
|
<codeline lineno="393"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>ret<sp/>=<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a21fab9ef2a20ebaa3230c1d59a641059" kindref="member">overwrite</ref>(home,<sp/>ij);</highlight></codeline>
|
|
<codeline lineno="394"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1Set_1_1BndSet_1ad5fc6491a5d55b3668c42dba6d40a612" kindref="member">isConsistent</ref>());</highlight></codeline>
|
|
<codeline lineno="395"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ret;</highlight></codeline>
|
|
<codeline lineno="396"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="397"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="398"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="399" refid="classGecode_1_1Set_1_1LUBndSet_1a76f64b1bdf7396500538263b19d50baa" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1LUBndSet_1a76f64b1bdf7396500538263b19d50baa" kindref="member">LUBndSet::excludeAll</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>home)<sp/>{</highlight></codeline>
|
|
<codeline lineno="400"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>()-><ref refid="classGecode_1_1RangeList_1a27a1b8afa7762e8d735634ba08b8b91b" kindref="member">dispose</ref>(home,<ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>());<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1a189c9b89cd5f5db7c6eb4bdbd4166987" kindref="member">fst</ref>(NULL);<sp/><ref refid="classGecode_1_1Set_1_1BndSet_1aff28c7071c8b7b38132f7e1b6a8182cc" kindref="member">lst</ref>(NULL);</highlight></codeline>
|
|
<codeline lineno="401"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Set_1_1BndSet_1ae715626a62b4a66603127f4adfa460ad" kindref="member">_size</ref>=0;</highlight></codeline>
|
|
<codeline lineno="402"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="403"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="404"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="405"><highlight class="comment"><sp/><sp/><sp/>*<sp/>A<sp/>complement<sp/>iterator<sp/>spezialized<sp/>for<sp/>the<sp/>BndSet<sp/>limits</highlight></codeline>
|
|
<codeline lineno="406"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
|
<codeline lineno="407"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="408"><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></highlight></codeline>
|
|
<codeline lineno="409" refid="classGecode_1_1Set_1_1RangesCompl_1a7b0ade5f1eb05b70d21959ef31502edf" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1RangesCompl_1a7b0ade5f1eb05b70d21959ef31502edf" kindref="member">RangesCompl<I>::RangesCompl</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="410"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="411"><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></highlight></codeline>
|
|
<codeline lineno="412" refid="classGecode_1_1Set_1_1RangesCompl_1a0b0731b1406702e13f215a133e859c26" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1RangesCompl_1a7b0ade5f1eb05b70d21959ef31502edf" kindref="member">RangesCompl<I>::RangesCompl</ref>(I&<sp/>i)</highlight></codeline>
|
|
<codeline lineno="413"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>Iter::Ranges::Compl<Limits::min,</highlight></codeline>
|
|
<codeline lineno="414"><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/>Limits::max,</highlight></codeline>
|
|
<codeline lineno="415"><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/>I>(i)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="416"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="417"><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/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="418" refid="classGecode_1_1Set_1_1RangesCompl_1a09a0e4e2bb3d2170eb1da376d56da111" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Set_1_1RangesCompl_1a09a0e4e2bb3d2170eb1da376d56da111" kindref="member">RangesCompl<I>::init</ref>(I&<sp/>i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="419"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1Compl" kindref="compound">Iter::Ranges::Compl</ref><<ref refid="namespaceGecode_1_1Set_1_1Limits_1a768af29a2cbf9eec75b4376b325f6cc4" kindref="member">Limits::min</ref>,</highlight></codeline>
|
|
<codeline lineno="420"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Set_1_1Limits_1aa0057c6b80521aaf8485343580d0eed5" kindref="member">Limits::max</ref>,I>::init(i);</highlight></codeline>
|
|
<codeline lineno="421"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="422"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="423"><highlight class="normal">}}</highlight></codeline>
|
|
<codeline lineno="424"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="425"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>set-var</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="426"><highlight class="normal"></highlight></codeline>
|
|
</programlisting>
|
|
<location file="/usr/include/gecode/set/var-imp/integerset.hpp"/>
|
|
</compounddef>
|
|
</doxygen>
|