905 lines
66 KiB
XML
905 lines
66 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="tuple-set_8hpp" kind="file">
|
|
<compoundname>tuple-set.hpp</compoundname>
|
|
<includes local="no">sstream</includes>
|
|
<includedby refid="int_8hh" local="no">/usr/include/gecode/int.hh</includedby>
|
|
<incdepgraph>
|
|
<node id="15423">
|
|
<label>/usr/include/gecode/int/extensional/tuple-set.hpp</label>
|
|
<link refid="tuple-set.hpp"/>
|
|
<childnode refid="15424" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15424">
|
|
<label>sstream</label>
|
|
</node>
|
|
</incdepgraph>
|
|
<invincdepgraph>
|
|
<node id="15459">
|
|
<label>/usr/include/gecode/int/nvalues/int-base.hpp</label>
|
|
<link refid="nvalues_2int-base_8hpp_source"/>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15442">
|
|
<label>/usr/include/gecode/int/arithmetic.hh</label>
|
|
<link refid="int_2arithmetic_8hh_source"/>
|
|
</node>
|
|
<node id="15467">
|
|
<label>/usr/include/gecode/int/view/scale.hpp</label>
|
|
<link refid="int_2view_2scale_8hpp_source"/>
|
|
<childnode refid="15468" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15465">
|
|
<label>/usr/include/gecode/int/div.hh</label>
|
|
<link refid="div_8hh_source"/>
|
|
<childnode refid="15466" relation="include">
|
|
</childnode>
|
|
<childnode refid="15467" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15466">
|
|
<label>/usr/include/gecode/int/arithmetic/mult.hpp</label>
|
|
<link refid="int_2arithmetic_2mult_8hpp_source"/>
|
|
<childnode refid="15442" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15427">
|
|
<label>/usr/include/gecode/flatzinc.hh</label>
|
|
<link refid="flatzinc_8hh_source"/>
|
|
<childnode refid="15428" relation="include">
|
|
</childnode>
|
|
<childnode refid="15429" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15448">
|
|
<label>/usr/include/gecode/int/gcc/post.hpp</label>
|
|
<link refid="int_2gcc_2post_8hpp_source"/>
|
|
<childnode refid="15449" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15497">
|
|
<label>/usr/include/gecode/minimodel.hh</label>
|
|
<link refid="minimodel_8hh_source"/>
|
|
<childnode refid="15498" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15485">
|
|
<label>/usr/include/gecode/int/dom/range.hpp</label>
|
|
<link refid="range_8hpp_source"/>
|
|
<childnode refid="15469" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15493">
|
|
<label>/usr/include/gecode/int/cumulative.hh</label>
|
|
<link refid="cumulative_8hh_source"/>
|
|
</node>
|
|
<node id="15494">
|
|
<label>/usr/include/gecode/int/unary.hh</label>
|
|
<link refid="unary_8hh_source"/>
|
|
<childnode refid="15493" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15477">
|
|
<label>/usr/include/gecode/int/no-overlap.hh</label>
|
|
<link refid="no-overlap_8hh_source"/>
|
|
</node>
|
|
<node id="15491">
|
|
<label>/usr/include/gecode/int/support-values.hh</label>
|
|
<link refid="support-values_8hh_source"/>
|
|
<childnode refid="15466" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15457">
|
|
<label>/usr/include/gecode/int/cumulatives.hh</label>
|
|
<link refid="cumulatives_8hh_source"/>
|
|
</node>
|
|
<node id="15500">
|
|
<label>/usr/include/gecode/set/channel.hh</label>
|
|
<link refid="set_2channel_8hh_source"/>
|
|
</node>
|
|
<node id="15458">
|
|
<label>/usr/include/gecode/int/distinct.hh</label>
|
|
<link refid="int_2distinct_8hh_source"/>
|
|
<childnode refid="15454" relation="include">
|
|
</childnode>
|
|
<childnode refid="15455" relation="include">
|
|
</childnode>
|
|
<childnode refid="15448" relation="include">
|
|
</childnode>
|
|
<childnode refid="15459" relation="include">
|
|
</childnode>
|
|
<childnode refid="15460" relation="include">
|
|
</childnode>
|
|
<childnode refid="15461" relation="include">
|
|
</childnode>
|
|
<childnode refid="15462" relation="include">
|
|
</childnode>
|
|
<childnode refid="15463" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15436">
|
|
<label>/usr/include/gecode/gist/mainwindow.hh</label>
|
|
<link refid="mainwindow_8hh_source"/>
|
|
</node>
|
|
<node id="15514">
|
|
<label>/usr/include/gecode/set/rel.hh</label>
|
|
<link refid="set_2rel_8hh_source"/>
|
|
<childnode refid="15502" relation="include">
|
|
</childnode>
|
|
<childnode refid="15471" relation="include">
|
|
</childnode>
|
|
<childnode refid="15512" relation="include">
|
|
</childnode>
|
|
<childnode refid="15513" relation="include">
|
|
</childnode>
|
|
<childnode refid="15515" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15504">
|
|
<label>/usr/include/gecode/set/int.hh</label>
|
|
<link refid="set_2int_8hh_source"/>
|
|
</node>
|
|
<node id="15438">
|
|
<label>/usr/include/gecode/gist/preferences.hh</label>
|
|
<link refid="preferences_8hh_source"/>
|
|
</node>
|
|
<node id="15487">
|
|
<label>/usr/include/gecode/int/member/prop.hpp</label>
|
|
<link refid="member_2prop_8hpp_source"/>
|
|
<childnode refid="15476" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15472">
|
|
<label>/usr/include/gecode/int/exec.hh</label>
|
|
<link refid="exec_8hh_source"/>
|
|
</node>
|
|
<node id="15479">
|
|
<label>/usr/include/gecode/int/rel.hh</label>
|
|
<link refid="int_2rel_8hh_source"/>
|
|
<childnode refid="15480" relation="include">
|
|
</childnode>
|
|
<childnode refid="15481" relation="include">
|
|
</childnode>
|
|
<childnode refid="15482" relation="include">
|
|
</childnode>
|
|
<childnode refid="15442" relation="include">
|
|
</childnode>
|
|
<childnode refid="15483" relation="include">
|
|
</childnode>
|
|
<childnode refid="15484" relation="include">
|
|
</childnode>
|
|
<childnode refid="15458" relation="include">
|
|
</childnode>
|
|
<childnode refid="15485" relation="include">
|
|
</childnode>
|
|
<childnode refid="15469" relation="include">
|
|
</childnode>
|
|
<childnode refid="15486" relation="include">
|
|
</childnode>
|
|
<childnode refid="15470" relation="include">
|
|
</childnode>
|
|
<childnode refid="15473" relation="include">
|
|
</childnode>
|
|
<childnode refid="15487" relation="include">
|
|
</childnode>
|
|
<childnode refid="15488" relation="include">
|
|
</childnode>
|
|
<childnode refid="15450" relation="include">
|
|
</childnode>
|
|
<childnode refid="15489" relation="include">
|
|
</childnode>
|
|
<childnode refid="15460" relation="include">
|
|
</childnode>
|
|
<childnode refid="15461" relation="include">
|
|
</childnode>
|
|
<childnode refid="15462" relation="include">
|
|
</childnode>
|
|
<childnode refid="15490" relation="include">
|
|
</childnode>
|
|
<childnode refid="15463" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15498">
|
|
<label>/usr/include/gecode/driver.hh</label>
|
|
<link refid="driver_8hh_source"/>
|
|
<childnode refid="15427" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15481">
|
|
<label>/usr/include/gecode/int/arithmetic/nroot.hpp</label>
|
|
<link refid="nroot_8hpp_source"/>
|
|
<childnode refid="15442" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15433">
|
|
<label>/usr/include/gecode/float.hh</label>
|
|
<link refid="float_8hh_source"/>
|
|
<childnode refid="15430" relation="include">
|
|
</childnode>
|
|
<childnode refid="15434" relation="include">
|
|
</childnode>
|
|
<childnode refid="15431" relation="include">
|
|
</childnode>
|
|
<childnode refid="15432" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15480">
|
|
<label>/usr/include/gecode/int/arithmetic/max.hpp</label>
|
|
<link refid="max_8hpp_source"/>
|
|
<childnode refid="15442" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15476">
|
|
<label>/usr/include/gecode/int/member.hh</label>
|
|
<link refid="member_8hh_source"/>
|
|
</node>
|
|
<node id="15428">
|
|
<label>/usr/include/gecode/flatzinc/parser.hh</label>
|
|
<link refid="parser_8hh_source"/>
|
|
</node>
|
|
<node id="15441">
|
|
<label>/usr/include/gecode/gist/qtgist.hh</label>
|
|
<link refid="qtgist_8hh_source"/>
|
|
<childnode refid="15436" relation="include">
|
|
</childnode>
|
|
<childnode refid="15437" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15489">
|
|
<label>/usr/include/gecode/int/nvalues/bool-gq.hpp</label>
|
|
<link refid="bool-gq_8hpp_source"/>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15508">
|
|
<label>/usr/include/gecode/set/branch.hh</label>
|
|
<link refid="set_2branch_8hh_source"/>
|
|
</node>
|
|
<node id="15456">
|
|
<label>/usr/include/gecode/int/count.hh</label>
|
|
<link refid="count_8hh_source"/>
|
|
</node>
|
|
<node id="15440">
|
|
<label>/usr/include/gecode/gist/treecanvas.hh</label>
|
|
<link refid="treecanvas_8hh_source"/>
|
|
<childnode refid="15441" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15461">
|
|
<label>/usr/include/gecode/int/nvalues/int-gq.hpp</label>
|
|
<link refid="nvalues_2int-gq_8hpp_source"/>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15484">
|
|
<label>/usr/include/gecode/int/count/rel.hpp</label>
|
|
<link refid="rel_8hpp_source"/>
|
|
<childnode refid="15456" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15471">
|
|
<label>/usr/include/gecode/set/element.hh</label>
|
|
<link refid="set_2element_8hh_source"/>
|
|
</node>
|
|
<node id="15510">
|
|
<label>/usr/include/gecode/set/distinct.hh</label>
|
|
<link refid="set_2distinct_8hh_source"/>
|
|
</node>
|
|
<node id="15513">
|
|
<label>/usr/include/gecode/set/rel-op.hh</label>
|
|
<link refid="rel-op_8hh_source"/>
|
|
<childnode refid="15471" relation="include">
|
|
</childnode>
|
|
<childnode refid="15512" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15462">
|
|
<label>/usr/include/gecode/int/nvalues/int-lq.hpp</label>
|
|
<link refid="nvalues_2int-lq_8hpp_source"/>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15470">
|
|
<label>/usr/include/gecode/int/element.hh</label>
|
|
<link refid="int_2element_8hh_source"/>
|
|
<childnode refid="15471" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15454">
|
|
<label>/usr/include/gecode/int/channel.hh</label>
|
|
<link refid="int_2channel_8hh_source"/>
|
|
</node>
|
|
<node id="15475">
|
|
<label>/usr/include/gecode/set/ldsb.hh</label>
|
|
<link refid="set_2ldsb_8hh_source"/>
|
|
</node>
|
|
<node id="15437">
|
|
<label>/usr/include/gecode/gist/nodewidget.hh</label>
|
|
<link refid="nodewidget_8hh_source"/>
|
|
</node>
|
|
<node id="15468">
|
|
<label>/usr/include/gecode/int/view.hpp</label>
|
|
<link refid="int_2view_8hpp_source"/>
|
|
<childnode refid="15426" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15443">
|
|
<label>/usr/include/gecode/int/bin-packing.hh</label>
|
|
<link refid="bin-packing_8hh_source"/>
|
|
</node>
|
|
<node id="15444">
|
|
<label>/usr/include/gecode/int/bool.hh</label>
|
|
<link refid="bool_8hh_source"/>
|
|
<childnode refid="15445" relation="include">
|
|
</childnode>
|
|
<childnode refid="15450" relation="include">
|
|
</childnode>
|
|
<childnode refid="15452" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15501">
|
|
<label>/usr/include/gecode/set/channel/int.hpp</label>
|
|
<link refid="set_2channel_2int_8hpp_source"/>
|
|
<childnode refid="15500" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15502">
|
|
<label>/usr/include/gecode/set/channel/sorted.hpp</label>
|
|
<link refid="sorted_8hpp_source"/>
|
|
<childnode refid="15500" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15488">
|
|
<label>/usr/include/gecode/int/member/re-prop.hpp</label>
|
|
<link refid="re-prop_8hpp_source"/>
|
|
<childnode refid="15476" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15474">
|
|
<label>/usr/include/gecode/int/ldsb.hh</label>
|
|
<link refid="int_2ldsb_8hh_source"/>
|
|
<childnode refid="15475" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15435">
|
|
<label>/usr/include/gecode/gist.hh</label>
|
|
<link refid="gist_8hh_source"/>
|
|
<childnode refid="15436" relation="include">
|
|
</childnode>
|
|
<childnode refid="15437" relation="include">
|
|
</childnode>
|
|
<childnode refid="15438" relation="include">
|
|
</childnode>
|
|
<childnode refid="15439" relation="include">
|
|
</childnode>
|
|
<childnode refid="15440" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15453">
|
|
<label>/usr/include/gecode/int/branch.hh</label>
|
|
<link refid="int_2branch_8hh_source"/>
|
|
</node>
|
|
<node id="15451">
|
|
<label>/usr/include/gecode/int/nvalues.hh</label>
|
|
<link refid="nvalues_8hh_source"/>
|
|
</node>
|
|
<node id="15483">
|
|
<label>/usr/include/gecode/int/bool/ite.hpp</label>
|
|
<link refid="ite_8hpp_source"/>
|
|
<childnode refid="15444" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15490">
|
|
<label>/usr/include/gecode/int/sequence.hh</label>
|
|
<link refid="int_2sequence_8hh_source"/>
|
|
</node>
|
|
<node id="15496">
|
|
<label>/usr/include/gecode/int/view-val-graph.hh</label>
|
|
<link refid="view-val-graph_8hh_source"/>
|
|
<childnode refid="15458" relation="include">
|
|
</childnode>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15445">
|
|
<label>/usr/include/gecode/int/linear/bool-int.hpp</label>
|
|
<link refid="bool-int_8hpp_source"/>
|
|
<childnode refid="15446" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15463">
|
|
<label>/usr/include/gecode/int/sorted/propagate.hpp</label>
|
|
<link refid="sorted_2propagate_8hpp_source"/>
|
|
<childnode refid="15464" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15425">
|
|
<label>/usr/include/gecode/int/extensional/tuple-set.hpp</label>
|
|
<link refid="tuple-set.hpp"/>
|
|
<childnode refid="15426" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15432">
|
|
<label>/usr/include/gecode/float/rel.hh</label>
|
|
<link refid="float_2rel_8hh_source"/>
|
|
<childnode refid="15430" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15439">
|
|
<label>/usr/include/gecode/gist/stopbrancher.hh</label>
|
|
<link refid="stopbrancher_8hh_source"/>
|
|
</node>
|
|
<node id="15430">
|
|
<label>/usr/include/gecode/float/arithmetic.hh</label>
|
|
<link refid="float_2arithmetic_8hh_source"/>
|
|
</node>
|
|
<node id="15429">
|
|
<label>/usr/include/gecode/flatzinc/registry.hh</label>
|
|
<link refid="registry_8hh_source"/>
|
|
</node>
|
|
<node id="15449">
|
|
<label>/usr/include/gecode/int/gcc.hh</label>
|
|
<link refid="gcc_8hh_source"/>
|
|
</node>
|
|
<node id="15505">
|
|
<label>/usr/include/gecode/set/int/minmax.hpp</label>
|
|
<link refid="minmax_8hpp_source"/>
|
|
<childnode refid="15504" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15511">
|
|
<label>/usr/include/gecode/set/precede.hh</label>
|
|
<link refid="set_2precede_8hh_source"/>
|
|
</node>
|
|
<node id="15431">
|
|
<label>/usr/include/gecode/float/linear.hh</label>
|
|
<link refid="float_2linear_8hh_source"/>
|
|
</node>
|
|
<node id="15495">
|
|
<label>/usr/include/gecode/int/val-set.hh</label>
|
|
<link refid="val-set_8hh_source"/>
|
|
<childnode refid="15476" relation="include">
|
|
</childnode>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15426">
|
|
<label>/usr/include/gecode/int.hh</label>
|
|
<link refid="int_8hh_source"/>
|
|
<childnode refid="15427" relation="include">
|
|
</childnode>
|
|
<childnode refid="15430" relation="include">
|
|
</childnode>
|
|
<childnode refid="15431" relation="include">
|
|
</childnode>
|
|
<childnode refid="15432" relation="include">
|
|
</childnode>
|
|
<childnode refid="15433" relation="include">
|
|
</childnode>
|
|
<childnode refid="15435" relation="include">
|
|
</childnode>
|
|
<childnode refid="15442" relation="include">
|
|
</childnode>
|
|
<childnode refid="15443" relation="include">
|
|
</childnode>
|
|
<childnode refid="15444" relation="include">
|
|
</childnode>
|
|
<childnode refid="15453" relation="include">
|
|
</childnode>
|
|
<childnode refid="15454" relation="include">
|
|
</childnode>
|
|
<childnode refid="15455" relation="include">
|
|
</childnode>
|
|
<childnode refid="15456" relation="include">
|
|
</childnode>
|
|
<childnode refid="15457" relation="include">
|
|
</childnode>
|
|
<childnode refid="15458" relation="include">
|
|
</childnode>
|
|
<childnode refid="15465" relation="include">
|
|
</childnode>
|
|
<childnode refid="15469" relation="include">
|
|
</childnode>
|
|
<childnode refid="15470" relation="include">
|
|
</childnode>
|
|
<childnode refid="15472" relation="include">
|
|
</childnode>
|
|
<childnode refid="15473" relation="include">
|
|
</childnode>
|
|
<childnode refid="15449" relation="include">
|
|
</childnode>
|
|
<childnode refid="15474" relation="include">
|
|
</childnode>
|
|
<childnode refid="15446" relation="include">
|
|
</childnode>
|
|
<childnode refid="15476" relation="include">
|
|
</childnode>
|
|
<childnode refid="15477" relation="include">
|
|
</childnode>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
<childnode refid="15478" relation="include">
|
|
</childnode>
|
|
<childnode refid="15479" relation="include">
|
|
</childnode>
|
|
<childnode refid="15490" relation="include">
|
|
</childnode>
|
|
<childnode refid="15464" relation="include">
|
|
</childnode>
|
|
<childnode refid="15491" relation="include">
|
|
</childnode>
|
|
<childnode refid="15492" relation="include">
|
|
</childnode>
|
|
<childnode refid="15495" relation="include">
|
|
</childnode>
|
|
<childnode refid="15496" relation="include">
|
|
</childnode>
|
|
<childnode refid="15497" relation="include">
|
|
</childnode>
|
|
<childnode refid="15499" relation="include">
|
|
</childnode>
|
|
<childnode refid="15501" relation="include">
|
|
</childnode>
|
|
<childnode refid="15502" relation="include">
|
|
</childnode>
|
|
<childnode refid="15503" relation="include">
|
|
</childnode>
|
|
<childnode refid="15505" relation="include">
|
|
</childnode>
|
|
<childnode refid="15506" relation="include">
|
|
</childnode>
|
|
<childnode refid="15507" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15450">
|
|
<label>/usr/include/gecode/int/nvalues/bool-eq.hpp</label>
|
|
<link refid="bool-eq_8hpp_source"/>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15452">
|
|
<label>/usr/include/gecode/int/nvalues/bool-lq.hpp</label>
|
|
<link refid="bool-lq_8hpp_source"/>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15492">
|
|
<label>/usr/include/gecode/int/task.hh</label>
|
|
<link refid="task_8hh_source"/>
|
|
<childnode refid="15493" relation="include">
|
|
</childnode>
|
|
<childnode refid="15494" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15473">
|
|
<label>/usr/include/gecode/int/extensional.hh</label>
|
|
<link refid="extensional_8hh_source"/>
|
|
</node>
|
|
<node id="15464">
|
|
<label>/usr/include/gecode/int/sorted.hh</label>
|
|
<link refid="sorted_8hh_source"/>
|
|
</node>
|
|
<node id="15506">
|
|
<label>/usr/include/gecode/set/int/weights.hpp</label>
|
|
<link refid="weights_8hpp_source"/>
|
|
<childnode refid="15504" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15478">
|
|
<label>/usr/include/gecode/int/precede.hh</label>
|
|
<link refid="int_2precede_8hh_source"/>
|
|
</node>
|
|
<node id="15460">
|
|
<label>/usr/include/gecode/int/nvalues/int-eq.hpp</label>
|
|
<link refid="nvalues_2int-eq_8hpp_source"/>
|
|
<childnode refid="15451" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15434">
|
|
<label>/usr/include/gecode/float/branch.hh</label>
|
|
<link refid="float_2branch_8hh_source"/>
|
|
</node>
|
|
<node id="15515">
|
|
<label>/usr/include/gecode/set/sequence.hh</label>
|
|
<link refid="set_2sequence_8hh_source"/>
|
|
</node>
|
|
<node id="15503">
|
|
<label>/usr/include/gecode/set/int/card.hpp</label>
|
|
<link refid="card_8hpp_source"/>
|
|
<childnode refid="15504" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15447">
|
|
<label>/usr/include/gecode/int/arithmetic/divmod.hpp</label>
|
|
<link refid="divmod_8hpp_source"/>
|
|
<childnode refid="15442" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15446">
|
|
<label>/usr/include/gecode/int/linear.hh</label>
|
|
<link refid="int_2linear_8hh_source"/>
|
|
<childnode refid="15447" relation="include">
|
|
</childnode>
|
|
<childnode refid="15442" relation="include">
|
|
</childnode>
|
|
<childnode refid="15448" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15469">
|
|
<label>/usr/include/gecode/int/dom.hh</label>
|
|
<link refid="dom_8hh_source"/>
|
|
</node>
|
|
<node id="15499">
|
|
<label>/usr/include/gecode/set/channel/bool.hpp</label>
|
|
<link refid="set_2channel_2bool_8hpp_source"/>
|
|
<childnode refid="15500" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15486">
|
|
<label>/usr/include/gecode/int/element/pair.hpp</label>
|
|
<link refid="pair_8hpp_source"/>
|
|
<childnode refid="15470" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15507">
|
|
<label>/usr/include/gecode/set.hh</label>
|
|
<link refid="set_8hh_source"/>
|
|
<childnode refid="15508" relation="include">
|
|
</childnode>
|
|
<childnode refid="15502" relation="include">
|
|
</childnode>
|
|
<childnode refid="15500" relation="include">
|
|
</childnode>
|
|
<childnode refid="15509" relation="include">
|
|
</childnode>
|
|
<childnode refid="15510" relation="include">
|
|
</childnode>
|
|
<childnode refid="15471" relation="include">
|
|
</childnode>
|
|
<childnode refid="15503" relation="include">
|
|
</childnode>
|
|
<childnode refid="15505" relation="include">
|
|
</childnode>
|
|
<childnode refid="15506" relation="include">
|
|
</childnode>
|
|
<childnode refid="15504" relation="include">
|
|
</childnode>
|
|
<childnode refid="15475" relation="include">
|
|
</childnode>
|
|
<childnode refid="15511" relation="include">
|
|
</childnode>
|
|
<childnode refid="15512" relation="include">
|
|
</childnode>
|
|
<childnode refid="15513" relation="include">
|
|
</childnode>
|
|
<childnode refid="15514" relation="include">
|
|
</childnode>
|
|
<childnode refid="15515" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15455">
|
|
<label>/usr/include/gecode/int/circuit.hh</label>
|
|
<link refid="circuit_8hh_source"/>
|
|
</node>
|
|
<node id="15512">
|
|
<label>/usr/include/gecode/set/rel-op/post.hpp</label>
|
|
<link refid="set_2rel-op_2post_8hpp_source"/>
|
|
<childnode refid="15513" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15482">
|
|
<label>/usr/include/gecode/int/arithmetic/pow.hpp</label>
|
|
<link refid="pow_8hpp_source"/>
|
|
<childnode refid="15442" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="15509">
|
|
<label>/usr/include/gecode/set/convex.hh</label>
|
|
<link refid="convex_8hh_source"/>
|
|
</node>
|
|
</invincdepgraph>
|
|
<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/>Mikael<sp/>Lagerkvist<sp/><lagerkvist@gecode.org></highlight></codeline>
|
|
<codeline lineno="5"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
|
|
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Mikael<sp/>Lagerkvist,<sp/>2007</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/>2012-04-11<sp/>02:34:42<sp/>+0200<sp/>(Wed,<sp/>11<sp/>Apr<sp/>2012)<sp/>$<sp/>by<sp/>$Author:<sp/>tack<sp/>$</highlight></codeline>
|
|
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>12728<sp/>$</highlight></codeline>
|
|
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>Gecode,<sp/>the<sp/>generic<sp/>constraint</highlight></codeline>
|
|
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
|
|
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
|
|
<codeline lineno="16"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/>Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
|
|
<codeline lineno="18"><highlight class="comment"><sp/>*<sp/><sp/>a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
|
|
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/>"Software"),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
|
|
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/><sp/>without<sp/>limitation<sp/>the<sp/>rights<sp/>to<sp/>use,<sp/>copy,<sp/>modify,<sp/>merge,<sp/>publish,</highlight></codeline>
|
|
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/><sp/>distribute,<sp/>sublicense,<sp/>and/or<sp/>sell<sp/>copies<sp/>of<sp/>the<sp/>Software,<sp/>and<sp/>to</highlight></codeline>
|
|
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/><sp/>permit<sp/>persons<sp/>to<sp/>whom<sp/>the<sp/>Software<sp/>is<sp/>furnished<sp/>to<sp/>do<sp/>so,<sp/>subject<sp/>to</highlight></codeline>
|
|
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/><sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
|
|
<codeline lineno="24"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/><sp/>The<sp/>above<sp/>copyright<sp/>notice<sp/>and<sp/>this<sp/>permission<sp/>notice<sp/>shall<sp/>be</highlight></codeline>
|
|
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/><sp/>included<sp/>in<sp/>all<sp/>copies<sp/>or<sp/>substantial<sp/>portions<sp/>of<sp/>the<sp/>Software.</highlight></codeline>
|
|
<codeline lineno="27"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="28"><highlight class="comment"><sp/>*<sp/><sp/>THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>"AS<sp/>IS",<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
|
|
<codeline lineno="29"><highlight class="comment"><sp/>*<sp/><sp/>EXPRESS<sp/>OR<sp/>IMPLIED,<sp/>INCLUDING<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO<sp/>THE<sp/>WARRANTIES<sp/>OF</highlight></codeline>
|
|
<codeline lineno="30"><highlight class="comment"><sp/>*<sp/><sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
|
|
<codeline lineno="31"><highlight class="comment"><sp/>*<sp/><sp/>NONINFRINGEMENT.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>AUTHORS<sp/>OR<sp/>COPYRIGHT<sp/>HOLDERS<sp/>BE</highlight></codeline>
|
|
<codeline lineno="32"><highlight class="comment"><sp/>*<sp/><sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>CLAIM,<sp/>DAMAGES<sp/>OR<sp/>OTHER<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>AN<sp/>ACTION</highlight></codeline>
|
|
<codeline lineno="33"><highlight class="comment"><sp/>*<sp/><sp/>OF<sp/>CONTRACT,<sp/>TORT<sp/>OR<sp/>OTHERWISE,<sp/>ARISING<sp/>FROM,<sp/>OUT<sp/>OF<sp/>OR<sp/>IN<sp/>CONNECTION</highlight></codeline>
|
|
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/><sp/>WITH<sp/>THE<sp/>SOFTWARE<sp/>OR<sp/>THE<sp/>USE<sp/>OR<sp/>OTHER<sp/>DEALINGS<sp/>IN<sp/>THE<sp/>SOFTWARE.</highlight></codeline>
|
|
<codeline lineno="35"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="36"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="37"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><sstream></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/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="43" refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9b06d293d2272a6fe768b29f5444f690" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9b06d293d2272a6fe768b29f5444f690" kindref="member">TupleSet::TupleSetI::finalized</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="44"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(((<ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a7ec328f85cbcdf9c8eb853df8f5202fd" kindref="member">excess</ref><sp/>==<sp/>-1)<sp/>&&<sp/>(<ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a3f29fad4918a01ae166c9354b38d738c" kindref="member">domsize</ref><sp/>><sp/>0))<sp/>||</highlight></codeline>
|
|
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>((<ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a7ec328f85cbcdf9c8eb853df8f5202fd" kindref="member">excess</ref><sp/>!=<sp/>-1)<sp/>&&<sp/>(<ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a3f29fad4918a01ae166c9354b38d738c" kindref="member">domsize</ref><sp/>==<sp/>0)));</highlight></codeline>
|
|
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a7ec328f85cbcdf9c8eb853df8f5202fd" kindref="member">excess</ref><sp/>==<sp/>-1;</highlight></codeline>
|
|
<codeline lineno="47"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="48"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="49"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="50" refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9bae229516f5fad72f812223180c0448" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9bae229516f5fad72f812223180c0448" kindref="member">TupleSet::TupleSetI::TupleSetI</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight></codeline>
|
|
<codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1TupleSet_1a0a7899e3d31ee2fde941d54430cf7bef" kindref="member">arity</ref>(-1),</highlight></codeline>
|
|
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>(0),</highlight></codeline>
|
|
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1a96402660c4bf4ed6492d8d60adc154f2" kindref="member">tuples</ref>(NULL),</highlight></codeline>
|
|
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>tuple_data(NULL),</highlight></codeline>
|
|
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>data(NULL),</highlight></codeline>
|
|
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>excess(0),</highlight></codeline>
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1ac1e511cb03a48461d916343111471d31" kindref="member">min</ref>(Int::Limits::<ref refid="classGecode_1_1TupleSet_1afe772c5845a82afed583b91817453da8" kindref="member">max</ref>),</highlight></codeline>
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1afe772c5845a82afed583b91817453da8" kindref="member">max</ref>(Int::Limits::<ref refid="classGecode_1_1TupleSet_1ac1e511cb03a48461d916343111471d31" kindref="member">min</ref>),</highlight></codeline>
|
|
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>domsize(0),</highlight></codeline>
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>last(NULL),</highlight></codeline>
|
|
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>nullpointer(NULL)</highlight></codeline>
|
|
<codeline lineno="62"><highlight class="normal"><sp/><sp/>{}</highlight></codeline>
|
|
<codeline lineno="63"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="64"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="65"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T></highlight></codeline>
|
|
<codeline lineno="66"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="67" refid="classGecode_1_1TupleSet_1_1TupleSetI_1a43e4bcd0c5fd9a334e87550852ae1977" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a43e4bcd0c5fd9a334e87550852ae1977" kindref="member">TupleSet::TupleSetI::add</ref>(T<sp/>t)<sp/>{</highlight></codeline>
|
|
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(<ref refid="classGecode_1_1TupleSet_1a0a7899e3d31ee2fde941d54430cf7bef" kindref="member">arity</ref><sp/><sp/>!=<sp/>-1);<sp/></highlight><highlight class="comment">//<sp/>Arity<sp/>has<sp/>been<sp/>set</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(excess<sp/>!=<sp/>-1);<sp/></highlight><highlight class="comment">//<sp/>Tuples<sp/>may<sp/>still<sp/>be<sp/>added</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(excess<sp/>==<sp/>0)<sp/>resize();</highlight></codeline>
|
|
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(excess<sp/>>=<sp/>0);</highlight></codeline>
|
|
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/>--excess;</highlight></codeline>
|
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>end<sp/>=<sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>*<ref refid="classGecode_1_1TupleSet_1a0a7899e3d31ee2fde941d54430cf7bef" kindref="member">arity</ref>;</highlight></codeline>
|
|
<codeline lineno="74"><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/>arity;<sp/>i--;<sp/>)<sp/>{</highlight></codeline>
|
|
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>data[end+i]<sp/>=<sp/>t[i];</highlight></codeline>
|
|
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(t[i]<sp/><<sp/><ref refid="classGecode_1_1TupleSet_1ac1e511cb03a48461d916343111471d31" kindref="member">min</ref>)<sp/><ref refid="classGecode_1_1TupleSet_1ac1e511cb03a48461d916343111471d31" kindref="member">min</ref><sp/>=<sp/>t[i];</highlight></codeline>
|
|
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(t[i]<sp/>><sp/><ref refid="classGecode_1_1TupleSet_1afe772c5845a82afed583b91817453da8" kindref="member">max</ref>)<sp/><ref refid="classGecode_1_1TupleSet_1afe772c5845a82afed583b91817453da8" kindref="member">max</ref><sp/>=<sp/>t[i];</highlight></codeline>
|
|
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/>++<ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>;</highlight></codeline>
|
|
<codeline lineno="80"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="81"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="82"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
|
<codeline lineno="83" refid="classGecode_1_1TupleSet_1ab3a34cde0f29de122b7d3cf321cf861c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1ab3a34cde0f29de122b7d3cf321cf861c" kindref="member">TupleSet::TupleSet</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</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/>forceinline</highlight></codeline>
|
|
<codeline lineno="87" refid="classGecode_1_1TupleSet_1ac5fa3af716514674a66fe3593c1039a1" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1ab3a34cde0f29de122b7d3cf321cf861c" kindref="member">TupleSet::TupleSet</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1TupleSet" kindref="compound">TupleSet</ref>&<sp/>ts)</highlight></codeline>
|
|
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1SharedHandle" kindref="compound">SharedHandle</ref>(ts)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="89"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="90"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSet::TupleSetI</ref>*</highlight></codeline>
|
|
<codeline lineno="91" refid="classGecode_1_1TupleSet_1afaf2190950f2b57e0263fa4ce8da6ec5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1afaf2190950f2b57e0263fa4ce8da6ec5" kindref="member">TupleSet::implementation</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
|
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
|
|
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp);</highlight></codeline>
|
|
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref>;</highlight></codeline>
|
|
<codeline lineno="95"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="96"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="97"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="98" refid="classGecode_1_1TupleSet_1a1c0f82d59a7f90e2aaa93408d8d519a1" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1a1c0f82d59a7f90e2aaa93408d8d519a1" kindref="member">TupleSet::add</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1IntArgs" kindref="compound">IntArgs</ref>&<sp/>tuple)<sp/>{</highlight></codeline>
|
|
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
|
|
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(imp<sp/>==<sp/>NULL)<sp/>{</highlight></codeline>
|
|
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>imp<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>;</highlight></codeline>
|
|
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>(imp);</highlight></codeline>
|
|
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9f2815021acb6660ae5302cc58f77699" kindref="member">arity</ref><sp/>==<sp/>-1<sp/>||</highlight></codeline>
|
|
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9f2815021acb6660ae5302cc58f77699" kindref="member">arity</ref><sp/>==<sp/>tuple.<ref refid="classGecode_1_1ArgArrayBase_1a5cd6f91808d5560f28f05b75be65ab1d" kindref="member">size</ref>());</highlight></codeline>
|
|
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9f2815021acb6660ae5302cc58f77699" kindref="member">arity</ref><sp/>=<sp/>tuple.<ref refid="classGecode_1_1ArgArrayBase_1a5cd6f91808d5560f28f05b75be65ab1d" kindref="member">size</ref>();</highlight></codeline>
|
|
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a43e4bcd0c5fd9a334e87550852ae1977" kindref="member">add</ref>(tuple);</highlight></codeline>
|
|
<codeline lineno="108"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="109"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="110"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="111" refid="classGecode_1_1TupleSet_1a02c19964f94510364a7fec9e563c7355" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1a02c19964f94510364a7fec9e563c7355" kindref="member">TupleSet::finalize</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
|
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
|
|
<codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(imp<sp/>==<sp/>NULL)<sp/>{</highlight></codeline>
|
|
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>imp<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>;</highlight></codeline>
|
|
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9f2815021acb6660ae5302cc58f77699" kindref="member">arity</ref><sp/>=<sp/>0;</highlight></codeline>
|
|
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a7ec328f85cbcdf9c8eb853df8f5202fd" kindref="member">excess</ref><sp/>=<sp/>-1;</highlight></codeline>
|
|
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a3f29fad4918a01ae166c9354b38d738c" kindref="member">domsize</ref><sp/>=<sp/>1;</highlight></codeline>
|
|
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1ac26743b6ced12ba3cf21b55835c7996e" kindref="member">size</ref><sp/>=<sp/>1;</highlight></codeline>
|
|
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>(imp);</highlight></codeline>
|
|
<codeline lineno="120"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9b06d293d2272a6fe768b29f5444f690" kindref="member">finalized</ref>())<sp/>{</highlight></codeline>
|
|
<codeline lineno="122"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a8a8a26cd3745954bb3071093291fb61b" kindref="member">finalize</ref>();</highlight></codeline>
|
|
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/>}</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">bool</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="127" refid="classGecode_1_1TupleSet_1a2810acd25b060f540f32aa48eca808d4" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1a2810acd25b060f540f32aa48eca808d4" kindref="member">TupleSet::finalized</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="128"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
|
|
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp);</highlight></codeline>
|
|
<codeline lineno="130"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9b06d293d2272a6fe768b29f5444f690" kindref="member">finalized</ref>();</highlight></codeline>
|
|
<codeline lineno="131"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="132"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="133"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="134" refid="classGecode_1_1TupleSet_1a0a7899e3d31ee2fde941d54430cf7bef" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1a0a7899e3d31ee2fde941d54430cf7bef" kindref="member">TupleSet::arity</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/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></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/>assert(imp);</highlight></codeline>
|
|
<codeline lineno="137"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9f2815021acb6660ae5302cc58f77699" kindref="member">arity</ref><sp/>!=<sp/>-1);</highlight></codeline>
|
|
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9f2815021acb6660ae5302cc58f77699" kindref="member">arity</ref>;</highlight></codeline>
|
|
<codeline lineno="139"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="140"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="141" refid="classGecode_1_1TupleSet_1a96402660c4bf4ed6492d8d60adc154f2" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1a96402660c4bf4ed6492d8d60adc154f2" kindref="member">TupleSet::tuples</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="142"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
|
|
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp);</highlight></codeline>
|
|
<codeline lineno="144"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9b06d293d2272a6fe768b29f5444f690" kindref="member">finalized</ref>());</highlight></codeline>
|
|
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1ac26743b6ced12ba3cf21b55835c7996e" kindref="member">size</ref>-1;</highlight></codeline>
|
|
<codeline lineno="146"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="147"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1TupleSet_1a7f22b4f0671488a21dc9f0cbafdccad2" kindref="member">TupleSet::Tuple</ref></highlight></codeline>
|
|
<codeline lineno="148" refid="classGecode_1_1TupleSet_1ab7c84fe7b91c86aeb57f5752ff119c6e" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1ab7c84fe7b91c86aeb57f5752ff119c6e" kindref="member">TupleSet::operator []</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="149"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
|
|
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp);</highlight></codeline>
|
|
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9b06d293d2272a6fe768b29f5444f690" kindref="member">finalized</ref>());</highlight></codeline>
|
|
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a41d89267fcab8272dfd633c6ac7f33cd" kindref="member">data</ref><sp/>+<sp/>i*imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9f2815021acb6660ae5302cc58f77699" kindref="member">arity</ref>;</highlight></codeline>
|
|
<codeline lineno="153"><highlight class="normal"><sp/><sp/>}</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_1TupleSet_1ac1e511cb03a48461d916343111471d31" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1ac1e511cb03a48461d916343111471d31" kindref="member">TupleSet::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="156"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></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/>assert(imp);</highlight></codeline>
|
|
<codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9b06d293d2272a6fe768b29f5444f690" kindref="member">finalized</ref>());</highlight></codeline>
|
|
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a4b84f035304bfba49af137060e81437f" kindref="member">min</ref>;</highlight></codeline>
|
|
<codeline lineno="160"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="161"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="162" refid="classGecode_1_1TupleSet_1afe772c5845a82afed583b91817453da8" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1TupleSet_1afe772c5845a82afed583b91817453da8" kindref="member">TupleSet::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="163"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*<sp/><ref refid="namespaceGecode_1a0a41afdcbe2821f9fca7bbfa131f6101" kindref="member">imp</ref><sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal"><ref refid="classGecode_1_1TupleSet_1_1TupleSetI" kindref="compound">TupleSetI</ref>*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1SharedHandle_1a703f11794c6cac8c22bfc4a4136eb4f8" kindref="member">object</ref>());</highlight></codeline>
|
|
<codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp);</highlight></codeline>
|
|
<codeline lineno="165"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(imp-><ref refid="classGecode_1_1TupleSet_1_1TupleSetI_1a9b06d293d2272a6fe768b29f5444f690" kindref="member">finalized</ref>());</highlight></codeline>
|
|
<codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>imp->max;</highlight></codeline>
|
|
<codeline lineno="167"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="168"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="169"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="170"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Char,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>Traits,<sp/></highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T></highlight></codeline>
|
|
<codeline lineno="171"><highlight class="normal"><sp/><sp/>std::basic_ostream<Char,Traits>&</highlight></codeline>
|
|
<codeline lineno="172" refid="classGecode_1_1TupleSet_1a5e278d19ae6a37dd7e9b1bf8b87ed67b" refkind="member"><highlight class="normal"><sp/><sp/>operator<sp/><<(std::basic_ostream<Char,Traits>&<sp/>os,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1TupleSet" kindref="compound">TupleSet</ref>&<sp/>ts)<sp/>{</highlight></codeline>
|
|
<codeline lineno="173"><highlight class="normal"><sp/><sp/><sp/><sp/>std::basic_ostringstream<Char,Traits><sp/>s;</highlight></codeline>
|
|
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/>s.copyfmt(os);<sp/>s.width(0);</highlight></codeline>
|
|
<codeline lineno="175"><highlight class="normal"><sp/><sp/><sp/><sp/>s<sp/><<<sp/></highlight><highlight class="stringliteral">"Number<sp/>of<sp/>tuples:<sp/>"</highlight><highlight class="normal"><sp/><<<sp/>ts.<ref refid="classGecode_1_1TupleSet_1a96402660c4bf4ed6492d8d60adc154f2" kindref="member">tuples</ref>()<sp/><<<sp/>std::endl</highlight></codeline>
|
|
<codeline lineno="176"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><<<sp/></highlight><highlight class="stringliteral">"Tuples:"</highlight><highlight class="normal"><sp/><<<sp/>std::endl;</highlight></codeline>
|
|
<codeline lineno="177"><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/><<sp/>ts.tuples();<sp/>++i)<sp/>{</highlight></codeline>
|
|
<codeline lineno="178"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/><<<sp/></highlight><highlight class="charliteral">'\t'</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="179"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>j<sp/>=<sp/>0;<sp/>j<sp/><<sp/>ts.arity();<sp/>++j)<sp/>{</highlight></codeline>
|
|
<codeline lineno="180"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s.width(3);</highlight></codeline>
|
|
<codeline lineno="181"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/><<<sp/></highlight><highlight class="stringliteral">"<sp/>"</highlight><highlight class="normal"><sp/><<<sp/>ts[i][j];</highlight></codeline>
|
|
<codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>s<sp/><<<sp/>std::endl;</highlight></codeline>
|
|
<codeline lineno="184"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="185"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>os<sp/><<<sp/>s.str();</highlight></codeline>
|
|
<codeline lineno="186"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
|
<codeline lineno="187"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="188"><highlight class="normal">}</highlight></codeline>
|
|
<codeline lineno="189"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="190"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>int-prop</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="191"><highlight class="normal"></highlight></codeline>
|
|
</programlisting>
|
|
<location file="/usr/include/gecode/int/extensional/tuple-set.hpp"/>
|
|
</compounddef>
|
|
</doxygen>
|