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/ranges-operations_8hpp.xml
Vitor Santos Costa a8eda03305 4.2.1 support
2014-01-22 09:41:47 +00:00

855 lines
54 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="ranges-operations_8hpp" kind="file">
<compoundname>ranges-operations.hpp</compoundname>
<includedby refid="iter_8hh" local="no">/usr/include/gecode/iter.hh</includedby>
<invincdepgraph>
<node id="23094">
<label>/usr/include/gecode/int/nvalues/int-base.hpp</label>
<link refid="nvalues_2int-base_8hpp_source"/>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23077">
<label>/usr/include/gecode/int/arithmetic.hh</label>
<link refid="int_2arithmetic_8hh_source"/>
</node>
<node id="23102">
<label>/usr/include/gecode/int/view/scale.hpp</label>
<link refid="int_2view_2scale_8hpp_source"/>
<childnode refid="23103" relation="include">
</childnode>
</node>
<node id="23100">
<label>/usr/include/gecode/int/div.hh</label>
<link refid="div_8hh_source"/>
<childnode refid="23101" relation="include">
</childnode>
<childnode refid="23102" relation="include">
</childnode>
</node>
<node id="23101">
<label>/usr/include/gecode/int/arithmetic/mult.hpp</label>
<link refid="int_2arithmetic_2mult_8hpp_source"/>
<childnode refid="23077" relation="include">
</childnode>
</node>
<node id="23062">
<label>/usr/include/gecode/flatzinc.hh</label>
<link refid="flatzinc_8hh_source"/>
<childnode refid="23063" relation="include">
</childnode>
<childnode refid="23064" relation="include">
</childnode>
</node>
<node id="23083">
<label>/usr/include/gecode/int/gcc/post.hpp</label>
<link refid="int_2gcc_2post_8hpp_source"/>
<childnode refid="23084" relation="include">
</childnode>
</node>
<node id="23132">
<label>/usr/include/gecode/minimodel.hh</label>
<link refid="minimodel_8hh_source"/>
<childnode refid="23133" relation="include">
</childnode>
</node>
<node id="23120">
<label>/usr/include/gecode/int/dom/range.hpp</label>
<link refid="range_8hpp_source"/>
<childnode refid="23104" relation="include">
</childnode>
</node>
<node id="23128">
<label>/usr/include/gecode/int/cumulative.hh</label>
<link refid="cumulative_8hh_source"/>
</node>
<node id="23129">
<label>/usr/include/gecode/int/unary.hh</label>
<link refid="unary_8hh_source"/>
<childnode refid="23128" relation="include">
</childnode>
</node>
<node id="23112">
<label>/usr/include/gecode/int/no-overlap.hh</label>
<link refid="no-overlap_8hh_source"/>
</node>
<node id="23126">
<label>/usr/include/gecode/int/support-values.hh</label>
<link refid="support-values_8hh_source"/>
<childnode refid="23101" relation="include">
</childnode>
</node>
<node id="23092">
<label>/usr/include/gecode/int/cumulatives.hh</label>
<link refid="cumulatives_8hh_source"/>
</node>
<node id="23135">
<label>/usr/include/gecode/set/channel.hh</label>
<link refid="set_2channel_8hh_source"/>
</node>
<node id="23093">
<label>/usr/include/gecode/int/distinct.hh</label>
<link refid="int_2distinct_8hh_source"/>
<childnode refid="23089" relation="include">
</childnode>
<childnode refid="23090" relation="include">
</childnode>
<childnode refid="23083" relation="include">
</childnode>
<childnode refid="23094" relation="include">
</childnode>
<childnode refid="23095" relation="include">
</childnode>
<childnode refid="23096" relation="include">
</childnode>
<childnode refid="23097" relation="include">
</childnode>
<childnode refid="23098" relation="include">
</childnode>
</node>
<node id="23071">
<label>/usr/include/gecode/gist/mainwindow.hh</label>
<link refid="mainwindow_8hh_source"/>
</node>
<node id="23149">
<label>/usr/include/gecode/set/rel.hh</label>
<link refid="set_2rel_8hh_source"/>
<childnode refid="23137" relation="include">
</childnode>
<childnode refid="23106" relation="include">
</childnode>
<childnode refid="23147" relation="include">
</childnode>
<childnode refid="23148" relation="include">
</childnode>
<childnode refid="23150" relation="include">
</childnode>
</node>
<node id="23139">
<label>/usr/include/gecode/set/int.hh</label>
<link refid="set_2int_8hh_source"/>
</node>
<node id="23073">
<label>/usr/include/gecode/gist/preferences.hh</label>
<link refid="preferences_8hh_source"/>
</node>
<node id="23122">
<label>/usr/include/gecode/int/member/prop.hpp</label>
<link refid="member_2prop_8hpp_source"/>
<childnode refid="23111" relation="include">
</childnode>
</node>
<node id="23107">
<label>/usr/include/gecode/int/exec.hh</label>
<link refid="exec_8hh_source"/>
</node>
<node id="23114">
<label>/usr/include/gecode/int/rel.hh</label>
<link refid="int_2rel_8hh_source"/>
<childnode refid="23115" relation="include">
</childnode>
<childnode refid="23116" relation="include">
</childnode>
<childnode refid="23117" relation="include">
</childnode>
<childnode refid="23077" relation="include">
</childnode>
<childnode refid="23118" relation="include">
</childnode>
<childnode refid="23119" relation="include">
</childnode>
<childnode refid="23093" relation="include">
</childnode>
<childnode refid="23120" relation="include">
</childnode>
<childnode refid="23104" relation="include">
</childnode>
<childnode refid="23121" relation="include">
</childnode>
<childnode refid="23105" relation="include">
</childnode>
<childnode refid="23108" relation="include">
</childnode>
<childnode refid="23122" relation="include">
</childnode>
<childnode refid="23123" relation="include">
</childnode>
<childnode refid="23085" relation="include">
</childnode>
<childnode refid="23124" relation="include">
</childnode>
<childnode refid="23095" relation="include">
</childnode>
<childnode refid="23096" relation="include">
</childnode>
<childnode refid="23097" relation="include">
</childnode>
<childnode refid="23125" relation="include">
</childnode>
<childnode refid="23098" relation="include">
</childnode>
</node>
<node id="23133">
<label>/usr/include/gecode/driver.hh</label>
<link refid="driver_8hh_source"/>
<childnode refid="23062" relation="include">
</childnode>
</node>
<node id="23116">
<label>/usr/include/gecode/int/arithmetic/nroot.hpp</label>
<link refid="nroot_8hpp_source"/>
<childnode refid="23077" relation="include">
</childnode>
</node>
<node id="23068">
<label>/usr/include/gecode/float.hh</label>
<link refid="float_8hh_source"/>
<childnode refid="23065" relation="include">
</childnode>
<childnode refid="23069" relation="include">
</childnode>
<childnode refid="23066" relation="include">
</childnode>
<childnode refid="23067" relation="include">
</childnode>
</node>
<node id="23115">
<label>/usr/include/gecode/int/arithmetic/max.hpp</label>
<link refid="max_8hpp_source"/>
<childnode refid="23077" relation="include">
</childnode>
</node>
<node id="23111">
<label>/usr/include/gecode/int/member.hh</label>
<link refid="member_8hh_source"/>
</node>
<node id="23063">
<label>/usr/include/gecode/flatzinc/parser.hh</label>
<link refid="parser_8hh_source"/>
</node>
<node id="23076">
<label>/usr/include/gecode/gist/qtgist.hh</label>
<link refid="qtgist_8hh_source"/>
<childnode refid="23071" relation="include">
</childnode>
<childnode refid="23072" relation="include">
</childnode>
</node>
<node id="23124">
<label>/usr/include/gecode/int/nvalues/bool-gq.hpp</label>
<link refid="bool-gq_8hpp_source"/>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23143">
<label>/usr/include/gecode/set/branch.hh</label>
<link refid="set_2branch_8hh_source"/>
</node>
<node id="23091">
<label>/usr/include/gecode/int/count.hh</label>
<link refid="count_8hh_source"/>
</node>
<node id="23075">
<label>/usr/include/gecode/gist/treecanvas.hh</label>
<link refid="treecanvas_8hh_source"/>
<childnode refid="23076" relation="include">
</childnode>
</node>
<node id="23096">
<label>/usr/include/gecode/int/nvalues/int-gq.hpp</label>
<link refid="nvalues_2int-gq_8hpp_source"/>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23119">
<label>/usr/include/gecode/int/count/rel.hpp</label>
<link refid="rel_8hpp_source"/>
<childnode refid="23091" relation="include">
</childnode>
</node>
<node id="23106">
<label>/usr/include/gecode/set/element.hh</label>
<link refid="set_2element_8hh_source"/>
</node>
<node id="23145">
<label>/usr/include/gecode/set/distinct.hh</label>
<link refid="set_2distinct_8hh_source"/>
</node>
<node id="23148">
<label>/usr/include/gecode/set/rel-op.hh</label>
<link refid="rel-op_8hh_source"/>
<childnode refid="23106" relation="include">
</childnode>
<childnode refid="23147" relation="include">
</childnode>
</node>
<node id="23097">
<label>/usr/include/gecode/int/nvalues/int-lq.hpp</label>
<link refid="nvalues_2int-lq_8hpp_source"/>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23105">
<label>/usr/include/gecode/int/element.hh</label>
<link refid="int_2element_8hh_source"/>
<childnode refid="23106" relation="include">
</childnode>
</node>
<node id="23089">
<label>/usr/include/gecode/int/channel.hh</label>
<link refid="int_2channel_8hh_source"/>
</node>
<node id="23110">
<label>/usr/include/gecode/set/ldsb.hh</label>
<link refid="set_2ldsb_8hh_source"/>
</node>
<node id="23072">
<label>/usr/include/gecode/gist/nodewidget.hh</label>
<link refid="nodewidget_8hh_source"/>
</node>
<node id="23103">
<label>/usr/include/gecode/int/view.hpp</label>
<link refid="int_2view_8hpp_source"/>
<childnode refid="23061" relation="include">
</childnode>
</node>
<node id="23078">
<label>/usr/include/gecode/int/bin-packing.hh</label>
<link refid="bin-packing_8hh_source"/>
</node>
<node id="23079">
<label>/usr/include/gecode/int/bool.hh</label>
<link refid="bool_8hh_source"/>
<childnode refid="23080" relation="include">
</childnode>
<childnode refid="23085" relation="include">
</childnode>
<childnode refid="23087" relation="include">
</childnode>
</node>
<node id="23136">
<label>/usr/include/gecode/set/channel/int.hpp</label>
<link refid="set_2channel_2int_8hpp_source"/>
<childnode refid="23135" relation="include">
</childnode>
</node>
<node id="23137">
<label>/usr/include/gecode/set/channel/sorted.hpp</label>
<link refid="sorted_8hpp_source"/>
<childnode refid="23135" relation="include">
</childnode>
</node>
<node id="23123">
<label>/usr/include/gecode/int/member/re-prop.hpp</label>
<link refid="re-prop_8hpp_source"/>
<childnode refid="23111" relation="include">
</childnode>
</node>
<node id="23109">
<label>/usr/include/gecode/int/ldsb.hh</label>
<link refid="int_2ldsb_8hh_source"/>
<childnode refid="23110" relation="include">
</childnode>
</node>
<node id="23070">
<label>/usr/include/gecode/gist.hh</label>
<link refid="gist_8hh_source"/>
<childnode refid="23071" relation="include">
</childnode>
<childnode refid="23072" relation="include">
</childnode>
<childnode refid="23073" relation="include">
</childnode>
<childnode refid="23074" relation="include">
</childnode>
<childnode refid="23075" relation="include">
</childnode>
</node>
<node id="23088">
<label>/usr/include/gecode/int/branch.hh</label>
<link refid="int_2branch_8hh_source"/>
</node>
<node id="23086">
<label>/usr/include/gecode/int/nvalues.hh</label>
<link refid="nvalues_8hh_source"/>
</node>
<node id="23118">
<label>/usr/include/gecode/int/bool/ite.hpp</label>
<link refid="ite_8hpp_source"/>
<childnode refid="23079" relation="include">
</childnode>
</node>
<node id="23125">
<label>/usr/include/gecode/int/sequence.hh</label>
<link refid="int_2sequence_8hh_source"/>
</node>
<node id="23131">
<label>/usr/include/gecode/int/view-val-graph.hh</label>
<link refid="view-val-graph_8hh_source"/>
<childnode refid="23093" relation="include">
</childnode>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23080">
<label>/usr/include/gecode/int/linear/bool-int.hpp</label>
<link refid="bool-int_8hpp_source"/>
<childnode refid="23081" relation="include">
</childnode>
</node>
<node id="23098">
<label>/usr/include/gecode/int/sorted/propagate.hpp</label>
<link refid="sorted_2propagate_8hpp_source"/>
<childnode refid="23099" relation="include">
</childnode>
</node>
<node id="23067">
<label>/usr/include/gecode/float/rel.hh</label>
<link refid="float_2rel_8hh_source"/>
<childnode refid="23065" relation="include">
</childnode>
</node>
<node id="23074">
<label>/usr/include/gecode/gist/stopbrancher.hh</label>
<link refid="stopbrancher_8hh_source"/>
</node>
<node id="23065">
<label>/usr/include/gecode/float/arithmetic.hh</label>
<link refid="float_2arithmetic_8hh_source"/>
</node>
<node id="23064">
<label>/usr/include/gecode/flatzinc/registry.hh</label>
<link refid="registry_8hh_source"/>
</node>
<node id="23084">
<label>/usr/include/gecode/int/gcc.hh</label>
<link refid="gcc_8hh_source"/>
</node>
<node id="23140">
<label>/usr/include/gecode/set/int/minmax.hpp</label>
<link refid="minmax_8hpp_source"/>
<childnode refid="23139" relation="include">
</childnode>
</node>
<node id="23146">
<label>/usr/include/gecode/set/precede.hh</label>
<link refid="set_2precede_8hh_source"/>
</node>
<node id="23066">
<label>/usr/include/gecode/float/linear.hh</label>
<link refid="float_2linear_8hh_source"/>
</node>
<node id="23130">
<label>/usr/include/gecode/int/val-set.hh</label>
<link refid="val-set_8hh_source"/>
<childnode refid="23111" relation="include">
</childnode>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23061">
<label>/usr/include/gecode/int.hh</label>
<link refid="int_8hh_source"/>
<childnode refid="23062" relation="include">
</childnode>
<childnode refid="23065" relation="include">
</childnode>
<childnode refid="23066" relation="include">
</childnode>
<childnode refid="23067" relation="include">
</childnode>
<childnode refid="23068" relation="include">
</childnode>
<childnode refid="23070" relation="include">
</childnode>
<childnode refid="23077" relation="include">
</childnode>
<childnode refid="23078" relation="include">
</childnode>
<childnode refid="23079" relation="include">
</childnode>
<childnode refid="23088" relation="include">
</childnode>
<childnode refid="23089" relation="include">
</childnode>
<childnode refid="23090" relation="include">
</childnode>
<childnode refid="23091" relation="include">
</childnode>
<childnode refid="23092" relation="include">
</childnode>
<childnode refid="23093" relation="include">
</childnode>
<childnode refid="23100" relation="include">
</childnode>
<childnode refid="23104" relation="include">
</childnode>
<childnode refid="23105" relation="include">
</childnode>
<childnode refid="23107" relation="include">
</childnode>
<childnode refid="23108" relation="include">
</childnode>
<childnode refid="23084" relation="include">
</childnode>
<childnode refid="23109" relation="include">
</childnode>
<childnode refid="23081" relation="include">
</childnode>
<childnode refid="23111" relation="include">
</childnode>
<childnode refid="23112" relation="include">
</childnode>
<childnode refid="23086" relation="include">
</childnode>
<childnode refid="23113" relation="include">
</childnode>
<childnode refid="23114" relation="include">
</childnode>
<childnode refid="23125" relation="include">
</childnode>
<childnode refid="23099" relation="include">
</childnode>
<childnode refid="23126" relation="include">
</childnode>
<childnode refid="23127" relation="include">
</childnode>
<childnode refid="23130" relation="include">
</childnode>
<childnode refid="23131" relation="include">
</childnode>
<childnode refid="23132" relation="include">
</childnode>
<childnode refid="23134" relation="include">
</childnode>
<childnode refid="23136" relation="include">
</childnode>
<childnode refid="23137" relation="include">
</childnode>
<childnode refid="23138" relation="include">
</childnode>
<childnode refid="23140" relation="include">
</childnode>
<childnode refid="23141" relation="include">
</childnode>
<childnode refid="23142" relation="include">
</childnode>
</node>
<node id="23085">
<label>/usr/include/gecode/int/nvalues/bool-eq.hpp</label>
<link refid="bool-eq_8hpp_source"/>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23087">
<label>/usr/include/gecode/int/nvalues/bool-lq.hpp</label>
<link refid="bool-lq_8hpp_source"/>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23127">
<label>/usr/include/gecode/int/task.hh</label>
<link refid="task_8hh_source"/>
<childnode refid="23128" relation="include">
</childnode>
<childnode refid="23129" relation="include">
</childnode>
</node>
<node id="23108">
<label>/usr/include/gecode/int/extensional.hh</label>
<link refid="extensional_8hh_source"/>
</node>
<node id="23099">
<label>/usr/include/gecode/int/sorted.hh</label>
<link refid="sorted_8hh_source"/>
</node>
<node id="23141">
<label>/usr/include/gecode/set/int/weights.hpp</label>
<link refid="weights_8hpp_source"/>
<childnode refid="23139" relation="include">
</childnode>
</node>
<node id="23113">
<label>/usr/include/gecode/int/precede.hh</label>
<link refid="int_2precede_8hh_source"/>
</node>
<node id="23095">
<label>/usr/include/gecode/int/nvalues/int-eq.hpp</label>
<link refid="nvalues_2int-eq_8hpp_source"/>
<childnode refid="23086" relation="include">
</childnode>
</node>
<node id="23069">
<label>/usr/include/gecode/float/branch.hh</label>
<link refid="float_2branch_8hh_source"/>
</node>
<node id="23150">
<label>/usr/include/gecode/set/sequence.hh</label>
<link refid="set_2sequence_8hh_source"/>
</node>
<node id="23138">
<label>/usr/include/gecode/set/int/card.hpp</label>
<link refid="card_8hpp_source"/>
<childnode refid="23139" relation="include">
</childnode>
</node>
<node id="23059">
<label>/usr/include/gecode/iter/ranges-operations.hpp</label>
<link refid="ranges-operations.hpp"/>
<childnode refid="23060" relation="include">
</childnode>
</node>
<node id="23082">
<label>/usr/include/gecode/int/arithmetic/divmod.hpp</label>
<link refid="divmod_8hpp_source"/>
<childnode refid="23077" relation="include">
</childnode>
</node>
<node id="23081">
<label>/usr/include/gecode/int/linear.hh</label>
<link refid="int_2linear_8hh_source"/>
<childnode refid="23082" relation="include">
</childnode>
<childnode refid="23077" relation="include">
</childnode>
<childnode refid="23083" relation="include">
</childnode>
</node>
<node id="23104">
<label>/usr/include/gecode/int/dom.hh</label>
<link refid="dom_8hh_source"/>
</node>
<node id="23134">
<label>/usr/include/gecode/set/channel/bool.hpp</label>
<link refid="set_2channel_2bool_8hpp_source"/>
<childnode refid="23135" relation="include">
</childnode>
</node>
<node id="23121">
<label>/usr/include/gecode/int/element/pair.hpp</label>
<link refid="pair_8hpp_source"/>
<childnode refid="23105" relation="include">
</childnode>
</node>
<node id="23142">
<label>/usr/include/gecode/set.hh</label>
<link refid="set_8hh_source"/>
<childnode refid="23143" relation="include">
</childnode>
<childnode refid="23137" relation="include">
</childnode>
<childnode refid="23135" relation="include">
</childnode>
<childnode refid="23144" relation="include">
</childnode>
<childnode refid="23145" relation="include">
</childnode>
<childnode refid="23106" relation="include">
</childnode>
<childnode refid="23138" relation="include">
</childnode>
<childnode refid="23140" relation="include">
</childnode>
<childnode refid="23141" relation="include">
</childnode>
<childnode refid="23139" relation="include">
</childnode>
<childnode refid="23110" relation="include">
</childnode>
<childnode refid="23146" relation="include">
</childnode>
<childnode refid="23147" relation="include">
</childnode>
<childnode refid="23148" relation="include">
</childnode>
<childnode refid="23149" relation="include">
</childnode>
<childnode refid="23150" relation="include">
</childnode>
</node>
<node id="23060">
<label>/usr/include/gecode/iter.hh</label>
<link refid="iter_8hh_source"/>
<childnode refid="23061" relation="include">
</childnode>
<childnode refid="23142" relation="include">
</childnode>
</node>
<node id="23090">
<label>/usr/include/gecode/int/circuit.hh</label>
<link refid="circuit_8hh_source"/>
</node>
<node id="23147">
<label>/usr/include/gecode/set/rel-op/post.hpp</label>
<link refid="set_2rel-op_2post_8hpp_source"/>
<childnode refid="23148" relation="include">
</childnode>
</node>
<node id="23117">
<label>/usr/include/gecode/int/arithmetic/pow.hpp</label>
<link refid="pow_8hpp_source"/>
<childnode refid="23077" relation="include">
</childnode>
</node>
<node id="23144">
<label>/usr/include/gecode/set/convex.hh</label>
<link refid="convex_8hh_source"/>
</node>
</invincdepgraph>
<innernamespace refid="namespaceGecode">Gecode</innernamespace>
<innernamespace refid="namespaceGecode_1_1Iter">Gecode::Iter</innernamespace>
<innernamespace refid="namespaceGecode_1_1Iter_1_1Ranges">Gecode::Iter::Ranges</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/>2004</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2010-07-28<sp/>17:35:33<sp/>+0200<sp/>(Wed,<sp/>28<sp/>Jul<sp/>2010)<sp/>$<sp/>by<sp/>$Author:<sp/>schulte<sp/>$</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>11294<sp/>$</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>Gecode,<sp/>the<sp/>generic<sp/>constraint</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/>Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>*<sp/><sp/>a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/>&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="keyword">namespace<sp/></highlight><highlight class="normal">Gecode<sp/>{<sp/></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Iter<sp/>{<sp/></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Ranges<sp/>{</highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
<codeline lineno="47"><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="49"><highlight class="normal"><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>(I&amp;<sp/>i);</highlight></codeline>
<codeline lineno="50"><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><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,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>J&gt;</highlight></codeline>
<codeline lineno="53"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1gabc0077b3bcdd3d4e4ff6ab306f163c36" kindref="member">equal</ref>(I&amp;<sp/>i,<sp/>J&amp;<sp/>j);</highlight></codeline>
<codeline lineno="54"><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,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>J&gt;</highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" kindref="member">subset</ref>(I&amp;<sp/>i,<sp/>J&amp;<sp/>j);</highlight></codeline>
<codeline lineno="58"><highlight class="normal"></highlight></codeline>
<codeline lineno="60"><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,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>J&gt;</highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1gae894b09d56b4a24232d79b577c8fffce" kindref="member">disjoint</ref>(I&amp;<sp/>i,<sp/>J&amp;<sp/>j);</highlight></codeline>
<codeline lineno="62"><highlight class="normal"></highlight></codeline>
<codeline lineno="64" refid="group__FuncIterRangesOp_1ga231b2059e20903d95675dab6351c0694" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga231b2059e20903d95675dab6351c0694" kindref="member">CompareStatus</ref><sp/>{</highlight></codeline>
<codeline lineno="65" refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a2638a08c99d74d5c11119e1c3aa82056" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a2638a08c99d74d5c11119e1c3aa82056" kindref="member">CS_SUBSET</ref>,<sp/><sp/><sp/></highlight></codeline>
<codeline lineno="66" refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a5dbce948b4886b5ad1caf216d1ca4d3d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a5dbce948b4886b5ad1caf216d1ca4d3d" kindref="member">CS_DISJOINT</ref>,<sp/></highlight></codeline>
<codeline lineno="67" refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a1823ed20e48255de4d5a0cf6644e8fa7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a1823ed20e48255de4d5a0cf6644e8fa7" kindref="member">CS_NONE</ref><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="69"><highlight class="normal"></highlight></codeline>
<codeline lineno="71"><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,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>J&gt;</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><ref refid="group__FuncIterRangesOp_1ga231b2059e20903d95675dab6351c0694" kindref="member">CompareStatus</ref><sp/><ref refid="group__FuncIterRangesOp_1ga544c763f5400045d10bf8affc0768df4" kindref="member">compare</ref>(I&amp;<sp/>i,<sp/>J&amp;<sp/>j);</highlight></codeline>
<codeline lineno="74"><highlight class="normal"></highlight></codeline>
<codeline lineno="75"><highlight class="normal"></highlight></codeline>
<codeline lineno="76"><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="77"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="78" refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>(I&amp;<sp/>i)<sp/>{</highlight></codeline>
<codeline lineno="79"><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/>0;</highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(i())<sp/>{</highlight></codeline>
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/>+=<sp/>i.width();<sp/>++i;</highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>s;</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="85"><highlight class="normal"></highlight></codeline>
<codeline lineno="86"><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,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>J&gt;</highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="88" refid="group__FuncIterRangesOp_1gabc0077b3bcdd3d4e4ff6ab306f163c36" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="group__FuncIterRangesOp_1gabc0077b3bcdd3d4e4ff6ab306f163c36" kindref="member">equal</ref>(I&amp;<sp/>i,<sp/>J&amp;<sp/>j)<sp/>{</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Are<sp/>i<sp/>and<sp/>j<sp/>equal?</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(i()<sp/>&amp;&amp;<sp/>j())</highlight></codeline>
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((i.min()<sp/>==<sp/>j.min())<sp/>&amp;&amp;<sp/>(i.max()<sp/>==<sp/>j.max()))<sp/>{</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++i;<sp/>++j;</highlight></codeline>
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="94"><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="95"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>!i()<sp/>&amp;&amp;<sp/>!j();</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/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>J&gt;</highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="101" refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" kindref="member">subset</ref>(I&amp;<sp/>i,<sp/>J&amp;<sp/>j)<sp/>{</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Is<sp/>i<sp/>subset<sp/>of<sp/>j?</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(i()<sp/>&amp;&amp;<sp/>j())</highlight></codeline>
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(j.max()<sp/>&lt;<sp/>i.min())<sp/>{</highlight></codeline>
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++j;</highlight></codeline>
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((i.min()<sp/>&gt;=<sp/>j.min())<sp/>&amp;&amp;<sp/>(i.max()<sp/>&lt;=<sp/>j.max()))<sp/>{</highlight></codeline>
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++i;</highlight></codeline>
<codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="109"><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="110"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>!i();</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/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>I,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>J&gt;</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="116" refid="group__FuncIterRangesOp_1gae894b09d56b4a24232d79b577c8fffce" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="group__FuncIterRangesOp_1gae894b09d56b4a24232d79b577c8fffce" kindref="member">disjoint</ref>(I&amp;<sp/>i,<sp/>J&amp;<sp/>j)<sp/>{</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Are<sp/>i<sp/>and<sp/>j<sp/>disjoint?</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(i()<sp/>&amp;&amp;<sp/>j())</highlight></codeline>
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(j.max()<sp/>&lt;<sp/>i.min())<sp/>{</highlight></codeline>
<codeline lineno="120"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++j;</highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(i.max()<sp/>&lt;<sp/>j.min())<sp/>{</highlight></codeline>
<codeline lineno="122"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++i;</highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="124"><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="125"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="126"><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="127"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="128"><highlight class="normal"></highlight></codeline>
<codeline lineno="129"><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,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>J&gt;</highlight></codeline>
<codeline lineno="130"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="group__FuncIterRangesOp_1ga231b2059e20903d95675dab6351c0694" kindref="member">CompareStatus</ref></highlight></codeline>
<codeline lineno="131" refid="group__FuncIterRangesOp_1ga544c763f5400045d10bf8affc0768df4" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="group__FuncIterRangesOp_1ga544c763f5400045d10bf8affc0768df4" kindref="member">compare</ref>(I&amp;<sp/>i,<sp/>J&amp;<sp/>j)<sp/>{</highlight></codeline>
<codeline lineno="132"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga3e3d455a5dfd24404184fa2914cf3c60" kindref="member">subset</ref><sp/>=<sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1gae894b09d56b4a24232d79b577c8fffce" kindref="member">disjoint</ref><sp/>=<sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="134"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(i()<sp/>&amp;&amp;<sp/>j())<sp/>{</highlight></codeline>
<codeline lineno="135"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(j.max()<sp/>&lt;<sp/>i.min())<sp/>{</highlight></codeline>
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++j;</highlight></codeline>
<codeline lineno="137"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(i.max()<sp/>&lt;<sp/>j.min())<sp/>{</highlight></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++i;<sp/>subset<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="139"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((i.min()<sp/>&gt;=<sp/>j.min())<sp/>&amp;&amp;<sp/>(i.max()<sp/>&lt;=<sp/>j.max()))<sp/>{</highlight></codeline>
<codeline lineno="140"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++i;<sp/>disjoint<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(i.max()<sp/>&lt;=<sp/>j.max())<sp/>{</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++i;<sp/>disjoint<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;<sp/>subset<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(j.max()<sp/>&lt;=<sp/>i.max())<sp/>{</highlight></codeline>
<codeline lineno="144"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>++j;<sp/>disjoint<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;<sp/>subset<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(i())</highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>subset<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="149"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(subset)</highlight></codeline>
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a2638a08c99d74d5c11119e1c3aa82056" kindref="member">CS_SUBSET</ref>;</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>disjoint<sp/>?<sp/><ref refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a5dbce948b4886b5ad1caf216d1ca4d3d" kindref="member">CS_DISJOINT</ref><sp/>:<sp/><ref refid="group__FuncIterRangesOp_1gga231b2059e20903d95675dab6351c0694a1823ed20e48255de4d5a0cf6644e8fa7" kindref="member">CS_NONE</ref>;</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">}}}</highlight></codeline>
<codeline lineno="155"><highlight class="normal"></highlight></codeline>
<codeline lineno="156"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>iter-any</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="157"><highlight class="normal"></highlight></codeline>
</programlisting>
<location file="/usr/include/gecode/iter/ranges-operations.hpp"/>
</compounddef>
</doxygen>