702 lines
47 KiB
XML
702 lines
47 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="node_8hh" kind="file">
|
|
<compoundname>node.hh</compoundname>
|
|
<includes refid="kernel_8hh" local="no">gecode/kernel.hh</includes>
|
|
<includes local="no">QHash</includes>
|
|
<includes local="no">QString</includes>
|
|
<includedby refid="spacenode_8hh" local="no">/usr/include/gecode/gist/spacenode.hh</includedby>
|
|
<incdepgraph>
|
|
<node id="7675">
|
|
<label>gecode/support/cast.hpp</label>
|
|
<link refid="cast_8hpp_source"/>
|
|
</node>
|
|
<node id="7732">
|
|
<label>gecode/kernel/brancher-val-sel-commit.hpp</label>
|
|
<link refid="brancher-val-sel-commit_8hpp_source"/>
|
|
</node>
|
|
<node id="7693">
|
|
<label>gecode/support/static-stack.hpp</label>
|
|
<link refid="static-stack_8hpp_source"/>
|
|
</node>
|
|
<node id="7734">
|
|
<label>gecode/kernel/var-imp.hpp</label>
|
|
<link refid="kernel_2var-imp_8hpp_source"/>
|
|
</node>
|
|
<node id="7691">
|
|
<label>gecode/support/random.hpp</label>
|
|
<link refid="random_8hpp_source"/>
|
|
</node>
|
|
<node id="7736">
|
|
<label>limits</label>
|
|
</node>
|
|
<node id="7709">
|
|
<label>gecode/kernel/var.hpp</label>
|
|
<link refid="kernel_2var_8hpp_source"/>
|
|
</node>
|
|
<node id="7694">
|
|
<label>gecode/support/thread/none.hpp</label>
|
|
<link refid="none_8hpp_source"/>
|
|
</node>
|
|
<node id="7713">
|
|
<label>iterator</label>
|
|
</node>
|
|
<node id="7696">
|
|
<label>gecode/support/timer.hpp</label>
|
|
<link refid="timer_8hpp_source"/>
|
|
</node>
|
|
<node id="7695">
|
|
<label>gecode/support/thread/thread.hpp</label>
|
|
<link refid="thread_2thread_8hpp_source"/>
|
|
</node>
|
|
<node id="7731">
|
|
<label>gecode/kernel/brancher-val-commit.hpp</label>
|
|
<link refid="brancher-val-commit_8hpp_source"/>
|
|
</node>
|
|
<node id="7721">
|
|
<label>gecode/kernel/afc.hpp</label>
|
|
<link refid="kernel_2afc_8hpp_source"/>
|
|
</node>
|
|
<node id="7705">
|
|
<label>gecode/kernel/var-type.hpp</label>
|
|
<link refid="var-type_8hpp_source"/>
|
|
</node>
|
|
<node id="7697">
|
|
<label>gecode/support/hw-rnd.hpp</label>
|
|
<link refid="hw-rnd_8hpp_source"/>
|
|
</node>
|
|
<node id="7684">
|
|
<label>cmath</label>
|
|
</node>
|
|
<node id="7668">
|
|
<label>cassert</label>
|
|
</node>
|
|
<node id="7728">
|
|
<label>gecode/kernel/brancher-view-sel.hpp</label>
|
|
<link refid="brancher-view-sel_8hpp_source"/>
|
|
</node>
|
|
<node id="7735">
|
|
<label>gecode/kernel/allocators.hpp</label>
|
|
<link refid="allocators_8hpp_source"/>
|
|
<childnode refid="7736" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7712">
|
|
<label>cstdarg</label>
|
|
</node>
|
|
<node id="7682">
|
|
<label>gecode/support/bitset-base.hpp</label>
|
|
<link refid="bitset-base_8hpp_source"/>
|
|
<childnode refid="7681" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7716">
|
|
<label>gecode/kernel/shared-array.hpp</label>
|
|
<link refid="shared-array_8hpp_source"/>
|
|
<childnode refid="7712" relation="include">
|
|
</childnode>
|
|
<childnode refid="7686" relation="include">
|
|
</childnode>
|
|
<childnode refid="7715" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7706">
|
|
<label>gecode/kernel/modevent.hpp</label>
|
|
<link refid="modevent_8hpp_source"/>
|
|
</node>
|
|
<node id="7699">
|
|
<label>gecode/kernel/memory-config.hpp</label>
|
|
<link refid="memory-config_8hpp_source"/>
|
|
</node>
|
|
<node id="7680">
|
|
<label>gecode/support/int-type.hpp</label>
|
|
<link refid="int-type_8hpp_source"/>
|
|
<childnode refid="7681" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7673">
|
|
<label>gecode/support/exception.hpp</label>
|
|
<link refid="support_2exception_8hpp_source"/>
|
|
<childnode refid="7674" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7674">
|
|
<label>exception</label>
|
|
</node>
|
|
<node id="7708">
|
|
<label>gecode/kernel/region.hpp</label>
|
|
<link refid="region_8hpp_source"/>
|
|
</node>
|
|
<node id="7679">
|
|
<label>gecode/support/marked-pointer.hpp</label>
|
|
<link refid="marked-pointer_8hpp_source"/>
|
|
<childnode refid="7665" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7676">
|
|
<label>gecode/support/thread.hpp</label>
|
|
<link refid="thread_8hpp_source"/>
|
|
<childnode refid="7665" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7664">
|
|
<label>gecode/kernel.hh</label>
|
|
<link refid="kernel_8hh_source"/>
|
|
<childnode refid="7665" relation="include">
|
|
</childnode>
|
|
<childnode refid="7666" relation="include">
|
|
</childnode>
|
|
<childnode refid="7667" relation="include">
|
|
</childnode>
|
|
<childnode refid="7668" relation="include">
|
|
</childnode>
|
|
<childnode refid="7669" relation="include">
|
|
</childnode>
|
|
<childnode refid="7671" relation="include">
|
|
</childnode>
|
|
<childnode refid="7698" relation="include">
|
|
</childnode>
|
|
<childnode refid="7699" relation="include">
|
|
</childnode>
|
|
<childnode refid="7700" relation="include">
|
|
</childnode>
|
|
<childnode refid="7701" relation="include">
|
|
</childnode>
|
|
<childnode refid="7702" relation="include">
|
|
</childnode>
|
|
<childnode refid="7703" relation="include">
|
|
</childnode>
|
|
<childnode refid="7704" relation="include">
|
|
</childnode>
|
|
<childnode refid="7706" relation="include">
|
|
</childnode>
|
|
<childnode refid="7707" relation="include">
|
|
</childnode>
|
|
<childnode refid="7708" relation="include">
|
|
</childnode>
|
|
<childnode refid="7709" relation="include">
|
|
</childnode>
|
|
<childnode refid="7710" relation="include">
|
|
</childnode>
|
|
<childnode refid="7711" relation="include">
|
|
</childnode>
|
|
<childnode refid="7716" relation="include">
|
|
</childnode>
|
|
<childnode refid="7717" relation="include">
|
|
</childnode>
|
|
<childnode refid="7719" relation="include">
|
|
</childnode>
|
|
<childnode refid="7720" relation="include">
|
|
</childnode>
|
|
<childnode refid="7721" relation="include">
|
|
</childnode>
|
|
<childnode refid="7722" relation="include">
|
|
</childnode>
|
|
<childnode refid="7723" relation="include">
|
|
</childnode>
|
|
<childnode refid="7724" relation="include">
|
|
</childnode>
|
|
<childnode refid="7725" relation="include">
|
|
</childnode>
|
|
<childnode refid="7726" relation="include">
|
|
</childnode>
|
|
<childnode refid="7727" relation="include">
|
|
</childnode>
|
|
<childnode refid="7728" relation="include">
|
|
</childnode>
|
|
<childnode refid="7729" relation="include">
|
|
</childnode>
|
|
<childnode refid="7730" relation="include">
|
|
</childnode>
|
|
<childnode refid="7731" relation="include">
|
|
</childnode>
|
|
<childnode refid="7732" relation="include">
|
|
</childnode>
|
|
<childnode refid="7733" relation="include">
|
|
</childnode>
|
|
<childnode refid="7734" relation="include">
|
|
</childnode>
|
|
<childnode refid="7735" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7722">
|
|
<label>gecode/kernel/branch-traits.hpp</label>
|
|
<link refid="branch-traits_8hpp_source"/>
|
|
</node>
|
|
<node id="7711">
|
|
<label>gecode/kernel/array.hpp</label>
|
|
<link refid="kernel_2array_8hpp_source"/>
|
|
<childnode refid="7712" relation="include">
|
|
</childnode>
|
|
<childnode refid="7686" relation="include">
|
|
</childnode>
|
|
<childnode refid="7713" relation="include">
|
|
</childnode>
|
|
<childnode refid="7714" relation="include">
|
|
</childnode>
|
|
<childnode refid="7715" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7726">
|
|
<label>gecode/kernel/branch-val.hpp</label>
|
|
<link refid="branch-val_8hpp_source"/>
|
|
</node>
|
|
<node id="7690">
|
|
<label>gecode/support/dynamic-stack.hpp</label>
|
|
<link refid="dynamic-stack_8hpp_source"/>
|
|
</node>
|
|
<node id="7702">
|
|
<label>gecode/kernel/archive.hpp</label>
|
|
<link refid="archive_8hpp_source"/>
|
|
</node>
|
|
<node id="7707">
|
|
<label>gecode/kernel/range-list.hpp</label>
|
|
<link refid="range-list_8hpp_source"/>
|
|
</node>
|
|
<node id="7727">
|
|
<label>gecode/kernel/brancher-merit.hpp</label>
|
|
<link refid="brancher-merit_8hpp_source"/>
|
|
</node>
|
|
<node id="7670">
|
|
<label>gecode/support/config.hpp</label>
|
|
<link refid="support_2config_8hpp_source"/>
|
|
</node>
|
|
<node id="7724">
|
|
<label>gecode/kernel/branch-var.hpp</label>
|
|
<link refid="branch-var_8hpp_source"/>
|
|
</node>
|
|
<node id="7700">
|
|
<label>gecode/kernel/memory-manager.hpp</label>
|
|
<link refid="memory-manager_8hpp_source"/>
|
|
</node>
|
|
<node id="7663">
|
|
<label>/usr/include/gecode/gist/node.hh</label>
|
|
<link refid="node.hh"/>
|
|
<childnode refid="7664" relation="include">
|
|
</childnode>
|
|
<childnode refid="7737" relation="include">
|
|
</childnode>
|
|
<childnode refid="7738" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7689">
|
|
<label>gecode/support/dynamic-queue.hpp</label>
|
|
<link refid="dynamic-queue_8hpp_source"/>
|
|
</node>
|
|
<node id="7701">
|
|
<label>gecode/kernel/macros.hpp</label>
|
|
<link refid="kernel_2macros_8hpp_source"/>
|
|
</node>
|
|
<node id="7718">
|
|
<label>ctime</label>
|
|
</node>
|
|
<node id="7714">
|
|
<label>vector</label>
|
|
</node>
|
|
<node id="7720">
|
|
<label>gecode/kernel/advisor.hpp</label>
|
|
<link refid="advisor_8hpp_source"/>
|
|
</node>
|
|
<node id="7733">
|
|
<label>gecode/kernel/brancher-view-val.hpp</label>
|
|
<link refid="brancher-view-val_8hpp_source"/>
|
|
</node>
|
|
<node id="7715">
|
|
<label>sstream</label>
|
|
</node>
|
|
<node id="7738">
|
|
<label>QString</label>
|
|
</node>
|
|
<node id="7730">
|
|
<label>gecode/kernel/brancher-val-sel.hpp</label>
|
|
<link refid="brancher-val-sel_8hpp_source"/>
|
|
</node>
|
|
<node id="7719">
|
|
<label>gecode/kernel/propagator.hpp</label>
|
|
<link refid="kernel_2propagator_8hpp_source"/>
|
|
</node>
|
|
<node id="7687">
|
|
<label>gecode/support/block-allocator.hpp</label>
|
|
<link refid="block-allocator_8hpp_source"/>
|
|
</node>
|
|
<node id="7723">
|
|
<label>gecode/kernel/activity.hpp</label>
|
|
<link refid="kernel_2activity_8hpp_source"/>
|
|
</node>
|
|
<node id="7666">
|
|
<label>cstdlib</label>
|
|
</node>
|
|
<node id="7683">
|
|
<label>gecode/support/bitset.hpp</label>
|
|
<link refid="bitset_8hpp_source"/>
|
|
<childnode refid="7681" relation="include">
|
|
</childnode>
|
|
<childnode refid="7684" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7671">
|
|
<label>gecode/support/auto-link.hpp</label>
|
|
<link refid="auto-link_8hpp_source"/>
|
|
</node>
|
|
<node id="7686">
|
|
<label>iostream</label>
|
|
</node>
|
|
<node id="7698">
|
|
<label>gecode/kernel/exception.hpp</label>
|
|
<link refid="kernel_2exception_8hpp_source"/>
|
|
</node>
|
|
<node id="7672">
|
|
<label>gecode/support/macros.hpp</label>
|
|
<link refid="support_2macros_8hpp_source"/>
|
|
</node>
|
|
<node id="7710">
|
|
<label>gecode/kernel/view.hpp</label>
|
|
<link refid="kernel_2view_8hpp_source"/>
|
|
</node>
|
|
<node id="7725">
|
|
<label>gecode/kernel/branch-tiebreak.hpp</label>
|
|
<link refid="branch-tiebreak_8hpp_source"/>
|
|
</node>
|
|
<node id="7665">
|
|
<label>cstddef</label>
|
|
</node>
|
|
<node id="7681">
|
|
<label>climits</label>
|
|
</node>
|
|
<node id="7704">
|
|
<label>gecode/kernel/core.hpp</label>
|
|
<link refid="core_8hpp_source"/>
|
|
<childnode refid="7686" relation="include">
|
|
</childnode>
|
|
<childnode refid="7705" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7669">
|
|
<label>gecode/support.hh</label>
|
|
<link refid="support_8hh_source"/>
|
|
<childnode refid="7668" relation="include">
|
|
</childnode>
|
|
<childnode refid="7670" relation="include">
|
|
</childnode>
|
|
<childnode refid="7671" relation="include">
|
|
</childnode>
|
|
<childnode refid="7672" relation="include">
|
|
</childnode>
|
|
<childnode refid="7673" relation="include">
|
|
</childnode>
|
|
<childnode refid="7675" relation="include">
|
|
</childnode>
|
|
<childnode refid="7676" relation="include">
|
|
</childnode>
|
|
<childnode refid="7677" relation="include">
|
|
</childnode>
|
|
<childnode refid="7679" relation="include">
|
|
</childnode>
|
|
<childnode refid="7680" relation="include">
|
|
</childnode>
|
|
<childnode refid="7682" relation="include">
|
|
</childnode>
|
|
<childnode refid="7683" relation="include">
|
|
</childnode>
|
|
<childnode refid="7685" relation="include">
|
|
</childnode>
|
|
<childnode refid="7687" relation="include">
|
|
</childnode>
|
|
<childnode refid="7688" relation="include">
|
|
</childnode>
|
|
<childnode refid="7689" relation="include">
|
|
</childnode>
|
|
<childnode refid="7690" relation="include">
|
|
</childnode>
|
|
<childnode refid="7691" relation="include">
|
|
</childnode>
|
|
<childnode refid="7692" relation="include">
|
|
</childnode>
|
|
<childnode refid="7693" relation="include">
|
|
</childnode>
|
|
<childnode refid="7694" relation="include">
|
|
</childnode>
|
|
<childnode refid="7695" relation="include">
|
|
</childnode>
|
|
<childnode refid="7696" relation="include">
|
|
</childnode>
|
|
<childnode refid="7697" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7737">
|
|
<label>QHash</label>
|
|
</node>
|
|
<node id="7688">
|
|
<label>gecode/support/dynamic-array.hpp</label>
|
|
<link refid="dynamic-array_8hpp_source"/>
|
|
<childnode refid="7678" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7692">
|
|
<label>gecode/support/sort.hpp</label>
|
|
<link refid="support_2sort_8hpp_source"/>
|
|
<childnode refid="7678" relation="include">
|
|
</childnode>
|
|
<childnode refid="7681" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7717">
|
|
<label>gecode/kernel/rnd.hpp</label>
|
|
<link refid="rnd_8hpp_source"/>
|
|
<childnode refid="7718" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7678">
|
|
<label>algorithm</label>
|
|
</node>
|
|
<node id="7729">
|
|
<label>gecode/kernel/brancher-view.hpp</label>
|
|
<link refid="brancher-view_8hpp_source"/>
|
|
</node>
|
|
<node id="7703">
|
|
<label>gecode/kernel/global-afc.hpp</label>
|
|
<link refid="global-afc_8hpp_source"/>
|
|
<childnode refid="7684" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7667">
|
|
<label>cstring</label>
|
|
</node>
|
|
<node id="7685">
|
|
<label>gecode/support/bitset-offset.hpp</label>
|
|
<link refid="bitset-offset_8hpp_source"/>
|
|
<childnode refid="7681" relation="include">
|
|
</childnode>
|
|
<childnode refid="7684" relation="include">
|
|
</childnode>
|
|
<childnode refid="7686" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7677">
|
|
<label>gecode/support/heap.hpp</label>
|
|
<link refid="heap_8hpp_source"/>
|
|
<childnode refid="7667" relation="include">
|
|
</childnode>
|
|
<childnode refid="7666" relation="include">
|
|
</childnode>
|
|
<childnode refid="7678" relation="include">
|
|
</childnode>
|
|
</node>
|
|
</incdepgraph>
|
|
<invincdepgraph>
|
|
<node id="7747">
|
|
<label>/usr/include/gecode/gist/mainwindow.hh</label>
|
|
<link refid="mainwindow_8hh_source"/>
|
|
</node>
|
|
<node id="7744">
|
|
<label>/usr/include/gecode/gist/nodecursor.hh</label>
|
|
<link refid="nodecursor_8hh_source"/>
|
|
<childnode refid="7743" relation="include">
|
|
</childnode>
|
|
<childnode refid="7742" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7741">
|
|
<label>/usr/include/gecode/gist/visualnode.hh</label>
|
|
<link refid="visualnode_8hh_source"/>
|
|
<childnode refid="7742" relation="include">
|
|
</childnode>
|
|
<childnode refid="7744" relation="include">
|
|
</childnode>
|
|
<childnode refid="7745" relation="include">
|
|
</childnode>
|
|
<childnode refid="7749" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7746">
|
|
<label>/usr/include/gecode/gist/qtgist.hh</label>
|
|
<link refid="qtgist_8hh_source"/>
|
|
<childnode refid="7747" relation="include">
|
|
</childnode>
|
|
<childnode refid="7748" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7749">
|
|
<label>/usr/include/gecode/gist/treecanvas.hh</label>
|
|
<link refid="treecanvas_8hh_source"/>
|
|
<childnode refid="7746" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7745">
|
|
<label>/usr/include/gecode/gist/nodestats.hh</label>
|
|
<link refid="nodestats_8hh_source"/>
|
|
<childnode refid="7746" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7748">
|
|
<label>/usr/include/gecode/gist/nodewidget.hh</label>
|
|
<link refid="nodewidget_8hh_source"/>
|
|
</node>
|
|
<node id="7739">
|
|
<label>/usr/include/gecode/gist/node.hh</label>
|
|
<link refid="node.hh"/>
|
|
<childnode refid="7740" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7742">
|
|
<label>/usr/include/gecode/gist/layoutcursor.hh</label>
|
|
<link refid="layoutcursor_8hh_source"/>
|
|
<childnode refid="7743" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7740">
|
|
<label>/usr/include/gecode/gist/spacenode.hh</label>
|
|
<link refid="spacenode_8hh_source"/>
|
|
<childnode refid="7741" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="7743">
|
|
<label>/usr/include/gecode/gist/drawingcursor.hh</label>
|
|
<link refid="drawingcursor_8hh_source"/>
|
|
</node>
|
|
</invincdepgraph>
|
|
<innerclass refid="classGecode_1_1Gist_1_1NodeAllocatorBase" prot="public">Gecode::Gist::NodeAllocatorBase</innerclass>
|
|
<innerclass refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1_1Block" prot="private">Gecode::Gist::NodeAllocatorBase::Block</innerclass>
|
|
<innerclass refid="classGecode_1_1Gist_1_1Node" prot="public">Gecode::Gist::Node</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/>2013-07-02<sp/>03:35:13<sp/>+0200<sp/>(Tue,<sp/>02<sp/>Jul<sp/>2013)<sp/>$<sp/>by<sp/>$Author:<sp/>tack<sp/>$</highlight></codeline>
|
|
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>13749<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_NODE_HH</highlight></codeline>
|
|
<codeline lineno="39"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>GECODE_GIST_NODE_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/kernel.hh></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="42"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="43"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><QHash></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><QString></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="46"><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="47"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="48"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">VisualNode;</highlight></codeline>
|
|
<codeline lineno="49"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="51"><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="52" refid="classGecode_1_1Gist_1_1NodeAllocatorBase" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocatorBase</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="53"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="55"><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/>NodeBlockSize<sp/>=<sp/>1<<14;</highlight></codeline>
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Block<sp/>{</highlight></codeline>
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>T<sp/>b[NodeBlockSize];</highlight></codeline>
|
|
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1a66c363673c91a4df4e664bd4583543d3" kindref="member">best</ref>[NodeBlockSize];</highlight></codeline>
|
|
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/>Block**<sp/>b;</highlight></codeline>
|
|
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n;</highlight></codeline>
|
|
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>cur_b;</highlight></codeline>
|
|
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>cur_t;</highlight></codeline>
|
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>allocate(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>_bab;</highlight></codeline>
|
|
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/>QHash<T*,QString><sp/>labels;</highlight></codeline>
|
|
<codeline lineno="78"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1ae040f534edc18fa6d37c292d0dc6b55c" kindref="member">NodeAllocatorBase</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1ada874c939cc3c2e2bb5e35df806600b2" kindref="member">bab</ref>);</highlight></codeline>
|
|
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1aef442d3acdd9c5e9f971ddf7e0ec1979" kindref="member">~NodeAllocatorBase</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>allocate(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>p);</highlight></codeline>
|
|
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>allocate(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>root);</highlight></codeline>
|
|
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1a2410f2988e6dcc2d13c76ca91ee70701" kindref="member">operator []</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/>T*<sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1a66c363673c91a4df4e664bd4583543d3" kindref="member">best</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1a190c751a1e903d1ad9e6250fb254e73b" kindref="member">setBest</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>b);</highlight></codeline>
|
|
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1ada874c939cc3c2e2bb5e35df806600b2" kindref="member">bab</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1a9a8cd08959e931fb72d56d8642b70d50" kindref="member">showLabels</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1a9a8cd08959e931fb72d56d8642b70d50" kindref="member">showLabels</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>b);</highlight></codeline>
|
|
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1afd56672dce9bee17affc58f03d3c4a6b" kindref="member">hasLabel</ref>(T*<sp/>n)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1aab2885a08fcac2db7223d13f5f577b63" kindref="member">setLabel</ref>(T*<sp/>n,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString&<sp/>l);</highlight></codeline>
|
|
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1ae4441f9852b5c85731ae5136546b911e" kindref="member">clearLabel</ref>(T*<sp/>n);</highlight></codeline>
|
|
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/>QString<sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase_1a0f328f45b986ec07b043d0382bd20b3f" kindref="member">getLabel</ref>(T*<sp/>n)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="107"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="108"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="110" refid="classGecode_1_1Gist_1_1Node" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Gist_1_1Node" kindref="compound">Node</ref><sp/>{</highlight></codeline>
|
|
<codeline lineno="111"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
|
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>UNDET,<sp/></highlight><highlight class="comment">//<<sp/>Number<sp/>of<sp/>children<sp/>not<sp/>determined</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>LEAF,<sp/><sp/></highlight><highlight class="comment">//<<sp/>Leaf<sp/>node</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>TWO_CHILDREN,<sp/></highlight><highlight class="comment">//<<sp/>Node<sp/>with<sp/>at<sp/>most<sp/>two<sp/>children</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>MORE_CHILDREN<sp/></highlight><highlight class="comment">//<<sp/>Node<sp/>with<sp/>more<sp/>than<sp/>two<sp/>children</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="119"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>childrenOrFirstChild;</highlight></codeline>
|
|
<codeline lineno="122"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="126"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>noOfChildren;</highlight></codeline>
|
|
<codeline lineno="127"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>parent;</highlight></codeline>
|
|
<codeline lineno="130"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="132"><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/>getTag(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="134"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>setTag(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>tag);</highlight></codeline>
|
|
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>getPtr(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>getFirstChild(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="139"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="140"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Node_1a3c539ac10e753095aeafa88722b9dd37" kindref="member">isUndetermined</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="143"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Node_1a81a3ee39115b6771a4d63edfeef2fe47" kindref="member">getChild</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="146"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocatorBase<VisualNode></ref><sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>;</highlight></codeline>
|
|
<codeline lineno="148"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1Node_1a71b358f00310f2776ebfe4c491e4399d" kindref="member">Node</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>p,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>failed<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">);</highlight></codeline>
|
|
<codeline lineno="151"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="153"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Node_1af832b649d232c4d03b6fcf534c3482e7" kindref="member">getParent</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="155"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1VisualNode" kindref="compound">VisualNode</ref>*<sp/><ref refid="classGecode_1_1Gist_1_1Node_1af832b649d232c4d03b6fcf534c3482e7" kindref="member">getParent</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="157"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Gist_1_1VisualNode" kindref="compound">VisualNode</ref>*<sp/><ref refid="classGecode_1_1Gist_1_1Node_1a81a3ee39115b6771a4d63edfeef2fe47" kindref="member">getChild</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="keywordtype">int</highlight><highlight class="normal"><sp/>n)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="158"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Node_1adff3aae1f3bb07f9c73d23482b756ddf" kindref="member">getIndex</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="161"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Node_1a2b0f5b6e8ab7b1c0ca0dd91abbac7a97" kindref="member">isRoot</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="164"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Gist_1_1Node_1a4d03aa68107480cfe62dedf6b369f389" kindref="member">setNumberOfChildren</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n,<sp/><ref refid="classGecode_1_1Gist_1_1NodeAllocatorBase" kindref="compound">NodeAllocator</ref>&<sp/>na);</highlight></codeline>
|
|
<codeline lineno="167"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="169"><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_1Node_1afbbbcaf065a9cf68d2bee0414468000d" kindref="member">getNumberOfChildren</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
|
<codeline lineno="170"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight></codeline>
|
|
<codeline lineno="171"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
|
|
<codeline lineno="172"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="173"><highlight class="normal">}}</highlight></codeline>
|
|
<codeline lineno="174"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="175"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
|
|
<codeline lineno="176"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="177"><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/node.hh"/>
|
|
</compounddef>
|
|
</doxygen>
|