729 lines
57 KiB
XML
729 lines
57 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="spacenode_8hh" kind="file">
|
|
<compoundname>spacenode.hh</compoundname>
|
|
<includes refid="node_8hh" local="no">gecode/gist/node.hh</includes>
|
|
<includes refid="kernel_8hh" local="no">gecode/kernel.hh</includes>
|
|
<includedby refid="visualnode_8hh" local="no">/usr/include/gecode/gist/visualnode.hh</includedby>
|
|
<incdepgraph>
|
|
<node id="8508">
|
|
<label>gecode/support/cast.hpp</label>
|
|
<link refid="cast_8hpp_source"/>
|
|
</node>
|
|
<node id="8565">
|
|
<label>gecode/kernel/brancher-val-sel-commit.hpp</label>
|
|
<link refid="brancher-val-sel-commit_8hpp_source"/>
|
|
</node>
|
|
<node id="8526">
|
|
<label>gecode/support/static-stack.hpp</label>
|
|
<link refid="static-stack_8hpp_source"/>
|
|
</node>
|
|
<node id="8567">
|
|
<label>gecode/kernel/var-imp.hpp</label>
|
|
<link refid="kernel_2var-imp_8hpp_source"/>
|
|
</node>
|
|
<node id="8524">
|
|
<label>gecode/support/random.hpp</label>
|
|
<link refid="random_8hpp_source"/>
|
|
</node>
|
|
<node id="8569">
|
|
<label>limits</label>
|
|
</node>
|
|
<node id="8542">
|
|
<label>gecode/kernel/var.hpp</label>
|
|
<link refid="kernel_2var_8hpp_source"/>
|
|
</node>
|
|
<node id="8527">
|
|
<label>gecode/support/thread/none.hpp</label>
|
|
<link refid="none_8hpp_source"/>
|
|
</node>
|
|
<node id="8546">
|
|
<label>iterator</label>
|
|
</node>
|
|
<node id="8529">
|
|
<label>gecode/support/timer.hpp</label>
|
|
<link refid="timer_8hpp_source"/>
|
|
</node>
|
|
<node id="8528">
|
|
<label>gecode/support/thread/thread.hpp</label>
|
|
<link refid="thread_2thread_8hpp_source"/>
|
|
</node>
|
|
<node id="8564">
|
|
<label>gecode/kernel/brancher-val-commit.hpp</label>
|
|
<link refid="brancher-val-commit_8hpp_source"/>
|
|
</node>
|
|
<node id="8554">
|
|
<label>gecode/kernel/afc.hpp</label>
|
|
<link refid="kernel_2afc_8hpp_source"/>
|
|
</node>
|
|
<node id="8538">
|
|
<label>gecode/kernel/var-type.hpp</label>
|
|
<link refid="var-type_8hpp_source"/>
|
|
</node>
|
|
<node id="8530">
|
|
<label>gecode/support/hw-rnd.hpp</label>
|
|
<link refid="hw-rnd_8hpp_source"/>
|
|
</node>
|
|
<node id="8517">
|
|
<label>cmath</label>
|
|
</node>
|
|
<node id="8501">
|
|
<label>cassert</label>
|
|
</node>
|
|
<node id="8561">
|
|
<label>gecode/kernel/brancher-view-sel.hpp</label>
|
|
<link refid="brancher-view-sel_8hpp_source"/>
|
|
</node>
|
|
<node id="8568">
|
|
<label>gecode/kernel/allocators.hpp</label>
|
|
<link refid="allocators_8hpp_source"/>
|
|
<childnode refid="8569" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8545">
|
|
<label>cstdarg</label>
|
|
</node>
|
|
<node id="8515">
|
|
<label>gecode/support/bitset-base.hpp</label>
|
|
<link refid="bitset-base_8hpp_source"/>
|
|
<childnode refid="8514" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8549">
|
|
<label>gecode/kernel/shared-array.hpp</label>
|
|
<link refid="shared-array_8hpp_source"/>
|
|
<childnode refid="8545" relation="include">
|
|
</childnode>
|
|
<childnode refid="8519" relation="include">
|
|
</childnode>
|
|
<childnode refid="8548" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8539">
|
|
<label>gecode/kernel/modevent.hpp</label>
|
|
<link refid="modevent_8hpp_source"/>
|
|
</node>
|
|
<node id="8532">
|
|
<label>gecode/kernel/memory-config.hpp</label>
|
|
<link refid="memory-config_8hpp_source"/>
|
|
</node>
|
|
<node id="8513">
|
|
<label>gecode/support/int-type.hpp</label>
|
|
<link refid="int-type_8hpp_source"/>
|
|
<childnode refid="8514" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8506">
|
|
<label>gecode/support/exception.hpp</label>
|
|
<link refid="support_2exception_8hpp_source"/>
|
|
<childnode refid="8507" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8507">
|
|
<label>exception</label>
|
|
</node>
|
|
<node id="8541">
|
|
<label>gecode/kernel/region.hpp</label>
|
|
<link refid="region_8hpp_source"/>
|
|
</node>
|
|
<node id="8512">
|
|
<label>gecode/support/marked-pointer.hpp</label>
|
|
<link refid="marked-pointer_8hpp_source"/>
|
|
<childnode refid="8498" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8509">
|
|
<label>gecode/support/thread.hpp</label>
|
|
<link refid="thread_8hpp_source"/>
|
|
<childnode refid="8498" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8497">
|
|
<label>gecode/kernel.hh</label>
|
|
<link refid="kernel_8hh_source"/>
|
|
<childnode refid="8498" relation="include">
|
|
</childnode>
|
|
<childnode refid="8499" relation="include">
|
|
</childnode>
|
|
<childnode refid="8500" relation="include">
|
|
</childnode>
|
|
<childnode refid="8501" relation="include">
|
|
</childnode>
|
|
<childnode refid="8502" relation="include">
|
|
</childnode>
|
|
<childnode refid="8504" relation="include">
|
|
</childnode>
|
|
<childnode refid="8531" relation="include">
|
|
</childnode>
|
|
<childnode refid="8532" relation="include">
|
|
</childnode>
|
|
<childnode refid="8533" relation="include">
|
|
</childnode>
|
|
<childnode refid="8534" relation="include">
|
|
</childnode>
|
|
<childnode refid="8535" relation="include">
|
|
</childnode>
|
|
<childnode refid="8536" relation="include">
|
|
</childnode>
|
|
<childnode refid="8537" relation="include">
|
|
</childnode>
|
|
<childnode refid="8539" relation="include">
|
|
</childnode>
|
|
<childnode refid="8540" relation="include">
|
|
</childnode>
|
|
<childnode refid="8541" relation="include">
|
|
</childnode>
|
|
<childnode refid="8542" relation="include">
|
|
</childnode>
|
|
<childnode refid="8543" relation="include">
|
|
</childnode>
|
|
<childnode refid="8544" relation="include">
|
|
</childnode>
|
|
<childnode refid="8549" relation="include">
|
|
</childnode>
|
|
<childnode refid="8550" relation="include">
|
|
</childnode>
|
|
<childnode refid="8552" relation="include">
|
|
</childnode>
|
|
<childnode refid="8553" relation="include">
|
|
</childnode>
|
|
<childnode refid="8554" relation="include">
|
|
</childnode>
|
|
<childnode refid="8555" relation="include">
|
|
</childnode>
|
|
<childnode refid="8556" relation="include">
|
|
</childnode>
|
|
<childnode refid="8557" relation="include">
|
|
</childnode>
|
|
<childnode refid="8558" relation="include">
|
|
</childnode>
|
|
<childnode refid="8559" relation="include">
|
|
</childnode>
|
|
<childnode refid="8560" relation="include">
|
|
</childnode>
|
|
<childnode refid="8561" relation="include">
|
|
</childnode>
|
|
<childnode refid="8562" relation="include">
|
|
</childnode>
|
|
<childnode refid="8563" relation="include">
|
|
</childnode>
|
|
<childnode refid="8564" relation="include">
|
|
</childnode>
|
|
<childnode refid="8565" relation="include">
|
|
</childnode>
|
|
<childnode refid="8566" relation="include">
|
|
</childnode>
|
|
<childnode refid="8567" relation="include">
|
|
</childnode>
|
|
<childnode refid="8568" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8555">
|
|
<label>gecode/kernel/branch-traits.hpp</label>
|
|
<link refid="branch-traits_8hpp_source"/>
|
|
</node>
|
|
<node id="8544">
|
|
<label>gecode/kernel/array.hpp</label>
|
|
<link refid="kernel_2array_8hpp_source"/>
|
|
<childnode refid="8545" relation="include">
|
|
</childnode>
|
|
<childnode refid="8519" relation="include">
|
|
</childnode>
|
|
<childnode refid="8546" relation="include">
|
|
</childnode>
|
|
<childnode refid="8547" relation="include">
|
|
</childnode>
|
|
<childnode refid="8548" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8559">
|
|
<label>gecode/kernel/branch-val.hpp</label>
|
|
<link refid="branch-val_8hpp_source"/>
|
|
</node>
|
|
<node id="8523">
|
|
<label>gecode/support/dynamic-stack.hpp</label>
|
|
<link refid="dynamic-stack_8hpp_source"/>
|
|
</node>
|
|
<node id="8535">
|
|
<label>gecode/kernel/archive.hpp</label>
|
|
<link refid="archive_8hpp_source"/>
|
|
</node>
|
|
<node id="8540">
|
|
<label>gecode/kernel/range-list.hpp</label>
|
|
<link refid="range-list_8hpp_source"/>
|
|
</node>
|
|
<node id="8560">
|
|
<label>gecode/kernel/brancher-merit.hpp</label>
|
|
<link refid="brancher-merit_8hpp_source"/>
|
|
</node>
|
|
<node id="8503">
|
|
<label>gecode/support/config.hpp</label>
|
|
<link refid="support_2config_8hpp_source"/>
|
|
</node>
|
|
<node id="8557">
|
|
<label>gecode/kernel/branch-var.hpp</label>
|
|
<link refid="branch-var_8hpp_source"/>
|
|
</node>
|
|
<node id="8533">
|
|
<label>gecode/kernel/memory-manager.hpp</label>
|
|
<link refid="memory-manager_8hpp_source"/>
|
|
</node>
|
|
<node id="8496">
|
|
<label>gecode/gist/node.hh</label>
|
|
<link refid="node_8hh_source"/>
|
|
<childnode refid="8497" relation="include">
|
|
</childnode>
|
|
<childnode refid="8570" relation="include">
|
|
</childnode>
|
|
<childnode refid="8571" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8522">
|
|
<label>gecode/support/dynamic-queue.hpp</label>
|
|
<link refid="dynamic-queue_8hpp_source"/>
|
|
</node>
|
|
<node id="8534">
|
|
<label>gecode/kernel/macros.hpp</label>
|
|
<link refid="kernel_2macros_8hpp_source"/>
|
|
</node>
|
|
<node id="8551">
|
|
<label>ctime</label>
|
|
</node>
|
|
<node id="8547">
|
|
<label>vector</label>
|
|
</node>
|
|
<node id="8553">
|
|
<label>gecode/kernel/advisor.hpp</label>
|
|
<link refid="advisor_8hpp_source"/>
|
|
</node>
|
|
<node id="8566">
|
|
<label>gecode/kernel/brancher-view-val.hpp</label>
|
|
<link refid="brancher-view-val_8hpp_source"/>
|
|
</node>
|
|
<node id="8548">
|
|
<label>sstream</label>
|
|
</node>
|
|
<node id="8571">
|
|
<label>QString</label>
|
|
</node>
|
|
<node id="8563">
|
|
<label>gecode/kernel/brancher-val-sel.hpp</label>
|
|
<link refid="brancher-val-sel_8hpp_source"/>
|
|
</node>
|
|
<node id="8552">
|
|
<label>gecode/kernel/propagator.hpp</label>
|
|
<link refid="kernel_2propagator_8hpp_source"/>
|
|
</node>
|
|
<node id="8520">
|
|
<label>gecode/support/block-allocator.hpp</label>
|
|
<link refid="block-allocator_8hpp_source"/>
|
|
</node>
|
|
<node id="8495">
|
|
<label>/usr/include/gecode/gist/spacenode.hh</label>
|
|
<link refid="spacenode.hh"/>
|
|
<childnode refid="8496" relation="include">
|
|
</childnode>
|
|
<childnode refid="8497" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8556">
|
|
<label>gecode/kernel/activity.hpp</label>
|
|
<link refid="kernel_2activity_8hpp_source"/>
|
|
</node>
|
|
<node id="8499">
|
|
<label>cstdlib</label>
|
|
</node>
|
|
<node id="8516">
|
|
<label>gecode/support/bitset.hpp</label>
|
|
<link refid="bitset_8hpp_source"/>
|
|
<childnode refid="8514" relation="include">
|
|
</childnode>
|
|
<childnode refid="8517" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8504">
|
|
<label>gecode/support/auto-link.hpp</label>
|
|
<link refid="auto-link_8hpp_source"/>
|
|
</node>
|
|
<node id="8519">
|
|
<label>iostream</label>
|
|
</node>
|
|
<node id="8531">
|
|
<label>gecode/kernel/exception.hpp</label>
|
|
<link refid="kernel_2exception_8hpp_source"/>
|
|
</node>
|
|
<node id="8505">
|
|
<label>gecode/support/macros.hpp</label>
|
|
<link refid="support_2macros_8hpp_source"/>
|
|
</node>
|
|
<node id="8543">
|
|
<label>gecode/kernel/view.hpp</label>
|
|
<link refid="kernel_2view_8hpp_source"/>
|
|
</node>
|
|
<node id="8558">
|
|
<label>gecode/kernel/branch-tiebreak.hpp</label>
|
|
<link refid="branch-tiebreak_8hpp_source"/>
|
|
</node>
|
|
<node id="8498">
|
|
<label>cstddef</label>
|
|
</node>
|
|
<node id="8514">
|
|
<label>climits</label>
|
|
</node>
|
|
<node id="8537">
|
|
<label>gecode/kernel/core.hpp</label>
|
|
<link refid="core_8hpp_source"/>
|
|
<childnode refid="8519" relation="include">
|
|
</childnode>
|
|
<childnode refid="8538" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8502">
|
|
<label>gecode/support.hh</label>
|
|
<link refid="support_8hh_source"/>
|
|
<childnode refid="8501" relation="include">
|
|
</childnode>
|
|
<childnode refid="8503" relation="include">
|
|
</childnode>
|
|
<childnode refid="8504" relation="include">
|
|
</childnode>
|
|
<childnode refid="8505" relation="include">
|
|
</childnode>
|
|
<childnode refid="8506" relation="include">
|
|
</childnode>
|
|
<childnode refid="8508" relation="include">
|
|
</childnode>
|
|
<childnode refid="8509" relation="include">
|
|
</childnode>
|
|
<childnode refid="8510" relation="include">
|
|
</childnode>
|
|
<childnode refid="8512" relation="include">
|
|
</childnode>
|
|
<childnode refid="8513" relation="include">
|
|
</childnode>
|
|
<childnode refid="8515" relation="include">
|
|
</childnode>
|
|
<childnode refid="8516" relation="include">
|
|
</childnode>
|
|
<childnode refid="8518" relation="include">
|
|
</childnode>
|
|
<childnode refid="8520" relation="include">
|
|
</childnode>
|
|
<childnode refid="8521" relation="include">
|
|
</childnode>
|
|
<childnode refid="8522" relation="include">
|
|
</childnode>
|
|
<childnode refid="8523" relation="include">
|
|
</childnode>
|
|
<childnode refid="8524" relation="include">
|
|
</childnode>
|
|
<childnode refid="8525" relation="include">
|
|
</childnode>
|
|
<childnode refid="8526" relation="include">
|
|
</childnode>
|
|
<childnode refid="8527" relation="include">
|
|
</childnode>
|
|
<childnode refid="8528" relation="include">
|
|
</childnode>
|
|
<childnode refid="8529" relation="include">
|
|
</childnode>
|
|
<childnode refid="8530" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8570">
|
|
<label>QHash</label>
|
|
</node>
|
|
<node id="8521">
|
|
<label>gecode/support/dynamic-array.hpp</label>
|
|
<link refid="dynamic-array_8hpp_source"/>
|
|
<childnode refid="8511" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8525">
|
|
<label>gecode/support/sort.hpp</label>
|
|
<link refid="support_2sort_8hpp_source"/>
|
|
<childnode refid="8511" relation="include">
|
|
</childnode>
|
|
<childnode refid="8514" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8550">
|
|
<label>gecode/kernel/rnd.hpp</label>
|
|
<link refid="rnd_8hpp_source"/>
|
|
<childnode refid="8551" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8511">
|
|
<label>algorithm</label>
|
|
</node>
|
|
<node id="8562">
|
|
<label>gecode/kernel/brancher-view.hpp</label>
|
|
<link refid="brancher-view_8hpp_source"/>
|
|
</node>
|
|
<node id="8536">
|
|
<label>gecode/kernel/global-afc.hpp</label>
|
|
<link refid="global-afc_8hpp_source"/>
|
|
<childnode refid="8517" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8500">
|
|
<label>cstring</label>
|
|
</node>
|
|
<node id="8518">
|
|
<label>gecode/support/bitset-offset.hpp</label>
|
|
<link refid="bitset-offset_8hpp_source"/>
|
|
<childnode refid="8514" relation="include">
|
|
</childnode>
|
|
<childnode refid="8517" relation="include">
|
|
</childnode>
|
|
<childnode refid="8519" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8510">
|
|
<label>gecode/support/heap.hpp</label>
|
|
<link refid="heap_8hpp_source"/>
|
|
<childnode refid="8500" relation="include">
|
|
</childnode>
|
|
<childnode refid="8499" relation="include">
|
|
</childnode>
|
|
<childnode refid="8511" relation="include">
|
|
</childnode>
|
|
</node>
|
|
</incdepgraph>
|
|
<invincdepgraph>
|
|
<node id="8579">
|
|
<label>/usr/include/gecode/gist/mainwindow.hh</label>
|
|
<link refid="mainwindow_8hh_source"/>
|
|
</node>
|
|
<node id="8576">
|
|
<label>/usr/include/gecode/gist/nodecursor.hh</label>
|
|
<link refid="nodecursor_8hh_source"/>
|
|
<childnode refid="8575" relation="include">
|
|
</childnode>
|
|
<childnode refid="8574" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8573">
|
|
<label>/usr/include/gecode/gist/visualnode.hh</label>
|
|
<link refid="visualnode_8hh_source"/>
|
|
<childnode refid="8574" relation="include">
|
|
</childnode>
|
|
<childnode refid="8576" relation="include">
|
|
</childnode>
|
|
<childnode refid="8577" relation="include">
|
|
</childnode>
|
|
<childnode refid="8581" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8578">
|
|
<label>/usr/include/gecode/gist/qtgist.hh</label>
|
|
<link refid="qtgist_8hh_source"/>
|
|
<childnode refid="8579" relation="include">
|
|
</childnode>
|
|
<childnode refid="8580" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8581">
|
|
<label>/usr/include/gecode/gist/treecanvas.hh</label>
|
|
<link refid="treecanvas_8hh_source"/>
|
|
<childnode refid="8578" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8577">
|
|
<label>/usr/include/gecode/gist/nodestats.hh</label>
|
|
<link refid="nodestats_8hh_source"/>
|
|
<childnode refid="8578" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8580">
|
|
<label>/usr/include/gecode/gist/nodewidget.hh</label>
|
|
<link refid="nodewidget_8hh_source"/>
|
|
</node>
|
|
<node id="8574">
|
|
<label>/usr/include/gecode/gist/layoutcursor.hh</label>
|
|
<link refid="layoutcursor_8hh_source"/>
|
|
<childnode refid="8575" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8572">
|
|
<label>/usr/include/gecode/gist/spacenode.hh</label>
|
|
<link refid="spacenode.hh"/>
|
|
<childnode refid="8573" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="8575">
|
|
<label>/usr/include/gecode/gist/drawingcursor.hh</label>
|
|
<link refid="drawingcursor_8hh_source"/>
|
|
</node>
|
|
</invincdepgraph>
|
|
<innerclass refid="classGecode_1_1Gist_1_1Statistics" prot="public">Gecode::Gist::Statistics</innerclass>
|
|
<innerclass refid="classGecode_1_1Gist_1_1BestNode" prot="public">Gecode::Gist::BestNode</innerclass>
|
|
<innerclass refid="classGecode_1_1Gist_1_1SpaceNode" prot="public">Gecode::Gist::SpaceNode</innerclass>
|
|
<innernamespace refid="namespaceGecode">Gecode</innernamespace>
|
|
<innernamespace refid="namespaceGecode_1_1Gist">Gecode::Gist</innernamespace>
|
|
<briefdescription>
|
|
</briefdescription>
|
|
<detaileddescription>
|
|
</detaileddescription>
|
|
<programlisting>
|
|
<codeline lineno="1"><highlight class="comment">/*<sp/>-*-<sp/>mode:<sp/>C++;<sp/>c-basic-offset:<sp/>2;<sp/>indent-tabs-mode:<sp/>nil<sp/>-*-<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline>
|
|
<codeline lineno="3"><highlight class="comment"><sp/>*<sp/><sp/>Main<sp/>authors:</highlight></codeline>
|
|
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Guido<sp/>Tack<sp/><tack@gecode.org></highlight></codeline>
|
|
<codeline lineno="5"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
|
|
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Guido<sp/>Tack,<sp/>2006</highlight></codeline>
|
|
<codeline lineno="8"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
|
|
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2010-08-11<sp/>15:13:48<sp/>+0200<sp/>(Wed,<sp/>11<sp/>Aug<sp/>2010)<sp/>$<sp/>by<sp/>$Author:<sp/>tack<sp/>$</highlight></codeline>
|
|
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>11343<sp/>$</highlight></codeline>
|
|
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>Gecode,<sp/>the<sp/>generic<sp/>constraint</highlight></codeline>
|
|
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
|
|
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
|
|
<codeline lineno="16"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/>Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
|
|
<codeline lineno="18"><highlight class="comment"><sp/>*<sp/>a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
|
|
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/>"Software"),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
|
|
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/>without<sp/>limitation<sp/>the<sp/>rights<sp/>to<sp/>use,<sp/>copy,<sp/>modify,<sp/>merge,<sp/>publish,</highlight></codeline>
|
|
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/>distribute,<sp/>sublicense,<sp/>and/or<sp/>sell<sp/>copies<sp/>of<sp/>the<sp/>Software,<sp/>and<sp/>to</highlight></codeline>
|
|
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/>permit<sp/>persons<sp/>to<sp/>whom<sp/>the<sp/>Software<sp/>is<sp/>furnished<sp/>to<sp/>do<sp/>so,<sp/>subject<sp/>to</highlight></codeline>
|
|
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
|
|
<codeline lineno="24"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/>The<sp/>above<sp/>copyright<sp/>notice<sp/>and<sp/>this<sp/>permission<sp/>notice<sp/>shall<sp/>be</highlight></codeline>
|
|
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/>included<sp/>in<sp/>all<sp/>copies<sp/>or<sp/>substantial<sp/>portions<sp/>of<sp/>the<sp/>Software.</highlight></codeline>
|
|
<codeline lineno="27"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="28"><highlight class="comment"><sp/>*<sp/>THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>"AS<sp/>IS",<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
|
|
<codeline lineno="29"><highlight class="comment"><sp/>*<sp/>EXPRESS<sp/>OR<sp/>IMPLIED,<sp/>INCLUDING<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO<sp/>THE<sp/>WARRANTIES<sp/>OF</highlight></codeline>
|
|
<codeline lineno="30"><highlight class="comment"><sp/>*<sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
|
|
<codeline lineno="31"><highlight class="comment"><sp/>*<sp/>NONINFRINGEMENT.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>AUTHORS<sp/>OR<sp/>COPYRIGHT<sp/>HOLDERS<sp/>BE</highlight></codeline>
|
|
<codeline lineno="32"><highlight class="comment"><sp/>*<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>CLAIM,<sp/>DAMAGES<sp/>OR<sp/>OTHER<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>AN<sp/>ACTION</highlight></codeline>
|
|
<codeline lineno="33"><highlight class="comment"><sp/>*<sp/>OF<sp/>CONTRACT,<sp/>TORT<sp/>OR<sp/>OTHERWISE,<sp/>ARISING<sp/>FROM,<sp/>OUT<sp/>OF<sp/>OR<sp/>IN<sp/>CONNECTION</highlight></codeline>
|
|
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/>WITH<sp/>THE<sp/>SOFTWARE<sp/>OR<sp/>THE<sp/>USE<sp/>OR<sp/>OTHER<sp/>DEALINGS<sp/>IN<sp/>THE<sp/>SOFTWARE.</highlight></codeline>
|
|
<codeline lineno="35"><highlight class="comment"><sp/>*</highlight></codeline>
|
|
<codeline lineno="36"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="37"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>GECODE_GIST_SPACENODE_HH</highlight></codeline>
|
|
<codeline lineno="39"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>GECODE_GIST_SPACENODE_HH</highlight></codeline>
|
|
<codeline lineno="40"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="41"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><gecode/gist/node.hh></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="42"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><gecode/kernel.hh></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Gecode<sp/>{<sp/></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Gist<sp/>{</highlight></codeline>
|
|
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="48" refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2" kindref="member">NodeStatus</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="49" refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2ad54c985d9a7dfd1c3754aade3dba4b5d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2ad54c985d9a7dfd1c3754aade3dba4b5d" kindref="member">SOLVED</ref>,<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
|
<codeline lineno="50" refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2a59362c20c76a8fa9ab7b68029d9d10dd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2a59362c20c76a8fa9ab7b68029d9d10dd" kindref="member">FAILED</ref>,<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
|
<codeline lineno="51" refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2ae308a0588594d6179c3e38c8a719bc16" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2ae308a0588594d6179c3e38c8a719bc16" kindref="member">BRANCH</ref>,<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
|
<codeline lineno="52" refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2a136607a803fcc25c40a5d41fcfaf45eb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2a136607a803fcc25c40a5d41fcfaf45eb" kindref="member">UNDETERMINED</ref>,<sp/></highlight></codeline>
|
|
<codeline lineno="53" refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2aaeeabebe4a3c4d07bbca0a7ed595759d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2aaeeabebe4a3c4d07bbca0a7ed595759d" kindref="member">STOP</ref>,<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
|
<codeline lineno="54" refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2a2faef17b9a7e90b988acb1a047e155c8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2a2faef17b9a7e90b988acb1a047e155c8" kindref="member">UNSTOP</ref>,<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
|
<codeline lineno="55"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="56"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</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/>FIRSTBIT<sp/>=<sp/>24;<sp/></highlight><highlight class="comment">//<<sp/>First<sp/>free<sp/>bit<sp/>in<sp/>status<sp/>word</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</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/>STATUSMASK<sp/>=<sp/>7<<20;<sp/></highlight><highlight class="comment">//<<sp/>Mask<sp/>for<sp/>accessing<sp/>status</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="59"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</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/>MAXDISTANCE<sp/>=<sp/>(1<<20)-1;<sp/></highlight><highlight class="comment">//<<sp/>Maximum<sp/>representable<sp/>distance</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</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/>DISTANCEMASK<sp/>=<sp/>(1<<20)-1;<sp/></highlight><highlight class="comment">//<<sp/>Mask<sp/>for<sp/>accessing<sp/>distance</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="61"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="63" refid="classGecode_1_1Gist_1_1Statistics" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Gist_1_1Statistics" kindref="compound">Statistics</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1StatusStatistics" kindref="compound">StatusStatistics</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="64"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="66" refid="classGecode_1_1Gist_1_1Statistics_1a490fe77dac8bc90cf965a87e5c7ff70e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a490fe77dac8bc90cf965a87e5c7ff70e" kindref="member">solutions</ref>;</highlight></codeline>
|
|
<codeline lineno="68" refid="classGecode_1_1Gist_1_1Statistics_1a2073bfbc496431093f27517120dbce62" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a2073bfbc496431093f27517120dbce62" kindref="member">failures</ref>;</highlight></codeline>
|
|
<codeline lineno="70" refid="classGecode_1_1Gist_1_1Statistics_1a05598d56c3304ed3d201083c3c250944" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a05598d56c3304ed3d201083c3c250944" kindref="member">choices</ref>;</highlight></codeline>
|
|
<codeline lineno="72" refid="classGecode_1_1Gist_1_1Statistics_1a5a41c6b66d1e0f3470f751a1c0c4f862" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a5a41c6b66d1e0f3470f751a1c0c4f862" kindref="member">undetermined</ref>;</highlight></codeline>
|
|
<codeline lineno="74" refid="classGecode_1_1Gist_1_1Statistics_1a8c97aeeca985796424551271bda34c63" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a8c97aeeca985796424551271bda34c63" kindref="member">maxDepth</ref>;</highlight></codeline>
|
|
<codeline lineno="75"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="77" refid="classGecode_1_1Gist_1_1Statistics_1a6cbcd559a6728746b82ed68ed2ef2481" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a6cbcd559a6728746b82ed68ed2ef2481" kindref="member">Statistics</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight></codeline>
|
|
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a490fe77dac8bc90cf965a87e5c7ff70e" kindref="member">solutions</ref>(0),<sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a2073bfbc496431093f27517120dbce62" kindref="member">failures</ref>(0),<sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a05598d56c3304ed3d201083c3c250944" kindref="member">choices</ref>(0),<sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a5a41c6b66d1e0f3470f751a1c0c4f862" kindref="member">undetermined</ref>(1),<sp/><ref refid="classGecode_1_1Gist_1_1Statistics_1a8c97aeeca985796424551271bda34c63" kindref="member">maxDepth</ref>(0)<sp/>{}</highlight></codeline>
|
|
<codeline lineno="79"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="80"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="81"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">SpaceNode;</highlight></codeline>
|
|
<codeline lineno="82"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="84" refid="classGecode_1_1Gist_1_1BestNode" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Gist_1_1BestNode" kindref="compound">BestNode</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="85"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="87" refid="classGecode_1_1Gist_1_1BestNode_1a33b3fa668f7af63b2375ea7d6a975a6a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode" kindref="compound">SpaceNode</ref>*<sp/><ref refid="classGecode_1_1Gist_1_1BestNode_1a33b3fa668f7af63b2375ea7d6a975a6a" kindref="member">s</ref>;</highlight></codeline>
|
|
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1BestNode_1a0ffa055df37f9a1acf4a0293bc37d627" kindref="member">BestNode</ref>(<ref refid="classGecode_1_1Gist_1_1SpaceNode" kindref="compound">SpaceNode</ref>*<sp/>s0);</highlight></codeline>
|
|
<codeline lineno="90"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="91"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="93" refid="classGecode_1_1Gist_1_1SpaceNode" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Gist_1_1SpaceNode" kindref="compound">SpaceNode</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Node" kindref="compound">Node</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="94"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="100" refid="classGecode_1_1Gist_1_1SpaceNode_1a0a172325cbe028ffb5440b13a393b5a8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a0a172325cbe028ffb5440b13a393b5a8" kindref="member">copy</ref>;</highlight></codeline>
|
|
<codeline lineno="101"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Choice" kindref="compound">Choice</ref>*<sp/>choice;</highlight></codeline>
|
|
<codeline lineno="103"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="110" refid="classGecode_1_1Gist_1_1SpaceNode_1a3b8f86c47db93ca2a991a50a3b183c76" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a3b8f86c47db93ca2a991a50a3b183c76" kindref="member">nstatus</ref>;</highlight></codeline>
|
|
<codeline lineno="111"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a5309ea005af1603ca60598dba61d2311" kindref="member">setDistance</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>d);</highlight></codeline>
|
|
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight></codeline>
|
|
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a435f0efc7d9a79de130cabde4df013a4" kindref="member">getDistance</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="117"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a82fd1d1d433bb8f7e12014edd38c3d37" kindref="member">setFlag</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>flag,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>value);</highlight></codeline>
|
|
<codeline lineno="120"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="122"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a3cd555ecf0715b588c9b2aa1112fc89c" kindref="member">getFlag</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>flag)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="123"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="125" refid="classGecode_1_1Gist_1_1SpaceNode_1a2d6672ee838fc02e84ba3312fa96da94" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a2d6672ee838fc02e84ba3312fa96da94" kindref="member">SpaceNodeFlags</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="126"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>HASOPENCHILDREN<sp/>=<sp/>FIRSTBIT,</highlight></codeline>
|
|
<codeline lineno="127"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>HASFAILEDCHILDREN,</highlight></codeline>
|
|
<codeline lineno="128"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>HASSOLVEDCHILDREN</highlight></codeline>
|
|
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="131" refid="classGecode_1_1Gist_1_1SpaceNode_1a3b2e556983d3b3e1b7c8a0ce9d709832" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a3b2e556983d3b3e1b7c8a0ce9d709832" kindref="member">LASTBIT</ref><sp/>=<sp/>HASSOLVEDCHILDREN;</highlight></codeline>
|
|
<codeline lineno="132"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="133"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="135"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>setHasOpenChildren(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>b);</highlight></codeline>
|
|
<codeline lineno="137"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>setHasFailedChildren(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>b);</highlight></codeline>
|
|
<codeline lineno="139"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>setHasSolvedChildren(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>b);</highlight></codeline>
|
|
<codeline lineno="140"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>recompute(<ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na,</highlight></codeline>
|
|
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1BestNode" kindref="compound">BestNode</ref>*<sp/>curBest,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c_d,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a_d);</highlight></codeline>
|
|
<codeline lineno="144"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>closeChild(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na,</highlight></codeline>
|
|
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>hadFailures,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>hadSolutions);</highlight></codeline>
|
|
<codeline lineno="148"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a5aa891d18a42d609b1d678c7a3ff0e8a" kindref="member">setStatus</ref>(<ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2" kindref="member">NodeStatus</ref><sp/>s);</highlight></codeline>
|
|
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a5c4ea1e84b7a801d8d7bf00f6a2f3eaf" kindref="member">acquireSpace</ref>(<ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na,</highlight></codeline>
|
|
<codeline lineno="153"><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/><ref refid="classGecode_1_1Gist_1_1BestNode" kindref="compound">BestNode</ref>*<sp/>curBest,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c_d,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a_d);</highlight></codeline>
|
|
<codeline lineno="154"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1aa316b48e1d0f80c59cc5dee35a922b4b" kindref="member">SpaceNode</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>p);</highlight></codeline>
|
|
<codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1aa316b48e1d0f80c59cc5dee35a922b4b" kindref="member">SpaceNode</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>root);</highlight></codeline>
|
|
<codeline lineno="159"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="161"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a161d1ac44c65708adb034470a76de58d" kindref="member">getSpace</ref>(<ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na,</highlight></codeline>
|
|
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1BestNode" kindref="compound">BestNode</ref>*<sp/>curBest,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c_d,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a_d);</highlight></codeline>
|
|
<codeline lineno="163"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="165"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a8a28681a80b5e8575b6892b9137b3a70" kindref="member">getWorkingSpace</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="166"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="168"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1ab19a1eeeee22227fc2d23cc088cbb1aa" kindref="member">purge</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na);</highlight></codeline>
|
|
<codeline lineno="169"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="171"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a5bd56da622f4960dc1871dabb72f3dce" kindref="member">dispose</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="172"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a80b205319f33a23fb3e091c430175d2e" kindref="member">isCurrentBest</ref>(<ref refid="classGecode_1_1Gist_1_1BestNode" kindref="compound">BestNode</ref>*<sp/>curBest);</highlight></codeline>
|
|
<codeline lineno="175"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="186"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a654df1deb4f2e68047735b2355871f0d" kindref="member">getNumberOfChildNodes</ref>(<ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na,</highlight></codeline>
|
|
<codeline lineno="187"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1BestNode" kindref="compound">BestNode</ref>*<sp/>curBest,</highlight></codeline>
|
|
<codeline lineno="188"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1Statistics" kindref="compound">Statistics</ref>&<sp/>stats,</highlight></codeline>
|
|
<codeline lineno="189"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>c_d,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a_d);</highlight></codeline>
|
|
<codeline lineno="190"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="192"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceGecode_1_1Gist_1a579d345f937ff0b19a2a4157995931f2" kindref="member">NodeStatus</ref><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a761b8c0b2bdfbfc3616af1fc48537250" kindref="member">getStatus</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="193"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1aac1d94c4f2a63f5115e0f9d528198039" kindref="member">isOpen</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="197"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a2dd3836f977c8137ff81f8742016d054" kindref="member">hasFailedChildren</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a97366b607037285b6b6e5a821c66afd2" kindref="member">hasSolvedChildren</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1ab767d5a5d1ade2a13a36f18fcb3becb0" kindref="member">hasOpenChildren</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="203"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1af27441fca912ea5b2d95257a2199442d" kindref="member">getNoOfOpenChildren</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na);</highlight></codeline>
|
|
<codeline lineno="205"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a3a2592678bb1f4a4380a7456574102a9" kindref="member">setNoOfOpenChildren</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n);</highlight></codeline>
|
|
<codeline lineno="207"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a891f19abbbd7490a4c67064e0b2531d5" kindref="member">hasCopy</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="209"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a8349f99edfbc56fe3823365f8ca2754f" kindref="member">hasWorkingSpace</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="210"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="212"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1aec08184747286f69edbc51438714f469" kindref="member">getAlternative</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="214"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Choice" kindref="compound">Choice</ref>*<sp/><ref refid="classGecode_1_1Gist_1_1SpaceNode_1a61558968dcfcbb1ae26b4d0d9bbda703" kindref="member">getChoice</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="215"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="216"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="217"><highlight class="normal">}}</highlight></codeline>
|
|
<codeline lineno="218"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="219"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
|
|
<codeline lineno="220"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="221"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>gist-any</highlight><highlight class="normal"></highlight></codeline>
|
|
</programlisting>
|
|
<location file="/usr/include/gecode/gist/spacenode.hh"/>
|
|
</compounddef>
|
|
</doxygen>
|