This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/gecode/dev/extractor/xml/int-set-1_8hpp.xml

963 lines
75 KiB
XML
Raw Normal View History

2014-01-22 09:41:47 +00:00
<?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="int-set-1_8hpp" kind="file">
<compoundname>int-set-1.hpp</compoundname>
<includes local="no">sstream</includes>
<includedby refid="int_8hh" local="no">/usr/include/gecode/int.hh</includedby>
<incdepgraph>
<node id="16119">
<label>/usr/include/gecode/int/int-set-1.hpp</label>
<link refid="int-set-1.hpp"/>
<childnode refid="16120" relation="include">
</childnode>
</node>
<node id="16120">
<label>sstream</label>
</node>
</incdepgraph>
<invincdepgraph>
<node id="16155">
<label>/usr/include/gecode/int/nvalues/int-base.hpp</label>
<link refid="nvalues_2int-base_8hpp_source"/>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16138">
<label>/usr/include/gecode/int/arithmetic.hh</label>
<link refid="int_2arithmetic_8hh_source"/>
</node>
<node id="16163">
<label>/usr/include/gecode/int/view/scale.hpp</label>
<link refid="int_2view_2scale_8hpp_source"/>
<childnode refid="16164" relation="include">
</childnode>
</node>
<node id="16161">
<label>/usr/include/gecode/int/div.hh</label>
<link refid="div_8hh_source"/>
<childnode refid="16162" relation="include">
</childnode>
<childnode refid="16163" relation="include">
</childnode>
</node>
<node id="16162">
<label>/usr/include/gecode/int/arithmetic/mult.hpp</label>
<link refid="int_2arithmetic_2mult_8hpp_source"/>
<childnode refid="16138" relation="include">
</childnode>
</node>
<node id="16123">
<label>/usr/include/gecode/flatzinc.hh</label>
<link refid="flatzinc_8hh_source"/>
<childnode refid="16124" relation="include">
</childnode>
<childnode refid="16125" relation="include">
</childnode>
</node>
<node id="16144">
<label>/usr/include/gecode/int/gcc/post.hpp</label>
<link refid="int_2gcc_2post_8hpp_source"/>
<childnode refid="16145" relation="include">
</childnode>
</node>
<node id="16193">
<label>/usr/include/gecode/minimodel.hh</label>
<link refid="minimodel_8hh_source"/>
<childnode refid="16194" relation="include">
</childnode>
</node>
<node id="16181">
<label>/usr/include/gecode/int/dom/range.hpp</label>
<link refid="range_8hpp_source"/>
<childnode refid="16165" relation="include">
</childnode>
</node>
<node id="16189">
<label>/usr/include/gecode/int/cumulative.hh</label>
<link refid="cumulative_8hh_source"/>
</node>
<node id="16190">
<label>/usr/include/gecode/int/unary.hh</label>
<link refid="unary_8hh_source"/>
<childnode refid="16189" relation="include">
</childnode>
</node>
<node id="16173">
<label>/usr/include/gecode/int/no-overlap.hh</label>
<link refid="no-overlap_8hh_source"/>
</node>
<node id="16187">
<label>/usr/include/gecode/int/support-values.hh</label>
<link refid="support-values_8hh_source"/>
<childnode refid="16162" relation="include">
</childnode>
</node>
<node id="16153">
<label>/usr/include/gecode/int/cumulatives.hh</label>
<link refid="cumulatives_8hh_source"/>
</node>
<node id="16196">
<label>/usr/include/gecode/set/channel.hh</label>
<link refid="set_2channel_8hh_source"/>
</node>
<node id="16154">
<label>/usr/include/gecode/int/distinct.hh</label>
<link refid="int_2distinct_8hh_source"/>
<childnode refid="16150" relation="include">
</childnode>
<childnode refid="16151" relation="include">
</childnode>
<childnode refid="16144" relation="include">
</childnode>
<childnode refid="16155" relation="include">
</childnode>
<childnode refid="16156" relation="include">
</childnode>
<childnode refid="16157" relation="include">
</childnode>
<childnode refid="16158" relation="include">
</childnode>
<childnode refid="16159" relation="include">
</childnode>
</node>
<node id="16132">
<label>/usr/include/gecode/gist/mainwindow.hh</label>
<link refid="mainwindow_8hh_source"/>
</node>
<node id="16210">
<label>/usr/include/gecode/set/rel.hh</label>
<link refid="set_2rel_8hh_source"/>
<childnode refid="16198" relation="include">
</childnode>
<childnode refid="16167" relation="include">
</childnode>
<childnode refid="16208" relation="include">
</childnode>
<childnode refid="16209" relation="include">
</childnode>
<childnode refid="16211" relation="include">
</childnode>
</node>
<node id="16200">
<label>/usr/include/gecode/set/int.hh</label>
<link refid="set_2int_8hh_source"/>
</node>
<node id="16134">
<label>/usr/include/gecode/gist/preferences.hh</label>
<link refid="preferences_8hh_source"/>
</node>
<node id="16183">
<label>/usr/include/gecode/int/member/prop.hpp</label>
<link refid="member_2prop_8hpp_source"/>
<childnode refid="16172" relation="include">
</childnode>
</node>
<node id="16168">
<label>/usr/include/gecode/int/exec.hh</label>
<link refid="exec_8hh_source"/>
</node>
<node id="16175">
<label>/usr/include/gecode/int/rel.hh</label>
<link refid="int_2rel_8hh_source"/>
<childnode refid="16176" relation="include">
</childnode>
<childnode refid="16177" relation="include">
</childnode>
<childnode refid="16178" relation="include">
</childnode>
<childnode refid="16138" relation="include">
</childnode>
<childnode refid="16179" relation="include">
</childnode>
<childnode refid="16180" relation="include">
</childnode>
<childnode refid="16154" relation="include">
</childnode>
<childnode refid="16181" relation="include">
</childnode>
<childnode refid="16165" relation="include">
</childnode>
<childnode refid="16182" relation="include">
</childnode>
<childnode refid="16166" relation="include">
</childnode>
<childnode refid="16169" relation="include">
</childnode>
<childnode refid="16183" relation="include">
</childnode>
<childnode refid="16184" relation="include">
</childnode>
<childnode refid="16146" relation="include">
</childnode>
<childnode refid="16185" relation="include">
</childnode>
<childnode refid="16156" relation="include">
</childnode>
<childnode refid="16157" relation="include">
</childnode>
<childnode refid="16158" relation="include">
</childnode>
<childnode refid="16186" relation="include">
</childnode>
<childnode refid="16159" relation="include">
</childnode>
</node>
<node id="16194">
<label>/usr/include/gecode/driver.hh</label>
<link refid="driver_8hh_source"/>
<childnode refid="16123" relation="include">
</childnode>
</node>
<node id="16177">
<label>/usr/include/gecode/int/arithmetic/nroot.hpp</label>
<link refid="nroot_8hpp_source"/>
<childnode refid="16138" relation="include">
</childnode>
</node>
<node id="16129">
<label>/usr/include/gecode/float.hh</label>
<link refid="float_8hh_source"/>
<childnode refid="16126" relation="include">
</childnode>
<childnode refid="16130" relation="include">
</childnode>
<childnode refid="16127" relation="include">
</childnode>
<childnode refid="16128" relation="include">
</childnode>
</node>
<node id="16176">
<label>/usr/include/gecode/int/arithmetic/max.hpp</label>
<link refid="max_8hpp_source"/>
<childnode refid="16138" relation="include">
</childnode>
</node>
<node id="16172">
<label>/usr/include/gecode/int/member.hh</label>
<link refid="member_8hh_source"/>
</node>
<node id="16124">
<label>/usr/include/gecode/flatzinc/parser.hh</label>
<link refid="parser_8hh_source"/>
</node>
<node id="16137">
<label>/usr/include/gecode/gist/qtgist.hh</label>
<link refid="qtgist_8hh_source"/>
<childnode refid="16132" relation="include">
</childnode>
<childnode refid="16133" relation="include">
</childnode>
</node>
<node id="16185">
<label>/usr/include/gecode/int/nvalues/bool-gq.hpp</label>
<link refid="bool-gq_8hpp_source"/>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16204">
<label>/usr/include/gecode/set/branch.hh</label>
<link refid="set_2branch_8hh_source"/>
</node>
<node id="16152">
<label>/usr/include/gecode/int/count.hh</label>
<link refid="count_8hh_source"/>
</node>
<node id="16136">
<label>/usr/include/gecode/gist/treecanvas.hh</label>
<link refid="treecanvas_8hh_source"/>
<childnode refid="16137" relation="include">
</childnode>
</node>
<node id="16157">
<label>/usr/include/gecode/int/nvalues/int-gq.hpp</label>
<link refid="nvalues_2int-gq_8hpp_source"/>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16180">
<label>/usr/include/gecode/int/count/rel.hpp</label>
<link refid="rel_8hpp_source"/>
<childnode refid="16152" relation="include">
</childnode>
</node>
<node id="16167">
<label>/usr/include/gecode/set/element.hh</label>
<link refid="set_2element_8hh_source"/>
</node>
<node id="16121">
<label>/usr/include/gecode/int/int-set-1.hpp</label>
<link refid="int-set-1.hpp"/>
<childnode refid="16122" relation="include">
</childnode>
</node>
<node id="16206">
<label>/usr/include/gecode/set/distinct.hh</label>
<link refid="set_2distinct_8hh_source"/>
</node>
<node id="16209">
<label>/usr/include/gecode/set/rel-op.hh</label>
<link refid="rel-op_8hh_source"/>
<childnode refid="16167" relation="include">
</childnode>
<childnode refid="16208" relation="include">
</childnode>
</node>
<node id="16158">
<label>/usr/include/gecode/int/nvalues/int-lq.hpp</label>
<link refid="nvalues_2int-lq_8hpp_source"/>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16166">
<label>/usr/include/gecode/int/element.hh</label>
<link refid="int_2element_8hh_source"/>
<childnode refid="16167" relation="include">
</childnode>
</node>
<node id="16150">
<label>/usr/include/gecode/int/channel.hh</label>
<link refid="int_2channel_8hh_source"/>
</node>
<node id="16171">
<label>/usr/include/gecode/set/ldsb.hh</label>
<link refid="set_2ldsb_8hh_source"/>
</node>
<node id="16133">
<label>/usr/include/gecode/gist/nodewidget.hh</label>
<link refid="nodewidget_8hh_source"/>
</node>
<node id="16164">
<label>/usr/include/gecode/int/view.hpp</label>
<link refid="int_2view_8hpp_source"/>
<childnode refid="16122" relation="include">
</childnode>
</node>
<node id="16139">
<label>/usr/include/gecode/int/bin-packing.hh</label>
<link refid="bin-packing_8hh_source"/>
</node>
<node id="16140">
<label>/usr/include/gecode/int/bool.hh</label>
<link refid="bool_8hh_source"/>
<childnode refid="16141" relation="include">
</childnode>
<childnode refid="16146" relation="include">
</childnode>
<childnode refid="16148" relation="include">
</childnode>
</node>
<node id="16197">
<label>/usr/include/gecode/set/channel/int.hpp</label>
<link refid="set_2channel_2int_8hpp_source"/>
<childnode refid="16196" relation="include">
</childnode>
</node>
<node id="16198">
<label>/usr/include/gecode/set/channel/sorted.hpp</label>
<link refid="sorted_8hpp_source"/>
<childnode refid="16196" relation="include">
</childnode>
</node>
<node id="16184">
<label>/usr/include/gecode/int/member/re-prop.hpp</label>
<link refid="re-prop_8hpp_source"/>
<childnode refid="16172" relation="include">
</childnode>
</node>
<node id="16170">
<label>/usr/include/gecode/int/ldsb.hh</label>
<link refid="int_2ldsb_8hh_source"/>
<childnode refid="16171" relation="include">
</childnode>
</node>
<node id="16131">
<label>/usr/include/gecode/gist.hh</label>
<link refid="gist_8hh_source"/>
<childnode refid="16132" relation="include">
</childnode>
<childnode refid="16133" relation="include">
</childnode>
<childnode refid="16134" relation="include">
</childnode>
<childnode refid="16135" relation="include">
</childnode>
<childnode refid="16136" relation="include">
</childnode>
</node>
<node id="16149">
<label>/usr/include/gecode/int/branch.hh</label>
<link refid="int_2branch_8hh_source"/>
</node>
<node id="16147">
<label>/usr/include/gecode/int/nvalues.hh</label>
<link refid="nvalues_8hh_source"/>
</node>
<node id="16179">
<label>/usr/include/gecode/int/bool/ite.hpp</label>
<link refid="ite_8hpp_source"/>
<childnode refid="16140" relation="include">
</childnode>
</node>
<node id="16186">
<label>/usr/include/gecode/int/sequence.hh</label>
<link refid="int_2sequence_8hh_source"/>
</node>
<node id="16192">
<label>/usr/include/gecode/int/view-val-graph.hh</label>
<link refid="view-val-graph_8hh_source"/>
<childnode refid="16154" relation="include">
</childnode>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16141">
<label>/usr/include/gecode/int/linear/bool-int.hpp</label>
<link refid="bool-int_8hpp_source"/>
<childnode refid="16142" relation="include">
</childnode>
</node>
<node id="16159">
<label>/usr/include/gecode/int/sorted/propagate.hpp</label>
<link refid="sorted_2propagate_8hpp_source"/>
<childnode refid="16160" relation="include">
</childnode>
</node>
<node id="16128">
<label>/usr/include/gecode/float/rel.hh</label>
<link refid="float_2rel_8hh_source"/>
<childnode refid="16126" relation="include">
</childnode>
</node>
<node id="16135">
<label>/usr/include/gecode/gist/stopbrancher.hh</label>
<link refid="stopbrancher_8hh_source"/>
</node>
<node id="16126">
<label>/usr/include/gecode/float/arithmetic.hh</label>
<link refid="float_2arithmetic_8hh_source"/>
</node>
<node id="16125">
<label>/usr/include/gecode/flatzinc/registry.hh</label>
<link refid="registry_8hh_source"/>
</node>
<node id="16145">
<label>/usr/include/gecode/int/gcc.hh</label>
<link refid="gcc_8hh_source"/>
</node>
<node id="16201">
<label>/usr/include/gecode/set/int/minmax.hpp</label>
<link refid="minmax_8hpp_source"/>
<childnode refid="16200" relation="include">
</childnode>
</node>
<node id="16207">
<label>/usr/include/gecode/set/precede.hh</label>
<link refid="set_2precede_8hh_source"/>
</node>
<node id="16127">
<label>/usr/include/gecode/float/linear.hh</label>
<link refid="float_2linear_8hh_source"/>
</node>
<node id="16191">
<label>/usr/include/gecode/int/val-set.hh</label>
<link refid="val-set_8hh_source"/>
<childnode refid="16172" relation="include">
</childnode>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16122">
<label>/usr/include/gecode/int.hh</label>
<link refid="int_8hh_source"/>
<childnode refid="16123" relation="include">
</childnode>
<childnode refid="16126" relation="include">
</childnode>
<childnode refid="16127" relation="include">
</childnode>
<childnode refid="16128" relation="include">
</childnode>
<childnode refid="16129" relation="include">
</childnode>
<childnode refid="16131" relation="include">
</childnode>
<childnode refid="16138" relation="include">
</childnode>
<childnode refid="16139" relation="include">
</childnode>
<childnode refid="16140" relation="include">
</childnode>
<childnode refid="16149" relation="include">
</childnode>
<childnode refid="16150" relation="include">
</childnode>
<childnode refid="16151" relation="include">
</childnode>
<childnode refid="16152" relation="include">
</childnode>
<childnode refid="16153" relation="include">
</childnode>
<childnode refid="16154" relation="include">
</childnode>
<childnode refid="16161" relation="include">
</childnode>
<childnode refid="16165" relation="include">
</childnode>
<childnode refid="16166" relation="include">
</childnode>
<childnode refid="16168" relation="include">
</childnode>
<childnode refid="16169" relation="include">
</childnode>
<childnode refid="16145" relation="include">
</childnode>
<childnode refid="16170" relation="include">
</childnode>
<childnode refid="16142" relation="include">
</childnode>
<childnode refid="16172" relation="include">
</childnode>
<childnode refid="16173" relation="include">
</childnode>
<childnode refid="16147" relation="include">
</childnode>
<childnode refid="16174" relation="include">
</childnode>
<childnode refid="16175" relation="include">
</childnode>
<childnode refid="16186" relation="include">
</childnode>
<childnode refid="16160" relation="include">
</childnode>
<childnode refid="16187" relation="include">
</childnode>
<childnode refid="16188" relation="include">
</childnode>
<childnode refid="16191" relation="include">
</childnode>
<childnode refid="16192" relation="include">
</childnode>
<childnode refid="16193" relation="include">
</childnode>
<childnode refid="16195" relation="include">
</childnode>
<childnode refid="16197" relation="include">
</childnode>
<childnode refid="16198" relation="include">
</childnode>
<childnode refid="16199" relation="include">
</childnode>
<childnode refid="16201" relation="include">
</childnode>
<childnode refid="16202" relation="include">
</childnode>
<childnode refid="16203" relation="include">
</childnode>
</node>
<node id="16146">
<label>/usr/include/gecode/int/nvalues/bool-eq.hpp</label>
<link refid="bool-eq_8hpp_source"/>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16148">
<label>/usr/include/gecode/int/nvalues/bool-lq.hpp</label>
<link refid="bool-lq_8hpp_source"/>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16188">
<label>/usr/include/gecode/int/task.hh</label>
<link refid="task_8hh_source"/>
<childnode refid="16189" relation="include">
</childnode>
<childnode refid="16190" relation="include">
</childnode>
</node>
<node id="16169">
<label>/usr/include/gecode/int/extensional.hh</label>
<link refid="extensional_8hh_source"/>
</node>
<node id="16160">
<label>/usr/include/gecode/int/sorted.hh</label>
<link refid="sorted_8hh_source"/>
</node>
<node id="16202">
<label>/usr/include/gecode/set/int/weights.hpp</label>
<link refid="weights_8hpp_source"/>
<childnode refid="16200" relation="include">
</childnode>
</node>
<node id="16174">
<label>/usr/include/gecode/int/precede.hh</label>
<link refid="int_2precede_8hh_source"/>
</node>
<node id="16156">
<label>/usr/include/gecode/int/nvalues/int-eq.hpp</label>
<link refid="nvalues_2int-eq_8hpp_source"/>
<childnode refid="16147" relation="include">
</childnode>
</node>
<node id="16130">
<label>/usr/include/gecode/float/branch.hh</label>
<link refid="float_2branch_8hh_source"/>
</node>
<node id="16211">
<label>/usr/include/gecode/set/sequence.hh</label>
<link refid="set_2sequence_8hh_source"/>
</node>
<node id="16199">
<label>/usr/include/gecode/set/int/card.hpp</label>
<link refid="card_8hpp_source"/>
<childnode refid="16200" relation="include">
</childnode>
</node>
<node id="16143">
<label>/usr/include/gecode/int/arithmetic/divmod.hpp</label>
<link refid="divmod_8hpp_source"/>
<childnode refid="16138" relation="include">
</childnode>
</node>
<node id="16142">
<label>/usr/include/gecode/int/linear.hh</label>
<link refid="int_2linear_8hh_source"/>
<childnode refid="16143" relation="include">
</childnode>
<childnode refid="16138" relation="include">
</childnode>
<childnode refid="16144" relation="include">
</childnode>
</node>
<node id="16165">
<label>/usr/include/gecode/int/dom.hh</label>
<link refid="dom_8hh_source"/>
</node>
<node id="16195">
<label>/usr/include/gecode/set/channel/bool.hpp</label>
<link refid="set_2channel_2bool_8hpp_source"/>
<childnode refid="16196" relation="include">
</childnode>
</node>
<node id="16182">
<label>/usr/include/gecode/int/element/pair.hpp</label>
<link refid="pair_8hpp_source"/>
<childnode refid="16166" relation="include">
</childnode>
</node>
<node id="16203">
<label>/usr/include/gecode/set.hh</label>
<link refid="set_8hh_source"/>
<childnode refid="16204" relation="include">
</childnode>
<childnode refid="16198" relation="include">
</childnode>
<childnode refid="16196" relation="include">
</childnode>
<childnode refid="16205" relation="include">
</childnode>
<childnode refid="16206" relation="include">
</childnode>
<childnode refid="16167" relation="include">
</childnode>
<childnode refid="16199" relation="include">
</childnode>
<childnode refid="16201" relation="include">
</childnode>
<childnode refid="16202" relation="include">
</childnode>
<childnode refid="16200" relation="include">
</childnode>
<childnode refid="16171" relation="include">
</childnode>
<childnode refid="16207" relation="include">
</childnode>
<childnode refid="16208" relation="include">
</childnode>
<childnode refid="16209" relation="include">
</childnode>
<childnode refid="16210" relation="include">
</childnode>
<childnode refid="16211" relation="include">
</childnode>
</node>
<node id="16151">
<label>/usr/include/gecode/int/circuit.hh</label>
<link refid="circuit_8hh_source"/>
</node>
<node id="16208">
<label>/usr/include/gecode/set/rel-op/post.hpp</label>
<link refid="set_2rel-op_2post_8hpp_source"/>
<childnode refid="16209" relation="include">
</childnode>
</node>
<node id="16178">
<label>/usr/include/gecode/int/arithmetic/pow.hpp</label>
<link refid="pow_8hpp_source"/>
<childnode refid="16138" relation="include">
</childnode>
</node>
<node id="16205">
<label>/usr/include/gecode/set/convex.hh</label>
<link refid="convex_8hh_source"/>
</node>
</invincdepgraph>
<innerclass refid="classGecode_1_1IntSetInit" prot="public">Gecode::IntSetInit</innerclass>
<innerclass refid="classGecode_1_1IntSetInit_3_01IntSet_01_4" prot="public">Gecode::IntSetInit&lt; IntSet &gt;</innerclass>
<innernamespace refid="namespaceGecode">Gecode</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/>Christian<sp/>Schulte<sp/>&lt;schulte@gecode.org&gt;</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte,<sp/>2003</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2013-03-11<sp/>14:47:11<sp/>+0100<sp/>(Mon,<sp/>11<sp/>Mar<sp/>2013)<sp/>$<sp/>by<sp/>$Author:<sp/>schulte<sp/>$</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>13490<sp/>$</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>Gecode,<sp/>the<sp/>generic<sp/>constraint</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/>Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>*<sp/><sp/>a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/>&quot;Software&quot;),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/><sp/>without<sp/>limitation<sp/>the<sp/>rights<sp/>to<sp/>use,<sp/>copy,<sp/>modify,<sp/>merge,<sp/>publish,</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/><sp/>distribute,<sp/>sublicense,<sp/>and/or<sp/>sell<sp/>copies<sp/>of<sp/>the<sp/>Software,<sp/>and<sp/>to</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/><sp/>permit<sp/>persons<sp/>to<sp/>whom<sp/>the<sp/>Software<sp/>is<sp/>furnished<sp/>to<sp/>do<sp/>so,<sp/>subject<sp/>to</highlight></codeline>
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/><sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
<codeline lineno="24"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/><sp/>The<sp/>above<sp/>copyright<sp/>notice<sp/>and<sp/>this<sp/>permission<sp/>notice<sp/>shall<sp/>be</highlight></codeline>
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/><sp/>included<sp/>in<sp/>all<sp/>copies<sp/>or<sp/>substantial<sp/>portions<sp/>of<sp/>the<sp/>Software.</highlight></codeline>
<codeline lineno="27"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="28"><highlight class="comment"><sp/>*<sp/><sp/>THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>&quot;AS<sp/>IS&quot;,<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
<codeline lineno="29"><highlight class="comment"><sp/>*<sp/><sp/>EXPRESS<sp/>OR<sp/>IMPLIED,<sp/>INCLUDING<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO<sp/>THE<sp/>WARRANTIES<sp/>OF</highlight></codeline>
<codeline lineno="30"><highlight class="comment"><sp/>*<sp/><sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
<codeline lineno="31"><highlight class="comment"><sp/>*<sp/><sp/>NONINFRINGEMENT.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>AUTHORS<sp/>OR<sp/>COPYRIGHT<sp/>HOLDERS<sp/>BE</highlight></codeline>
<codeline lineno="32"><highlight class="comment"><sp/>*<sp/><sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>CLAIM,<sp/>DAMAGES<sp/>OR<sp/>OTHER<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>AN<sp/>ACTION</highlight></codeline>
<codeline lineno="33"><highlight class="comment"><sp/>*<sp/><sp/>OF<sp/>CONTRACT,<sp/>TORT<sp/>OR<sp/>OTHERWISE,<sp/>ARISING<sp/>FROM,<sp/>OUT<sp/>OF<sp/>OR<sp/>IN<sp/>CONNECTION</highlight></codeline>
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/><sp/>WITH<sp/>THE<sp/>SOFTWARE<sp/>OR<sp/>THE<sp/>USE<sp/>OR<sp/>OTHER<sp/>DEALINGS<sp/>IN<sp/>THE<sp/>SOFTWARE.</highlight></codeline>
<codeline lineno="35"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="36"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;sstream&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Gecode<sp/>{</highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
<codeline lineno="42"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="43"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Integer<sp/>sets</highlight></codeline>
<codeline lineno="44"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="45"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="46"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="47" refid="classGecode_1_1IntSet_1a645f4ad63e777531629b0eb174c17b09" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a645f4ad63e777531629b0eb174c17b09" kindref="member">IntSet::IntSet</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
<codeline lineno="48"><highlight class="normal"></highlight></codeline>
<codeline lineno="56"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I&gt;</highlight></codeline>
<codeline lineno="57" refid="classGecode_1_1IntSetInit" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1IntSetInit" kindref="compound">IntSetInit</ref><sp/>{</highlight></codeline>
<codeline lineno="58"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="60" refid="classGecode_1_1IntSetInit_1a258b10114bf3dfef6db71f12475b5d57" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSetInit_1a258b10114bf3dfef6db71f12475b5d57" kindref="member">init</ref>(<ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&amp;<sp/>s,<sp/>I&amp;<sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Support_1_1DynamicArray" kindref="compound">Support::DynamicArray&lt;IntSet::Range,Heap&gt;</ref><sp/>d(<ref refid="namespaceGecode_1a6595368d634d0db095ad8dee79f14d2c" kindref="member">heap</ref>);</highlight></codeline>
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n=0;</highlight></codeline>
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref><sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(i())<sp/>{</highlight></codeline>
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>d[n].min<sp/>=<sp/>i.min();<sp/>d[n].max<sp/>=<sp/>i.max();<sp/>size<sp/>+=<sp/>i.width();</highlight></codeline>
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++n;<sp/>++i;</highlight></codeline>
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/>&gt;<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>IntSet::IntSetObject*<sp/>o<sp/>=<sp/>IntSet::IntSetObject::allocate(n);</highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/><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/>j=n;<sp/>j--;<sp/>)</highlight></codeline>
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>o-&gt;r[j]=d[j];</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>o-&gt;size<sp/>=<sp/>size;</highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s.<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>(o);</highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="76"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="77"><highlight class="normal"></highlight></codeline>
<codeline lineno="79"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;&gt;</highlight></codeline>
<codeline lineno="80" refid="classGecode_1_1IntSetInit_3_01IntSet_01_4" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1IntSetInit" kindref="compound">IntSetInit</ref>&lt;<ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&gt;<sp/>{</highlight></codeline>
<codeline lineno="81"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSetInit_1a258b10114bf3dfef6db71f12475b5d57" kindref="member">init</ref>(<ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&amp;<sp/>s,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&amp;<sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s.<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>(i.<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="86"><highlight class="normal"></highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I&gt;</highlight></codeline>
<codeline lineno="89" refid="classGecode_1_1IntSet_1aafa42fb60b4406786ef5ad15042bb5a4" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a645f4ad63e777531629b0eb174c17b09" kindref="member">IntSet::IntSet</ref>(I&amp;<sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1IntSetInit_1a258b10114bf3dfef6db71f12475b5d57" kindref="member">IntSetInit&lt;I&gt;::init</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,i);</highlight></codeline>
<codeline lineno="91"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="92"><highlight class="normal"></highlight></codeline>
<codeline lineno="94"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I&gt;</highlight></codeline>
<codeline lineno="95" refid="classGecode_1_1IntSet_1acc0d2bafd695a83676ea67a768ee6b09" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a645f4ad63e777531629b0eb174c17b09" kindref="member">IntSet::IntSet</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>I&amp;<sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1IntSetInit_1a258b10114bf3dfef6db71f12475b5d57" kindref="member">IntSetInit&lt;I&gt;::init</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,i);</highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="98"><highlight class="normal"></highlight></codeline>
<codeline lineno="99"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="100" refid="classGecode_1_1IntSet_1a0beec57a1644c5efbbaaaf16b703b027" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a645f4ad63e777531629b0eb174c17b09" kindref="member">IntSet::IntSet</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r[][2],<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/>init(r,n);</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="103"><highlight class="normal"></highlight></codeline>
<codeline lineno="104"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="105" refid="classGecode_1_1IntSet_1a76d1ac69f19602fc02eb73b1e765a2bc" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a645f4ad63e777531629b0eb174c17b09" kindref="member">IntSet::IntSet</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r[],<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/>init(r,n);</highlight></codeline>
<codeline lineno="107"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="108"><highlight class="normal"></highlight></codeline>
<codeline lineno="109"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="110" refid="classGecode_1_1IntSet_1a383f3da12025e19b19b63453edc2bef0" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a645f4ad63e777531629b0eb174c17b09" kindref="member">IntSet::IntSet</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m)<sp/>{</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/>init(n,m);</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_1IntSet_1a4489c522db083acd3564c62f273e7e00" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1ac2c2ef88aed2a04a765f206d6d3a7546" kindref="member">IntSet::min</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(</highlight><highlight class="keywordtype">object</highlight><highlight class="normal">()<sp/>!=<sp/>NULL);</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>())-&gt;r[i].<ref refid="classGecode_1_1IntSet_1ac2c2ef88aed2a04a765f206d6d3a7546" kindref="member">min</ref>;</highlight></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="119"><highlight class="normal"></highlight></codeline>
<codeline lineno="120"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="121" refid="classGecode_1_1IntSet_1a116eb1bf6dbeac4826dae8bcad0fc2cb" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a50a50ba8ca1b6859a05e191d2131e797" kindref="member">IntSet::max</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="122"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(</highlight><highlight class="keywordtype">object</highlight><highlight class="normal">()<sp/>!=<sp/>NULL);</highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>())-&gt;r[i].<ref refid="classGecode_1_1IntSet_1a50a50ba8ca1b6859a05e191d2131e797" kindref="member">max</ref>;</highlight></codeline>
<codeline lineno="124"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="125"><highlight class="normal"></highlight></codeline>
<codeline lineno="126"><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="127" refid="classGecode_1_1IntSet_1a75799a817365f4941f2c0e208477dca7" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a164bf14a10bf53706c5b506ac0e1d9fd" kindref="member">IntSet::width</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="128"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(</highlight><highlight class="keywordtype">object</highlight><highlight class="normal">()<sp/>!=<sp/>NULL);</highlight></codeline>
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/>IntSetObject*<sp/>o<sp/>=<sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
<codeline lineno="130"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(o-&gt;r[i].max-o-&gt;r[i].min)+1;</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">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="134" refid="classGecode_1_1IntSet_1aee0385be2d8c4e34996cc24b25629d2c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1aee0385be2d8c4e34996cc24b25629d2c" kindref="member">IntSet::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="135"><highlight class="normal"><sp/><sp/><sp/><sp/>IntSetObject*<sp/>o<sp/>=<sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(o<sp/>==<sp/>NULL)<sp/>?<sp/>0<sp/>:<sp/>o-&gt;n;</highlight></codeline>
<codeline lineno="137"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="138"><highlight class="normal"></highlight></codeline>
<codeline lineno="139"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="140" refid="classGecode_1_1IntSet_1af472994be622a2ee63887023d3d49a3a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1af472994be622a2ee63887023d3d49a3a" kindref="member">IntSet::in</ref>(</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="141"><highlight class="normal"><sp/><sp/><sp/><sp/>IntSetObject*<sp/>o<sp/>=<sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((o<sp/>==<sp/>NULL)<sp/>||<sp/>(n<sp/>&lt;<sp/>o-&gt;r[0].min)<sp/>||<sp/>(n<sp/>&gt;<sp/>o-&gt;r[o-&gt;n-1].max))</highlight></codeline>
<codeline lineno="143"><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="144"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>o-&gt;in(n);</highlight></codeline>
<codeline lineno="146"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="147"><highlight class="normal"></highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="149" refid="classGecode_1_1IntSet_1ac2c2ef88aed2a04a765f206d6d3a7546" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1ac2c2ef88aed2a04a765f206d6d3a7546" kindref="member">IntSet::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="150"><highlight class="normal"><sp/><sp/><sp/><sp/>IntSetObject*<sp/>o<sp/>=<sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(o<sp/>==<sp/>NULL)<sp/>?<sp/><ref refid="namespaceGecode_1_1Int_1_1Limits_1ad2fea399ca2de529a8b294fefe37e177" kindref="member">Int::Limits::max</ref><sp/>:<sp/>o-&gt;r[0].min;</highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="153"><highlight class="normal"></highlight></codeline>
<codeline lineno="154"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="155" refid="classGecode_1_1IntSet_1a50a50ba8ca1b6859a05e191d2131e797" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a50a50ba8ca1b6859a05e191d2131e797" kindref="member">IntSet::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="156"><highlight class="normal"><sp/><sp/><sp/><sp/>IntSetObject*<sp/>o<sp/>=<sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
<codeline lineno="157"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(o<sp/>==<sp/>NULL)<sp/>?<sp/><ref refid="namespaceGecode_1_1Int_1_1Limits_1a866b451d77425f6d442aa9f114e1424c" kindref="member">Int::Limits::min</ref><sp/>:<sp/>o-&gt;r[o-&gt;n-1].max;</highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="159"><highlight class="normal"></highlight></codeline>
<codeline lineno="160"><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="161" refid="classGecode_1_1IntSet_1a85c391ad5966d59eccad932c2ee6568b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a85c391ad5966d59eccad932c2ee6568b" kindref="member">IntSet::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="162"><highlight class="normal"><sp/><sp/><sp/><sp/>IntSetObject*<sp/>o<sp/>=<sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
<codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(o<sp/>==<sp/>NULL)<sp/>?<sp/>0<sp/>:<sp/>o-&gt;size;</highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="165"><highlight class="normal"></highlight></codeline>
<codeline lineno="166"><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="167" refid="classGecode_1_1IntSet_1a164bf14a10bf53706c5b506ac0e1d9fd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSet_1a164bf14a10bf53706c5b506ac0e1d9fd" kindref="member">IntSet::width</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="168"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(<ref refid="classGecode_1_1IntSet_1a50a50ba8ca1b6859a05e191d2131e797" kindref="member">max</ref>()-<ref refid="classGecode_1_1IntSet_1ac2c2ef88aed2a04a765f206d6d3a7546" kindref="member">min</ref>()+1);</highlight></codeline>
<codeline lineno="169"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="170"><highlight class="normal"></highlight></codeline>
<codeline lineno="171"><highlight class="normal"></highlight></codeline>
<codeline lineno="172"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="173"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Range<sp/>iterator<sp/>for<sp/>integer<sp/>sets</highlight></codeline>
<codeline lineno="174"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="175"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="176"><highlight class="normal"></highlight></codeline>
<codeline lineno="177"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="178" refid="classGecode_1_1IntSetRanges_1aaa04f91c7ad98ba261fa29f9ee7f71d1" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetRanges_1aaa04f91c7ad98ba261fa29f9ee7f71d1" kindref="member">IntSetRanges::IntSetRanges</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
<codeline lineno="179"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="180"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="181" refid="classGecode_1_1IntSetRanges_1a626d5c44272d44ea420b39e61e1e3929" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetRanges_1a626d5c44272d44ea420b39e61e1e3929" kindref="member">IntSetRanges::init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&amp;<sp/>s)<sp/>{</highlight></codeline>
<codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n<sp/>=<sp/>s.<ref refid="classGecode_1_1IntSet_1aee0385be2d8c4e34996cc24b25629d2c" kindref="member">ranges</ref>();</highlight></codeline>
<codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/>&gt;<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="184"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>i<sp/>=<sp/>&amp;</highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="normal">IntSet::IntSetObject*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(s.<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>())-&gt;r[0];<sp/>e<sp/>=<sp/>i+n;</highlight></codeline>
<codeline lineno="185"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="186"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>i<sp/>=<sp/>e<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="187"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="188"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="189"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="190" refid="classGecode_1_1IntSetRanges_1ac6e310ff6b38f543f75cc2d96a64af8c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetRanges_1aaa04f91c7ad98ba261fa29f9ee7f71d1" kindref="member">IntSetRanges::IntSetRanges</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&amp;<sp/>s)<sp/>{<sp/><ref refid="classGecode_1_1IntSetRanges_1a626d5c44272d44ea420b39e61e1e3929" kindref="member">init</ref>(s);<sp/>}</highlight></codeline>
<codeline lineno="191"><highlight class="normal"></highlight></codeline>
<codeline lineno="192"><highlight class="normal"></highlight></codeline>
<codeline lineno="193"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="194" refid="classGecode_1_1IntSetRanges_1a417a57803f096b0e7306259ccd06f548" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetRanges_1a417a57803f096b0e7306259ccd06f548" kindref="member">IntSetRanges::operator ++</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/>i++;</highlight></codeline>
<codeline lineno="196"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="197"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="198" refid="classGecode_1_1IntSetRanges_1a4660a3924fbc6d0207d11241ecdaeaa8" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetRanges_1a4660a3924fbc6d0207d11241ecdaeaa8" kindref="member">IntSetRanges::operator ()</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="199"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>i&lt;e;</highlight></codeline>
<codeline lineno="200"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="201"><highlight class="normal"></highlight></codeline>
<codeline lineno="202"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="203" refid="classGecode_1_1IntSetRanges_1ab9a42074ca80b22599030677abb0e8ee" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetRanges_1ab9a42074ca80b22599030677abb0e8ee" kindref="member">IntSetRanges::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="204"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>i-&gt;min;</highlight></codeline>
<codeline lineno="205"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="206"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="207" refid="classGecode_1_1IntSetRanges_1a0a9f1e872eda566c6eaf2bc1aeed672b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetRanges_1a0a9f1e872eda566c6eaf2bc1aeed672b" kindref="member">IntSetRanges::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="208"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>i-&gt;max;</highlight></codeline>
<codeline lineno="209"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="210"><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="211" refid="classGecode_1_1IntSetRanges_1a5c94ce2f14f1d3bad830dee15f559644" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetRanges_1a5c94ce2f14f1d3bad830dee15f559644" kindref="member">IntSetRanges::width</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="212"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static_cast&lt;</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(i-&gt;max<sp/>-<sp/>i-&gt;min)<sp/>+<sp/>1;</highlight></codeline>
<codeline lineno="213"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="214"><highlight class="normal"></highlight></codeline>
<codeline lineno="215"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="216"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Value<sp/>iterator<sp/>for<sp/>integer<sp/>sets</highlight></codeline>
<codeline lineno="217"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="218"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="219"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="220" refid="classGecode_1_1IntSetValues_1a2d2d3a19a12b9002f1bce151ab7b091b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetValues_1a2d2d3a19a12b9002f1bce151ab7b091b" kindref="member">IntSetValues::IntSetValues</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
<codeline lineno="221"><highlight class="normal"></highlight></codeline>
<codeline lineno="222"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="223" refid="classGecode_1_1IntSetValues_1aa8c603beecb5a27d5fb3f13b6c6e4288" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetValues_1a2d2d3a19a12b9002f1bce151ab7b091b" kindref="member">IntSetValues::IntSetValues</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&amp;<sp/>s)<sp/>{</highlight></codeline>
<codeline lineno="224"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1IntSetRanges" kindref="compound">IntSetRanges</ref><sp/>r(s);</highlight></codeline>
<codeline lineno="225"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1ToValues_1a69101588ed811500333c7f4665b2ac92" kindref="member">Iter::Ranges::ToValues&lt;IntSetRanges&gt;::init</ref>(r);</highlight></codeline>
<codeline lineno="226"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="227"><highlight class="normal"></highlight></codeline>
<codeline lineno="228"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="229" refid="classGecode_1_1IntSetValues_1a48b49b65abe1e548e14999e4e7c83225" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1IntSetValues_1a48b49b65abe1e548e14999e4e7c83225" kindref="member">IntSetValues::init</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&amp;<sp/>s)<sp/>{</highlight></codeline>
<codeline lineno="230"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1IntSetRanges" kindref="compound">IntSetRanges</ref><sp/>r(s);</highlight></codeline>
<codeline lineno="231"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Iter_1_1Ranges_1_1ToValues_1a69101588ed811500333c7f4665b2ac92" kindref="member">Iter::Ranges::ToValues&lt;IntSetRanges&gt;::init</ref>(r);</highlight></codeline>
<codeline lineno="232"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="233"><highlight class="normal"></highlight></codeline>
<codeline lineno="234"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Char,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Traits&gt;</highlight></codeline>
<codeline lineno="235"><highlight class="normal"><sp/><sp/>std::basic_ostream&lt;Char,Traits&gt;&amp;</highlight></codeline>
<codeline lineno="236" refid="classGecode_1_1IntSet_1adce8247627d078f91211bef2ab1fbc3f" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/>&lt;&lt;(std::basic_ostream&lt;Char,Traits&gt;&amp;<sp/>os,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntSet" kindref="compound">IntSet</ref>&amp;<sp/>is)<sp/>{</highlight></codeline>
<codeline lineno="237"><highlight class="normal"><sp/><sp/><sp/><sp/>std::basic_ostringstream&lt;Char,Traits&gt;<sp/>s;</highlight></codeline>
<codeline lineno="238"><highlight class="normal"><sp/><sp/><sp/><sp/>s.copyfmt(os);<sp/>s.<ref refid="classGecode_1_1IntSet_1a75799a817365f4941f2c0e208477dca7" kindref="member">width</ref>(0);</highlight></codeline>
<codeline lineno="239"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;{&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>0;<sp/>i<sp/>&lt;<sp/>is.ranges();<sp/>)<sp/>{</highlight></codeline>
<codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>min<sp/>=<sp/>is.min(i);</highlight></codeline>
<codeline lineno="242"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>max<sp/>=<sp/>is.max(i);</highlight></codeline>
<codeline lineno="243"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(min<sp/>==<sp/>max)</highlight></codeline>
<codeline lineno="244"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/>min;</highlight></codeline>
<codeline lineno="245"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="246"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/>min<sp/>&lt;&lt;<sp/></highlight><highlight class="stringliteral">&quot;..&quot;</highlight><highlight class="normal"><sp/>&lt;&lt;<sp/>max;</highlight></codeline>
<codeline lineno="247"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>i++;</highlight></codeline>
<codeline lineno="248"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(i<sp/>&lt;<sp/>is.ranges())</highlight></codeline>
<codeline lineno="249"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;,&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="250"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="251"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/>&lt;&lt;<sp/></highlight><highlight class="charliteral">&apos;}&apos;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="252"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>os<sp/>&lt;&lt;<sp/>s.str();</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">}</highlight></codeline>
<codeline lineno="256"><highlight class="normal"></highlight></codeline>
<codeline lineno="257"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>int-var</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="258"><highlight class="normal"></highlight></codeline>
</programlisting>
<location file="/usr/include/gecode/int/int-set-1.hpp"/>
</compounddef>
</doxygen>