1187 lines
101 KiB
XML
1187 lines
101 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="region_8hpp" kind="file">
|
||
|
<compoundname>region.hpp</compoundname>
|
||
|
<includedby refid="kernel_8hh" local="no">/usr/include/gecode/kernel.hh</includedby>
|
||
|
<invincdepgraph>
|
||
|
<node id="27964">
|
||
|
<label>/usr/include/gecode/int/nvalues/int-base.hpp</label>
|
||
|
<link refid="nvalues_2int-base_8hpp_source"/>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27947">
|
||
|
<label>/usr/include/gecode/int/arithmetic.hh</label>
|
||
|
<link refid="int_2arithmetic_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27972">
|
||
|
<label>/usr/include/gecode/int/view/scale.hpp</label>
|
||
|
<link refid="int_2view_2scale_8hpp_source"/>
|
||
|
<childnode refid="27973" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27970">
|
||
|
<label>/usr/include/gecode/int/div.hh</label>
|
||
|
<link refid="div_8hh_source"/>
|
||
|
<childnode refid="27971" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27972" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27971">
|
||
|
<label>/usr/include/gecode/int/arithmetic/mult.hpp</label>
|
||
|
<link refid="int_2arithmetic_2mult_8hpp_source"/>
|
||
|
<childnode refid="27947" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27924">
|
||
|
<label>/usr/include/gecode/flatzinc.hh</label>
|
||
|
<link refid="flatzinc_8hh_source"/>
|
||
|
<childnode refid="27925" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27926" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27953">
|
||
|
<label>/usr/include/gecode/int/gcc/post.hpp</label>
|
||
|
<link refid="int_2gcc_2post_8hpp_source"/>
|
||
|
<childnode refid="27954" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28002">
|
||
|
<label>/usr/include/gecode/minimodel.hh</label>
|
||
|
<link refid="minimodel_8hh_source"/>
|
||
|
<childnode refid="28003" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27990">
|
||
|
<label>/usr/include/gecode/int/dom/range.hpp</label>
|
||
|
<link refid="range_8hpp_source"/>
|
||
|
<childnode refid="27974" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27998">
|
||
|
<label>/usr/include/gecode/int/cumulative.hh</label>
|
||
|
<link refid="cumulative_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27999">
|
||
|
<label>/usr/include/gecode/int/unary.hh</label>
|
||
|
<link refid="unary_8hh_source"/>
|
||
|
<childnode refid="27998" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27982">
|
||
|
<label>/usr/include/gecode/int/no-overlap.hh</label>
|
||
|
<link refid="no-overlap_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27996">
|
||
|
<label>/usr/include/gecode/int/support-values.hh</label>
|
||
|
<link refid="support-values_8hh_source"/>
|
||
|
<childnode refid="27971" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27962">
|
||
|
<label>/usr/include/gecode/int/cumulatives.hh</label>
|
||
|
<link refid="cumulatives_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28005">
|
||
|
<label>/usr/include/gecode/set/channel.hh</label>
|
||
|
<link refid="set_2channel_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27963">
|
||
|
<label>/usr/include/gecode/int/distinct.hh</label>
|
||
|
<link refid="int_2distinct_8hh_source"/>
|
||
|
<childnode refid="27959" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27960" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27953" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27964" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27965" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27966" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27967" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27968" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27940">
|
||
|
<label>/usr/include/gecode/gist/mainwindow.hh</label>
|
||
|
<link refid="mainwindow_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28030">
|
||
|
<label>/usr/include/gecode/search/sequential/bab.hh</label>
|
||
|
<link refid="sequential_2bab_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28019">
|
||
|
<label>/usr/include/gecode/set/rel.hh</label>
|
||
|
<link refid="set_2rel_8hh_source"/>
|
||
|
<childnode refid="28007" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27976" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28017" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28018" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28020" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28009">
|
||
|
<label>/usr/include/gecode/set/int.hh</label>
|
||
|
<link refid="set_2int_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27945">
|
||
|
<label>/usr/include/gecode/gist/preferences.hh</label>
|
||
|
<link refid="preferences_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27992">
|
||
|
<label>/usr/include/gecode/int/member/prop.hpp</label>
|
||
|
<link refid="member_2prop_8hpp_source"/>
|
||
|
<childnode refid="27981" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27977">
|
||
|
<label>/usr/include/gecode/int/exec.hh</label>
|
||
|
<link refid="exec_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27937">
|
||
|
<label>/usr/include/gecode/gist/nodecursor.hh</label>
|
||
|
<link refid="nodecursor_8hh_source"/>
|
||
|
<childnode refid="27936" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27935" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27984">
|
||
|
<label>/usr/include/gecode/int/rel.hh</label>
|
||
|
<link refid="int_2rel_8hh_source"/>
|
||
|
<childnode refid="27985" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27986" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27987" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27947" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27988" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27989" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27963" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27990" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27974" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27991" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27975" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27978" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27992" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27993" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27955" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27994" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27965" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27966" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27967" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27995" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27968" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28003">
|
||
|
<label>/usr/include/gecode/driver.hh</label>
|
||
|
<link refid="driver_8hh_source"/>
|
||
|
<childnode refid="27924" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27934">
|
||
|
<label>/usr/include/gecode/gist/visualnode.hh</label>
|
||
|
<link refid="visualnode_8hh_source"/>
|
||
|
<childnode refid="27935" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27937" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27938" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27942" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27986">
|
||
|
<label>/usr/include/gecode/int/arithmetic/nroot.hpp</label>
|
||
|
<link refid="nroot_8hpp_source"/>
|
||
|
<childnode refid="27947" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27927">
|
||
|
<label>/usr/include/gecode/float.hh</label>
|
||
|
<link refid="float_8hh_source"/>
|
||
|
<childnode refid="27928" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27929" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27930" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27931" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28031">
|
||
|
<label>/usr/include/gecode/search/sequential/dfs.hh</label>
|
||
|
<link refid="sequential_2dfs_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27985">
|
||
|
<label>/usr/include/gecode/int/arithmetic/max.hpp</label>
|
||
|
<link refid="max_8hpp_source"/>
|
||
|
<childnode refid="27947" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27981">
|
||
|
<label>/usr/include/gecode/int/member.hh</label>
|
||
|
<link refid="member_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27925">
|
||
|
<label>/usr/include/gecode/flatzinc/parser.hh</label>
|
||
|
<link refid="parser_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28023">
|
||
|
<label>/usr/include/gecode/search.hh</label>
|
||
|
<link refid="search_8hh_source"/>
|
||
|
<childnode refid="28003" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27944" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28024" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28032" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28026" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28025" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28030" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28031" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28029" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28034" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28035" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27939">
|
||
|
<label>/usr/include/gecode/gist/qtgist.hh</label>
|
||
|
<link refid="qtgist_8hh_source"/>
|
||
|
<childnode refid="27940" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27941" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27994">
|
||
|
<label>/usr/include/gecode/int/nvalues/bool-gq.hpp</label>
|
||
|
<link refid="bool-gq_8hpp_source"/>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28028">
|
||
|
<label>/usr/include/gecode/search/parallel/dfs.hh</label>
|
||
|
<link refid="parallel_2dfs_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28013">
|
||
|
<label>/usr/include/gecode/set/branch.hh</label>
|
||
|
<link refid="set_2branch_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27961">
|
||
|
<label>/usr/include/gecode/int/count.hh</label>
|
||
|
<link refid="count_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27942">
|
||
|
<label>/usr/include/gecode/gist/treecanvas.hh</label>
|
||
|
<link refid="treecanvas_8hh_source"/>
|
||
|
<childnode refid="27939" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27966">
|
||
|
<label>/usr/include/gecode/int/nvalues/int-gq.hpp</label>
|
||
|
<link refid="nvalues_2int-gq_8hpp_source"/>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27989">
|
||
|
<label>/usr/include/gecode/int/count/rel.hpp</label>
|
||
|
<link refid="rel_8hpp_source"/>
|
||
|
<childnode refid="27961" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27976">
|
||
|
<label>/usr/include/gecode/set/element.hh</label>
|
||
|
<link refid="set_2element_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27922">
|
||
|
<label>/usr/include/gecode/kernel/region.hpp</label>
|
||
|
<link refid="region.hpp"/>
|
||
|
<childnode refid="27923" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27923">
|
||
|
<label>/usr/include/gecode/kernel.hh</label>
|
||
|
<link refid="kernel_8hh_source"/>
|
||
|
<childnode refid="27924" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27927" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27932" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27933" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27943" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27942" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27934" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27944" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27946" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28021" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28022" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28002" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28023" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28012" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28015">
|
||
|
<label>/usr/include/gecode/set/distinct.hh</label>
|
||
|
<link refid="set_2distinct_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27938">
|
||
|
<label>/usr/include/gecode/gist/nodestats.hh</label>
|
||
|
<link refid="nodestats_8hh_source"/>
|
||
|
<childnode refid="27939" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28018">
|
||
|
<label>/usr/include/gecode/set/rel-op.hh</label>
|
||
|
<link refid="rel-op_8hh_source"/>
|
||
|
<childnode refid="27976" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28017" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27967">
|
||
|
<label>/usr/include/gecode/int/nvalues/int-lq.hpp</label>
|
||
|
<link refid="nvalues_2int-lq_8hpp_source"/>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27975">
|
||
|
<label>/usr/include/gecode/int/element.hh</label>
|
||
|
<link refid="int_2element_8hh_source"/>
|
||
|
<childnode refid="27976" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27959">
|
||
|
<label>/usr/include/gecode/int/channel.hh</label>
|
||
|
<link refid="int_2channel_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28022">
|
||
|
<label>/usr/include/gecode/kernel/wait.hh</label>
|
||
|
<link refid="wait_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27980">
|
||
|
<label>/usr/include/gecode/set/ldsb.hh</label>
|
||
|
<link refid="set_2ldsb_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27941">
|
||
|
<label>/usr/include/gecode/gist/nodewidget.hh</label>
|
||
|
<link refid="nodewidget_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27973">
|
||
|
<label>/usr/include/gecode/int/view.hpp</label>
|
||
|
<link refid="int_2view_8hpp_source"/>
|
||
|
<childnode refid="27946" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27948">
|
||
|
<label>/usr/include/gecode/int/bin-packing.hh</label>
|
||
|
<link refid="bin-packing_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28035">
|
||
|
<label>/usr/include/gecode/search/worker.hh</label>
|
||
|
<link refid="worker_8hh_source"/>
|
||
|
<childnode refid="28026" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28025" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28030" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28031" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28029" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27949">
|
||
|
<label>/usr/include/gecode/int/bool.hh</label>
|
||
|
<link refid="bool_8hh_source"/>
|
||
|
<childnode refid="27950" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27955" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27957" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28006">
|
||
|
<label>/usr/include/gecode/set/channel/int.hpp</label>
|
||
|
<link refid="set_2channel_2int_8hpp_source"/>
|
||
|
<childnode refid="28005" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28007">
|
||
|
<label>/usr/include/gecode/set/channel/sorted.hpp</label>
|
||
|
<link refid="sorted_8hpp_source"/>
|
||
|
<childnode refid="28005" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27993">
|
||
|
<label>/usr/include/gecode/int/member/re-prop.hpp</label>
|
||
|
<link refid="re-prop_8hpp_source"/>
|
||
|
<childnode refid="27981" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27932">
|
||
|
<label>/usr/include/gecode/gist/node.hh</label>
|
||
|
<link refid="node_8hh_source"/>
|
||
|
<childnode refid="27933" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27979">
|
||
|
<label>/usr/include/gecode/int/ldsb.hh</label>
|
||
|
<link refid="int_2ldsb_8hh_source"/>
|
||
|
<childnode refid="27980" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28025">
|
||
|
<label>/usr/include/gecode/search/parallel/path.hh</label>
|
||
|
<link refid="parallel_2path_8hh_source"/>
|
||
|
<childnode refid="28026" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27944">
|
||
|
<label>/usr/include/gecode/gist.hh</label>
|
||
|
<link refid="gist_8hh_source"/>
|
||
|
<childnode refid="27940" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27941" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27945" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27943" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27942" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27958">
|
||
|
<label>/usr/include/gecode/int/branch.hh</label>
|
||
|
<link refid="int_2branch_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27956">
|
||
|
<label>/usr/include/gecode/int/nvalues.hh</label>
|
||
|
<link refid="nvalues_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27988">
|
||
|
<label>/usr/include/gecode/int/bool/ite.hpp</label>
|
||
|
<link refid="ite_8hpp_source"/>
|
||
|
<childnode refid="27949" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27995">
|
||
|
<label>/usr/include/gecode/int/sequence.hh</label>
|
||
|
<link refid="int_2sequence_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28032">
|
||
|
<label>/usr/include/gecode/search/meta/rbs.hh</label>
|
||
|
<link refid="rbs_8hh_source"/>
|
||
|
<childnode refid="28033" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28027">
|
||
|
<label>/usr/include/gecode/search/parallel/bab.hh</label>
|
||
|
<link refid="parallel_2bab_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28001">
|
||
|
<label>/usr/include/gecode/int/view-val-graph.hh</label>
|
||
|
<link refid="view-val-graph_8hh_source"/>
|
||
|
<childnode refid="27963" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27950">
|
||
|
<label>/usr/include/gecode/int/linear/bool-int.hpp</label>
|
||
|
<link refid="bool-int_8hpp_source"/>
|
||
|
<childnode refid="27951" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27968">
|
||
|
<label>/usr/include/gecode/int/sorted/propagate.hpp</label>
|
||
|
<link refid="sorted_2propagate_8hpp_source"/>
|
||
|
<childnode refid="27969" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27931">
|
||
|
<label>/usr/include/gecode/float/rel.hh</label>
|
||
|
<link refid="float_2rel_8hh_source"/>
|
||
|
<childnode refid="27928" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27943">
|
||
|
<label>/usr/include/gecode/gist/stopbrancher.hh</label>
|
||
|
<link refid="stopbrancher_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28026">
|
||
|
<label>/usr/include/gecode/search/parallel/engine.hh</label>
|
||
|
<link refid="engine_8hh_source"/>
|
||
|
<childnode refid="28027" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28028" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27928">
|
||
|
<label>/usr/include/gecode/float/arithmetic.hh</label>
|
||
|
<link refid="float_2arithmetic_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27926">
|
||
|
<label>/usr/include/gecode/flatzinc/registry.hh</label>
|
||
|
<link refid="registry_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27954">
|
||
|
<label>/usr/include/gecode/int/gcc.hh</label>
|
||
|
<link refid="gcc_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28010">
|
||
|
<label>/usr/include/gecode/set/int/minmax.hpp</label>
|
||
|
<link refid="minmax_8hpp_source"/>
|
||
|
<childnode refid="28009" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27935">
|
||
|
<label>/usr/include/gecode/gist/layoutcursor.hh</label>
|
||
|
<link refid="layoutcursor_8hh_source"/>
|
||
|
<childnode refid="27936" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27933">
|
||
|
<label>/usr/include/gecode/gist/spacenode.hh</label>
|
||
|
<link refid="spacenode_8hh_source"/>
|
||
|
<childnode refid="27934" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28016">
|
||
|
<label>/usr/include/gecode/set/precede.hh</label>
|
||
|
<link refid="set_2precede_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27930">
|
||
|
<label>/usr/include/gecode/float/linear.hh</label>
|
||
|
<link refid="float_2linear_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28029">
|
||
|
<label>/usr/include/gecode/search/sequential/path.hh</label>
|
||
|
<link refid="sequential_2path_8hh_source"/>
|
||
|
<childnode refid="28030" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28031" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28033">
|
||
|
<label>/usr/include/gecode/search/rbs.hpp</label>
|
||
|
<link refid="rbs_8hpp_source"/>
|
||
|
<childnode refid="28023" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28000">
|
||
|
<label>/usr/include/gecode/int/val-set.hh</label>
|
||
|
<link refid="val-set_8hh_source"/>
|
||
|
<childnode refid="27981" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27946">
|
||
|
<label>/usr/include/gecode/int.hh</label>
|
||
|
<link refid="int_8hh_source"/>
|
||
|
<childnode refid="27924" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27928" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27930" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27931" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27927" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27944" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27947" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27948" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27949" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27958" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27959" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27960" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27961" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27962" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27963" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27970" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27974" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27975" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27977" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27978" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27954" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27979" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27951" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27981" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27982" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27983" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27984" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27995" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27969" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27996" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27997" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28000" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28001" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28002" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28004" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28006" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28007" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28008" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28010" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28011" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28012" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27955">
|
||
|
<label>/usr/include/gecode/int/nvalues/bool-eq.hpp</label>
|
||
|
<link refid="bool-eq_8hpp_source"/>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27957">
|
||
|
<label>/usr/include/gecode/int/nvalues/bool-lq.hpp</label>
|
||
|
<link refid="bool-lq_8hpp_source"/>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27997">
|
||
|
<label>/usr/include/gecode/int/task.hh</label>
|
||
|
<link refid="task_8hh_source"/>
|
||
|
<childnode refid="27998" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27999" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27978">
|
||
|
<label>/usr/include/gecode/int/extensional.hh</label>
|
||
|
<link refid="extensional_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28024">
|
||
|
<label>/usr/include/gecode/search/meta/nogoods.hh</label>
|
||
|
<link refid="nogoods_8hh_source"/>
|
||
|
<childnode refid="28025" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28029" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27969">
|
||
|
<label>/usr/include/gecode/int/sorted.hh</label>
|
||
|
<link refid="sorted_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28011">
|
||
|
<label>/usr/include/gecode/set/int/weights.hpp</label>
|
||
|
<link refid="weights_8hpp_source"/>
|
||
|
<childnode refid="28009" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27983">
|
||
|
<label>/usr/include/gecode/int/precede.hh</label>
|
||
|
<link refid="int_2precede_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27965">
|
||
|
<label>/usr/include/gecode/int/nvalues/int-eq.hpp</label>
|
||
|
<link refid="nvalues_2int-eq_8hpp_source"/>
|
||
|
<childnode refid="27956" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27929">
|
||
|
<label>/usr/include/gecode/float/branch.hh</label>
|
||
|
<link refid="float_2branch_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28020">
|
||
|
<label>/usr/include/gecode/set/sequence.hh</label>
|
||
|
<link refid="set_2sequence_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="27936">
|
||
|
<label>/usr/include/gecode/gist/drawingcursor.hh</label>
|
||
|
<link refid="drawingcursor_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28008">
|
||
|
<label>/usr/include/gecode/set/int/card.hpp</label>
|
||
|
<link refid="card_8hpp_source"/>
|
||
|
<childnode refid="28009" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27952">
|
||
|
<label>/usr/include/gecode/int/arithmetic/divmod.hpp</label>
|
||
|
<link refid="divmod_8hpp_source"/>
|
||
|
<childnode refid="27947" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27951">
|
||
|
<label>/usr/include/gecode/int/linear.hh</label>
|
||
|
<link refid="int_2linear_8hh_source"/>
|
||
|
<childnode refid="27952" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27947" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27953" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27974">
|
||
|
<label>/usr/include/gecode/int/dom.hh</label>
|
||
|
<link refid="dom_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28004">
|
||
|
<label>/usr/include/gecode/set/channel/bool.hpp</label>
|
||
|
<link refid="set_2channel_2bool_8hpp_source"/>
|
||
|
<childnode refid="28005" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27991">
|
||
|
<label>/usr/include/gecode/int/element/pair.hpp</label>
|
||
|
<link refid="pair_8hpp_source"/>
|
||
|
<childnode refid="27975" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28012">
|
||
|
<label>/usr/include/gecode/set.hh</label>
|
||
|
<link refid="set_8hh_source"/>
|
||
|
<childnode refid="28013" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28007" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28005" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28014" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28015" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27976" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28008" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28010" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28011" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28009" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="27980" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28016" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28017" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28018" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28019" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28020" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28021">
|
||
|
<label>/usr/include/gecode/iter.hh</label>
|
||
|
<link refid="iter_8hh_source"/>
|
||
|
<childnode refid="27946" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28012" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28034">
|
||
|
<label>/usr/include/gecode/search/support.hh</label>
|
||
|
<link refid="search_2support_8hh_source"/>
|
||
|
<childnode refid="28026" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28025" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28033" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28030" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28031" relation="include">
|
||
|
</childnode>
|
||
|
<childnode refid="28029" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27960">
|
||
|
<label>/usr/include/gecode/int/circuit.hh</label>
|
||
|
<link refid="circuit_8hh_source"/>
|
||
|
</node>
|
||
|
<node id="28017">
|
||
|
<label>/usr/include/gecode/set/rel-op/post.hpp</label>
|
||
|
<link refid="set_2rel-op_2post_8hpp_source"/>
|
||
|
<childnode refid="28018" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="27987">
|
||
|
<label>/usr/include/gecode/int/arithmetic/pow.hpp</label>
|
||
|
<link refid="pow_8hpp_source"/>
|
||
|
<childnode refid="27947" relation="include">
|
||
|
</childnode>
|
||
|
</node>
|
||
|
<node id="28014">
|
||
|
<label>/usr/include/gecode/set/convex.hh</label>
|
||
|
<link refid="convex_8hh_source"/>
|
||
|
</node>
|
||
|
</invincdepgraph>
|
||
|
<innerclass refid="classGecode_1_1Region" prot="public">Gecode::Region</innerclass>
|
||
|
<innerclass refid="classGecode_1_1Region_1_1HeapInfo" prot="private">Gecode::Region::HeapInfo</innerclass>
|
||
|
<innernamespace refid="namespaceGecode">Gecode</innernamespace>
|
||
|
<briefdescription>
|
||
|
</briefdescription>
|
||
|
<detaileddescription>
|
||
|
</detaileddescription>
|
||
|
<programlisting>
|
||
|
<codeline lineno="1"><highlight class="comment">/*<sp/>-*-<sp/>mode:<sp/>C++;<sp/>c-basic-offset:<sp/>2;<sp/>indent-tabs-mode:<sp/>nil<sp/>-*-<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline>
|
||
|
<codeline lineno="3"><highlight class="comment"><sp/>*<sp/><sp/>Main<sp/>authors:</highlight></codeline>
|
||
|
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte<sp/><schulte@gecode.org></highlight></codeline>
|
||
|
<codeline lineno="5"><highlight class="comment"><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/><sp/>Contributing<sp/>authors:</highlight></codeline>
|
||
|
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Filip<sp/>Konvicka<sp/><filip.konvicka@logis.cz></highlight></codeline>
|
||
|
<codeline lineno="8"><highlight class="comment"><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
|
||
|
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte,<sp/>2008</highlight></codeline>
|
||
|
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>LOGIS,<sp/>s.r.o.,<sp/>2009</highlight></codeline>
|
||
|
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
|
||
|
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2013-02-20<sp/>18:27:38<sp/>+0100<sp/>(Wed,<sp/>20<sp/>Feb<sp/>2013)<sp/>$<sp/>by<sp/>$Author:<sp/>schulte<sp/>$</highlight></codeline>
|
||
|
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>13347<sp/>$</highlight></codeline>
|
||
|
<codeline lineno="16"><highlight class="comment"><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>Gecode,<sp/>the<sp/>generic<sp/>constraint</highlight></codeline>
|
||
|
<codeline lineno="18"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
|
||
|
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
|
||
|
<codeline lineno="20"><highlight class="comment"><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/><sp/>Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
|
||
|
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/><sp/>a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
|
||
|
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/><sp/>"Software"),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
|
||
|
<codeline lineno="24"><highlight class="comment"><sp/>*<sp/><sp/>without<sp/>limitation<sp/>the<sp/>rights<sp/>to<sp/>use,<sp/>copy,<sp/>modify,<sp/>merge,<sp/>publish,</highlight></codeline>
|
||
|
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/><sp/>distribute,<sp/>sublicense,<sp/>and/or<sp/>sell<sp/>copies<sp/>of<sp/>the<sp/>Software,<sp/>and<sp/>to</highlight></codeline>
|
||
|
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/><sp/>permit<sp/>persons<sp/>to<sp/>whom<sp/>the<sp/>Software<sp/>is<sp/>furnished<sp/>to<sp/>do<sp/>so,<sp/>subject<sp/>to</highlight></codeline>
|
||
|
<codeline lineno="27"><highlight class="comment"><sp/>*<sp/><sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
|
||
|
<codeline lineno="28"><highlight class="comment"><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="29"><highlight class="comment"><sp/>*<sp/><sp/>The<sp/>above<sp/>copyright<sp/>notice<sp/>and<sp/>this<sp/>permission<sp/>notice<sp/>shall<sp/>be</highlight></codeline>
|
||
|
<codeline lineno="30"><highlight class="comment"><sp/>*<sp/><sp/>included<sp/>in<sp/>all<sp/>copies<sp/>or<sp/>substantial<sp/>portions<sp/>of<sp/>the<sp/>Software.</highlight></codeline>
|
||
|
<codeline lineno="31"><highlight class="comment"><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="32"><highlight class="comment"><sp/>*<sp/><sp/>THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>"AS<sp/>IS",<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
|
||
|
<codeline lineno="33"><highlight class="comment"><sp/>*<sp/><sp/>EXPRESS<sp/>OR<sp/>IMPLIED,<sp/>INCLUDING<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO<sp/>THE<sp/>WARRANTIES<sp/>OF</highlight></codeline>
|
||
|
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/><sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
|
||
|
<codeline lineno="35"><highlight class="comment"><sp/>*<sp/><sp/>NONINFRINGEMENT.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>AUTHORS<sp/>OR<sp/>COPYRIGHT<sp/>HOLDERS<sp/>BE</highlight></codeline>
|
||
|
<codeline lineno="36"><highlight class="comment"><sp/>*<sp/><sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>CLAIM,<sp/>DAMAGES<sp/>OR<sp/>OTHER<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>AN<sp/>ACTION</highlight></codeline>
|
||
|
<codeline lineno="37"><highlight class="comment"><sp/>*<sp/><sp/>OF<sp/>CONTRACT,<sp/>TORT<sp/>OR<sp/>OTHERWISE,<sp/>ARISING<sp/>FROM,<sp/>OUT<sp/>OF<sp/>OR<sp/>IN<sp/>CONNECTION</highlight></codeline>
|
||
|
<codeline lineno="38"><highlight class="comment"><sp/>*<sp/><sp/>WITH<sp/>THE<sp/>SOFTWARE<sp/>OR<sp/>THE<sp/>USE<sp/>OR<sp/>OTHER<sp/>DEALINGS<sp/>IN<sp/>THE<sp/>SOFTWARE.</highlight></codeline>
|
||
|
<codeline lineno="39"><highlight class="comment"><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="40"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="42"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Gecode<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Region<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="62"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
||
|
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/>Space&<sp/>home;</highlight></codeline>
|
||
|
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>free_reset;</highlight></codeline>
|
||
|
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">HeapInfo<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||
|
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n;</highlight></codeline>
|
||
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="group__FuncIterRangesOp_1ga9f9ab6d72452ad86b95cd65abf463161" kindref="member">size</ref>;</highlight></codeline>
|
||
|
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>blocks[1];</highlight></codeline>
|
||
|
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>hi;</highlight></codeline>
|
||
|
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_KERNEL_EXPORT<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>heap_alloc(</highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>s);</highlight></codeline>
|
||
|
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_KERNEL_EXPORT<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>heap_free(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
<codeline lineno="89"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||
|
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region_1aa6afe172fa28af9f452f34fd762cf481" kindref="member">Region</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>Space&<sp/>home);</highlight></codeline>
|
||
|
<codeline lineno="93"></codeline>
|
||
|
<codeline lineno="94"></codeline>
|
||
|
<codeline lineno="100"><highlight class="normal"><sp/><sp/><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="101"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
||
|
<codeline lineno="108"><highlight class="normal"><sp/><sp/><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="109"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
||
|
<codeline lineno="116"><highlight class="normal"><sp/><sp/><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="117"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
||
|
<codeline lineno="124"><highlight class="normal"><sp/><sp/><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="125"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">alloc</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
||
|
<codeline lineno="135"><highlight class="normal"><sp/><sp/><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="136"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
||
|
<codeline lineno="146"><highlight class="normal"><sp/><sp/><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="147"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
||
|
<codeline lineno="157"><highlight class="normal"><sp/><sp/><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="158"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
||
|
<codeline lineno="168"><highlight class="normal"><sp/><sp/><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="169"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">free</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
||
|
<codeline lineno="181"><highlight class="normal"><sp/><sp/><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="182"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Region_1a5d5cc4bc31c18c0bf3b34ac560c9597a" kindref="member">realloc</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m);</highlight></codeline>
|
||
|
<codeline lineno="194"><highlight class="normal"><sp/><sp/><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="195"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Region_1a5d5cc4bc31c18c0bf3b34ac560c9597a" kindref="member">realloc</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m);</highlight></codeline>
|
||
|
<codeline lineno="207"><highlight class="normal"><sp/><sp/><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="208"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Region_1a5d5cc4bc31c18c0bf3b34ac560c9597a" kindref="member">realloc</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m);</highlight></codeline>
|
||
|
<codeline lineno="220"><highlight class="normal"><sp/><sp/><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="221"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Region_1a5d5cc4bc31c18c0bf3b34ac560c9597a" kindref="member">realloc</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m);</highlight></codeline>
|
||
|
<codeline lineno="223"></codeline>
|
||
|
<codeline lineno="225"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/><ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">ralloc</ref>(</highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>s);</highlight></codeline>
|
||
|
<codeline lineno="233"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Region_1a2424e98ed4b688708c091349c971fb4f" kindref="member">rfree</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>p,<sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>s);</highlight></codeline>
|
||
|
<codeline lineno="235"></codeline>
|
||
|
<codeline lineno="237"></codeline>
|
||
|
<codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T><sp/></highlight></codeline>
|
||
|
<codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">construct</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
<codeline lineno="247"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1><sp/></highlight></codeline>
|
||
|
<codeline lineno="248"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1);</highlight></codeline>
|
||
|
<codeline lineno="254"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A2><sp/></highlight></codeline>
|
||
|
<codeline lineno="255"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1,<sp/>A2<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a2);</highlight></codeline>
|
||
|
<codeline lineno="261"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A2,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A3></highlight></codeline>
|
||
|
<codeline lineno="262"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1,<sp/>A2<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a2,<sp/>A3<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a3);</highlight></codeline>
|
||
|
<codeline lineno="268"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A2,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A3,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A4></highlight></codeline>
|
||
|
<codeline lineno="269"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1,<sp/>A2<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a2,<sp/>A3<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a3,<sp/>A4<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a4);</highlight></codeline>
|
||
|
<codeline lineno="275"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A2,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A3,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A4,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A5></highlight></codeline>
|
||
|
<codeline lineno="276"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1,<sp/>A2<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a2,<sp/>A3<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a3,<sp/>A4<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a4,<sp/>A5<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a5);</highlight></codeline>
|
||
|
<codeline lineno="278"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region_1a02a16bb47c8799552d526d8fe8f66443" kindref="member">~Region</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
<codeline lineno="280"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
||
|
<codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/></highlight><highlight class="keyword">operator</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>s)<sp/></highlight><highlight class="keywordflow">throw</highlight><highlight class="normal">()<sp/>{<sp/>(void)<sp/>s;<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;<sp/>}</highlight></codeline>
|
||
|
<codeline lineno="284"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">operator</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>p)<sp/>{<sp/>(void)<sp/>p;<sp/>};</highlight></codeline>
|
||
|
<codeline lineno="286"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region_1aa6afe172fa28af9f452f34fd762cf481" kindref="member">Region</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Region_1aa6afe172fa28af9f452f34fd762cf481" kindref="member">Region</ref>&<sp/>r)<sp/>:<sp/>home(r.home)<sp/>{}</highlight></codeline>
|
||
|
<codeline lineno="288"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Region_1aa6afe172fa28af9f452f34fd762cf481" kindref="member">Region</ref>&<sp/>operator<sp/>=(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Region_1aa6afe172fa28af9f452f34fd762cf481" kindref="member">Region</ref>&)<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>*</highlight><highlight class="keyword">this</highlight><highlight class="normal">;<sp/>}</highlight></codeline>
|
||
|
<codeline lineno="289"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
||
|
<codeline lineno="291"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="292"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="293"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
||
|
<codeline lineno="294"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Implementation</highlight></codeline>
|
||
|
<codeline lineno="295"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="296"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="297"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
||
|
<codeline lineno="298" refid="classGecode_1_1Region_1aa6afe172fa28af9f452f34fd762cf481" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1aa6afe172fa28af9f452f34fd762cf481" kindref="member">Region::Region</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&<sp/>h)</highlight></codeline>
|
||
|
<codeline lineno="299"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>home(const_cast<<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&>(h)),<sp/>free_reset(home.sm->region.free),<sp/>hi(0)<sp/>{}</highlight></codeline>
|
||
|
<codeline lineno="300"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="301"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*</highlight></codeline>
|
||
|
<codeline lineno="302" refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">Region::ralloc</ref>(</highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>s)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="303"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>p;</highlight></codeline>
|
||
|
<codeline lineno="304"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(home.sm-><ref refid="classGecode_1_1SharedMemory_1a94e8c4b667a32d564a1cbd03c70d0b4e" kindref="member">region_alloc</ref>(s,p))</highlight></codeline>
|
||
|
<codeline lineno="305"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>p;</highlight></codeline>
|
||
|
<codeline lineno="306"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>heap_alloc(s);</highlight></codeline>
|
||
|
<codeline lineno="307"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="308"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="309"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="310" refid="classGecode_1_1Region_1a2424e98ed4b688708c091349c971fb4f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a2424e98ed4b688708c091349c971fb4f" kindref="member">Region::rfree</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*,<sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal">)<sp/>{}</highlight></codeline>
|
||
|
<codeline lineno="311"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="312"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
|
||
|
<codeline lineno="313" refid="classGecode_1_1Region_1a02a16bb47c8799552d526d8fe8f66443" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a02a16bb47c8799552d526d8fe8f66443" kindref="member">Region::~Region</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="314"><highlight class="normal"><sp/><sp/><sp/><sp/>home.sm->region.<ref refid="classGecode_1_1SharedMemory_1a6551b4dd90451b74c6319c459db71238" kindref="member">free</ref><sp/>=<sp/>free_reset;</highlight></codeline>
|
||
|
<codeline lineno="315"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(hi<sp/>!=<sp/>NULL)</highlight></codeline>
|
||
|
<codeline lineno="316"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>heap_free();</highlight></codeline>
|
||
|
<codeline lineno="317"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="318"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="319"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="320"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
||
|
<codeline lineno="321"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Typed<sp/>allocation<sp/>routines</highlight></codeline>
|
||
|
<codeline lineno="322"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="323"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="324"><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="325"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
|
||
|
<codeline lineno="326"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">Region::alloc</ref>(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="327"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/>p<sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">T*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">ralloc</ref>(</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(T)*n));</highlight></codeline>
|
||
|
<codeline lineno="328"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;<sp/>)</highlight></codeline>
|
||
|
<codeline lineno="329"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(p+i)<sp/>T();</highlight></codeline>
|
||
|
<codeline lineno="330"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>p;</highlight></codeline>
|
||
|
<codeline lineno="331"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="332"><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="333"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
|
||
|
<codeline lineno="334"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">Region::alloc</ref>(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="335"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(n<sp/>>=<sp/>0);</highlight></codeline>
|
||
|
<codeline lineno="336"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>alloc<T>(</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n));</highlight></codeline>
|
||
|
<codeline lineno="337"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="338"><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="339"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
|
||
|
<codeline lineno="340"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">Region::alloc</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="341"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>alloc<T>(</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n));</highlight></codeline>
|
||
|
<codeline lineno="342"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="343"><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="344"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
|
||
|
<codeline lineno="345"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a167cff2d16f08d890fff11f80e519233" kindref="member">Region::alloc</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="346"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(n<sp/>>=<sp/>0);</highlight></codeline>
|
||
|
<codeline lineno="347"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>alloc<T>(</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n));</highlight></codeline>
|
||
|
<codeline lineno="348"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="349"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="350"><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="351"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="352"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">Region::free</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="353"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;<sp/>)</highlight></codeline>
|
||
|
<codeline lineno="354"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>b[i].~T();</highlight></codeline>
|
||
|
<codeline lineno="355"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Region_1a2424e98ed4b688708c091349c971fb4f" kindref="member">rfree</ref>(b,n*</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(T));</highlight></codeline>
|
||
|
<codeline lineno="356"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="357"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T></highlight></codeline>
|
||
|
<codeline lineno="358"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="359"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">Region::free</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="360"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(n<sp/>>=<sp/>0);</highlight></codeline>
|
||
|
<codeline lineno="361"><highlight class="normal"><sp/><sp/><sp/><sp/>free<T>(b,</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n));</highlight></codeline>
|
||
|
<codeline lineno="362"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="363"><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="364"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="365"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">Region::free</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="366"><highlight class="normal"><sp/><sp/><sp/><sp/>free<T>(b,</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n));</highlight></codeline>
|
||
|
<codeline lineno="367"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="368"><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="369"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="370"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1ab6fb7233ea7822b457558d78d808a46c" kindref="member">Region::free</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="371"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(n<sp/>>=<sp/>0);</highlight></codeline>
|
||
|
<codeline lineno="372"><highlight class="normal"><sp/><sp/><sp/><sp/>free<T>(b,</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n));</highlight></codeline>
|
||
|
<codeline lineno="373"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="374"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="375"><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="376"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
|
||
|
<codeline lineno="377"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a5d5cc4bc31c18c0bf3b34ac560c9597a" kindref="member">Region::realloc</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="378"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(n<sp/><<sp/>m)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="379"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>T*<sp/>p<sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">T*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">ralloc</ref>(</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(T)*m));</highlight></codeline>
|
||
|
<codeline lineno="380"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i--;<sp/>)</highlight></codeline>
|
||
|
<codeline lineno="381"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(p+i)<sp/>T(b[i]);</highlight></codeline>
|
||
|
<codeline lineno="382"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=n;<sp/>i<m;<sp/>i++)</highlight></codeline>
|
||
|
<codeline lineno="383"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(p+i)<sp/>T();</highlight></codeline>
|
||
|
<codeline lineno="384"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>free<T>(b,n);</highlight></codeline>
|
||
|
<codeline lineno="385"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>p;</highlight></codeline>
|
||
|
<codeline lineno="386"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
<codeline lineno="387"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>free<T>(b+m,m-n);</highlight></codeline>
|
||
|
<codeline lineno="388"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>b;</highlight></codeline>
|
||
|
<codeline lineno="389"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="390"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="391"><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="392"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
|
||
|
<codeline lineno="393"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a5d5cc4bc31c18c0bf3b34ac560c9597a" kindref="member">Region::realloc</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="394"><highlight class="normal"><sp/><sp/><sp/><sp/>assert((n<sp/>>=<sp/>0)<sp/>&&<sp/>(m<sp/>>=<sp/>0));</highlight></codeline>
|
||
|
<codeline lineno="395"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>realloc<T>(b,</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n),</highlight></codeline>
|
||
|
<codeline lineno="396"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>static_cast<long<sp/>unsigned<sp/>int>(m));</highlight></codeline>
|
||
|
<codeline lineno="397"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="398"><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="399"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
|
||
|
<codeline lineno="400"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a5d5cc4bc31c18c0bf3b34ac560c9597a" kindref="member">Region::realloc</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="401"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>realloc<T>(b,</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n),</highlight></codeline>
|
||
|
<codeline lineno="402"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>static_cast<long<sp/>unsigned<sp/>int>(m));</highlight></codeline>
|
||
|
<codeline lineno="403"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="404"><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="405"><highlight class="normal"><sp/><sp/>forceinline<sp/>T*</highlight></codeline>
|
||
|
<codeline lineno="406"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a5d5cc4bc31c18c0bf3b34ac560c9597a" kindref="member">Region::realloc</ref>(T*<sp/>b,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>m)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="407"><highlight class="normal"><sp/><sp/><sp/><sp/>assert((n<sp/>>=<sp/>0)<sp/>&&<sp/>(m<sp/>>=<sp/>0));</highlight></codeline>
|
||
|
<codeline lineno="408"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>realloc<T>(b,</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(n),</highlight></codeline>
|
||
|
<codeline lineno="409"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>static_cast<long<sp/>unsigned<sp/>int>(m));</highlight></codeline>
|
||
|
<codeline lineno="410"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="411"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="412"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
||
|
<codeline lineno="413"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Region<sp/>construction<sp/>support</highlight></codeline>
|
||
|
<codeline lineno="414"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
|
||
|
<codeline lineno="415"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="416"><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><sp/></highlight></codeline>
|
||
|
<codeline lineno="417"><highlight class="normal"><sp/><sp/>forceinline<sp/>T&<sp/></highlight></codeline>
|
||
|
<codeline lineno="418"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">Region::construct</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="419"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>alloc<T>(1);</highlight></codeline>
|
||
|
<codeline lineno="420"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="421"><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,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1><sp/></highlight></codeline>
|
||
|
<codeline lineno="422"><highlight class="normal"><sp/><sp/>forceinline<sp/>T&<sp/></highlight></codeline>
|
||
|
<codeline lineno="423"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">Region::construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="424"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/>t<sp/>=<sp/>*</highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">T*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">ralloc</ref>(</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(T)));</highlight></codeline>
|
||
|
<codeline lineno="425"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&t)<sp/>T(a1);</highlight></codeline>
|
||
|
<codeline lineno="426"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>t;</highlight></codeline>
|
||
|
<codeline lineno="427"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="428"><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,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A2><sp/></highlight></codeline>
|
||
|
<codeline lineno="429"><highlight class="normal"><sp/><sp/>forceinline<sp/>T&<sp/></highlight></codeline>
|
||
|
<codeline lineno="430"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">Region::construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1,<sp/>A2<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a2)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="431"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/>t<sp/>=<sp/>*</highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">T*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">ralloc</ref>(</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(T)));</highlight></codeline>
|
||
|
<codeline lineno="432"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&t)<sp/>T(a1,a2);</highlight></codeline>
|
||
|
<codeline lineno="433"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>t;</highlight></codeline>
|
||
|
<codeline lineno="434"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="435"><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,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A2,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A3></highlight></codeline>
|
||
|
<codeline lineno="436"><highlight class="normal"><sp/><sp/>forceinline<sp/>T&<sp/></highlight></codeline>
|
||
|
<codeline lineno="437"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">Region::construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1,<sp/>A2<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a2,<sp/>A3<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a3)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="438"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/>t<sp/>=<sp/>*</highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">T*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">ralloc</ref>(</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(T)));</highlight></codeline>
|
||
|
<codeline lineno="439"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&t)<sp/>T(a1,a2,a3);</highlight></codeline>
|
||
|
<codeline lineno="440"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>t;</highlight></codeline>
|
||
|
<codeline lineno="441"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="442"><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,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A2,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A3,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A4></highlight></codeline>
|
||
|
<codeline lineno="443"><highlight class="normal"><sp/><sp/>forceinline<sp/>T&<sp/></highlight></codeline>
|
||
|
<codeline lineno="444"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">Region::construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1,<sp/>A2<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a2,<sp/>A3<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a3,<sp/>A4<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a4)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="445"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/>t<sp/>=<sp/>*</highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">T*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">ralloc</ref>(</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(T)));</highlight></codeline>
|
||
|
<codeline lineno="446"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&t)<sp/>T(a1,a2,a3,a4);</highlight></codeline>
|
||
|
<codeline lineno="447"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>t;</highlight></codeline>
|
||
|
<codeline lineno="448"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="449"><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,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A1,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A2,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A3,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A4,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>A5></highlight></codeline>
|
||
|
<codeline lineno="450"><highlight class="normal"><sp/><sp/>forceinline<sp/>T&<sp/></highlight></codeline>
|
||
|
<codeline lineno="451"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Region_1a3f59930c9fc1c3b9028c2a80b6b4962c" kindref="member">Region::construct</ref>(A1<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a1,<sp/>A2<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a2,<sp/>A3<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a3,<sp/>A4<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a4,<sp/>A5<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">&<sp/>a5)<sp/>{</highlight></codeline>
|
||
|
<codeline lineno="452"><highlight class="normal"><sp/><sp/><sp/><sp/>T&<sp/>t<sp/>=<sp/>*</highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">T*</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="classGecode_1_1Region_1a6c9123960b7c49dd2d6595ebfccfe7d6" kindref="member">ralloc</ref>(</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(T)));</highlight></codeline>
|
||
|
<codeline lineno="453"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(&t)<sp/>T(a1,a2,a3,a4,a5);</highlight></codeline>
|
||
|
<codeline lineno="454"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>t;</highlight></codeline>
|
||
|
<codeline lineno="455"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
|
||
|
<codeline lineno="456"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="457"><highlight class="normal">}</highlight></codeline>
|
||
|
<codeline lineno="458"><highlight class="normal"></highlight></codeline>
|
||
|
<codeline lineno="459"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>kernel-memory</highlight><highlight class="normal"></highlight></codeline>
|
||
|
</programlisting>
|
||
|
<location file="/usr/include/gecode/kernel/region.hpp"/>
|
||
|
</compounddef>
|
||
|
</doxygen>
|