This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
Vitor Santos Costa a8eda03305 4.2.1 support
2014-01-22 09:41:47 +00:00

730 lines
44 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="worker_8hh" kind="file">
<compoundname>worker.hh</compoundname>
<includes refid="search_8hh" local="no">gecode/search.hh</includes>
<includedby refid="engine_8hh" local="no">/usr/include/gecode/search/parallel/engine.hh</includedby>
<includedby refid="parallel_2path_8hh" local="no">/usr/include/gecode/search/parallel/path.hh</includedby>
<includedby refid="sequential_2bab_8hh" local="no">/usr/include/gecode/search/sequential/bab.hh</includedby>
<includedby refid="sequential_2dfs_8hh" local="no">/usr/include/gecode/search/sequential/dfs.hh</includedby>
<includedby refid="sequential_2path_8hh" local="no">/usr/include/gecode/search/sequential/path.hh</includedby>
<incdepgraph>
<node id="30171">
<label>gecode/support/cast.hpp</label>
<link refid="cast_8hpp_source"/>
</node>
<node id="30237">
<label>gecode/search/cutoff.hpp</label>
<link refid="cutoff_8hpp_source"/>
</node>
<node id="30228">
<label>gecode/kernel/brancher-val-sel-commit.hpp</label>
<link refid="brancher-val-sel-commit_8hpp_source"/>
</node>
<node id="30189">
<label>gecode/support/static-stack.hpp</label>
<link refid="static-stack_8hpp_source"/>
</node>
<node id="30230">
<label>gecode/kernel/var-imp.hpp</label>
<link refid="kernel_2var-imp_8hpp_source"/>
</node>
<node id="30187">
<label>gecode/support/random.hpp</label>
<link refid="random_8hpp_source"/>
</node>
<node id="30232">
<label>limits</label>
</node>
<node id="30205">
<label>gecode/kernel/var.hpp</label>
<link refid="kernel_2var_8hpp_source"/>
</node>
<node id="30190">
<label>gecode/support/thread/none.hpp</label>
<link refid="none_8hpp_source"/>
</node>
<node id="30209">
<label>iterator</label>
</node>
<node id="30192">
<label>gecode/support/timer.hpp</label>
<link refid="timer_8hpp_source"/>
</node>
<node id="30191">
<label>gecode/support/thread/thread.hpp</label>
<link refid="thread_2thread_8hpp_source"/>
</node>
<node id="30227">
<label>gecode/kernel/brancher-val-commit.hpp</label>
<link refid="brancher-val-commit_8hpp_source"/>
</node>
<node id="30217">
<label>gecode/kernel/afc.hpp</label>
<link refid="kernel_2afc_8hpp_source"/>
</node>
<node id="30201">
<label>gecode/kernel/var-type.hpp</label>
<link refid="var-type_8hpp_source"/>
</node>
<node id="30193">
<label>gecode/support/hw-rnd.hpp</label>
<link refid="hw-rnd_8hpp_source"/>
</node>
<node id="30180">
<label>cmath</label>
</node>
<node id="30164">
<label>cassert</label>
</node>
<node id="30224">
<label>gecode/kernel/brancher-view-sel.hpp</label>
<link refid="brancher-view-sel_8hpp_source"/>
</node>
<node id="30231">
<label>gecode/kernel/allocators.hpp</label>
<link refid="allocators_8hpp_source"/>
<childnode refid="30232" relation="include">
</childnode>
</node>
<node id="30159">
<label>gecode/search.hh</label>
<link refid="search_8hh_source"/>
<childnode refid="30160" relation="include">
</childnode>
<childnode refid="30167" relation="include">
</childnode>
<childnode refid="30233" relation="include">
</childnode>
<childnode refid="30234" relation="include">
</childnode>
<childnode refid="30235" relation="include">
</childnode>
<childnode refid="30236" relation="include">
</childnode>
<childnode refid="30237" relation="include">
</childnode>
<childnode refid="30238" relation="include">
</childnode>
<childnode refid="30239" relation="include">
</childnode>
<childnode refid="30240" relation="include">
</childnode>
<childnode refid="30241" relation="include">
</childnode>
</node>
<node id="30208">
<label>cstdarg</label>
</node>
<node id="30178">
<label>gecode/support/bitset-base.hpp</label>
<link refid="bitset-base_8hpp_source"/>
<childnode refid="30177" relation="include">
</childnode>
</node>
<node id="30212">
<label>gecode/kernel/shared-array.hpp</label>
<link refid="shared-array_8hpp_source"/>
<childnode refid="30208" relation="include">
</childnode>
<childnode refid="30182" relation="include">
</childnode>
<childnode refid="30211" relation="include">
</childnode>
</node>
<node id="30202">
<label>gecode/kernel/modevent.hpp</label>
<link refid="modevent_8hpp_source"/>
</node>
<node id="30240">
<label>gecode/search/bab.hpp</label>
<link refid="bab_8hpp_source"/>
</node>
<node id="30195">
<label>gecode/kernel/memory-config.hpp</label>
<link refid="memory-config_8hpp_source"/>
</node>
<node id="30176">
<label>gecode/support/int-type.hpp</label>
<link refid="int-type_8hpp_source"/>
<childnode refid="30177" relation="include">
</childnode>
</node>
<node id="30169">
<label>gecode/support/exception.hpp</label>
<link refid="support_2exception_8hpp_source"/>
<childnode refid="30170" relation="include">
</childnode>
</node>
<node id="30170">
<label>exception</label>
</node>
<node id="30236">
<label>gecode/search/stop.hpp</label>
<link refid="stop_8hpp_source"/>
</node>
<node id="30204">
<label>gecode/kernel/region.hpp</label>
<link refid="region_8hpp_source"/>
</node>
<node id="30175">
<label>gecode/support/marked-pointer.hpp</label>
<link refid="marked-pointer_8hpp_source"/>
<childnode refid="30161" relation="include">
</childnode>
</node>
<node id="30172">
<label>gecode/support/thread.hpp</label>
<link refid="thread_8hpp_source"/>
<childnode refid="30161" relation="include">
</childnode>
</node>
<node id="30160">
<label>gecode/kernel.hh</label>
<link refid="kernel_8hh_source"/>
<childnode refid="30161" relation="include">
</childnode>
<childnode refid="30162" relation="include">
</childnode>
<childnode refid="30163" relation="include">
</childnode>
<childnode refid="30164" relation="include">
</childnode>
<childnode refid="30165" relation="include">
</childnode>
<childnode refid="30167" relation="include">
</childnode>
<childnode refid="30194" relation="include">
</childnode>
<childnode refid="30195" relation="include">
</childnode>
<childnode refid="30196" relation="include">
</childnode>
<childnode refid="30197" relation="include">
</childnode>
<childnode refid="30198" relation="include">
</childnode>
<childnode refid="30199" relation="include">
</childnode>
<childnode refid="30200" relation="include">
</childnode>
<childnode refid="30202" relation="include">
</childnode>
<childnode refid="30203" relation="include">
</childnode>
<childnode refid="30204" relation="include">
</childnode>
<childnode refid="30205" relation="include">
</childnode>
<childnode refid="30206" relation="include">
</childnode>
<childnode refid="30207" relation="include">
</childnode>
<childnode refid="30212" relation="include">
</childnode>
<childnode refid="30213" relation="include">
</childnode>
<childnode refid="30215" relation="include">
</childnode>
<childnode refid="30216" relation="include">
</childnode>
<childnode refid="30217" relation="include">
</childnode>
<childnode refid="30218" relation="include">
</childnode>
<childnode refid="30219" relation="include">
</childnode>
<childnode refid="30220" relation="include">
</childnode>
<childnode refid="30221" relation="include">
</childnode>
<childnode refid="30222" relation="include">
</childnode>
<childnode refid="30223" relation="include">
</childnode>
<childnode refid="30224" relation="include">
</childnode>
<childnode refid="30225" relation="include">
</childnode>
<childnode refid="30226" relation="include">
</childnode>
<childnode refid="30227" relation="include">
</childnode>
<childnode refid="30228" relation="include">
</childnode>
<childnode refid="30229" relation="include">
</childnode>
<childnode refid="30230" relation="include">
</childnode>
<childnode refid="30231" relation="include">
</childnode>
</node>
<node id="30218">
<label>gecode/kernel/branch-traits.hpp</label>
<link refid="branch-traits_8hpp_source"/>
</node>
<node id="30207">
<label>gecode/kernel/array.hpp</label>
<link refid="kernel_2array_8hpp_source"/>
<childnode refid="30208" relation="include">
</childnode>
<childnode refid="30182" relation="include">
</childnode>
<childnode refid="30209" relation="include">
</childnode>
<childnode refid="30210" relation="include">
</childnode>
<childnode refid="30211" relation="include">
</childnode>
</node>
<node id="30222">
<label>gecode/kernel/branch-val.hpp</label>
<link refid="branch-val_8hpp_source"/>
</node>
<node id="30239">
<label>gecode/search/dfs.hpp</label>
<link refid="dfs_8hpp_source"/>
</node>
<node id="30186">
<label>gecode/support/dynamic-stack.hpp</label>
<link refid="dynamic-stack_8hpp_source"/>
</node>
<node id="30198">
<label>gecode/kernel/archive.hpp</label>
<link refid="archive_8hpp_source"/>
</node>
<node id="30203">
<label>gecode/kernel/range-list.hpp</label>
<link refid="range-list_8hpp_source"/>
</node>
<node id="30235">
<label>gecode/search/options.hpp</label>
<link refid="search_2options_8hpp_source"/>
</node>
<node id="30223">
<label>gecode/kernel/brancher-merit.hpp</label>
<link refid="brancher-merit_8hpp_source"/>
</node>
<node id="30166">
<label>gecode/support/config.hpp</label>
<link refid="support_2config_8hpp_source"/>
</node>
<node id="30158">
<label>/usr/include/gecode/search/worker.hh</label>
<link refid="worker.hh"/>
<childnode refid="30159" relation="include">
</childnode>
</node>
<node id="30220">
<label>gecode/kernel/branch-var.hpp</label>
<link refid="branch-var_8hpp_source"/>
</node>
<node id="30196">
<label>gecode/kernel/memory-manager.hpp</label>
<link refid="memory-manager_8hpp_source"/>
</node>
<node id="30185">
<label>gecode/support/dynamic-queue.hpp</label>
<link refid="dynamic-queue_8hpp_source"/>
</node>
<node id="30197">
<label>gecode/kernel/macros.hpp</label>
<link refid="kernel_2macros_8hpp_source"/>
</node>
<node id="30214">
<label>ctime</label>
</node>
<node id="30210">
<label>vector</label>
</node>
<node id="30243">
<label>gecode/search/meta/rbs.hh</label>
<link refid="rbs_8hh_source"/>
<childnode refid="30159" relation="include">
</childnode>
</node>
<node id="30216">
<label>gecode/kernel/advisor.hpp</label>
<link refid="advisor_8hpp_source"/>
</node>
<node id="30229">
<label>gecode/kernel/brancher-view-val.hpp</label>
<link refid="brancher-view-val_8hpp_source"/>
</node>
<node id="30211">
<label>sstream</label>
</node>
<node id="30226">
<label>gecode/kernel/brancher-val-sel.hpp</label>
<link refid="brancher-val-sel_8hpp_source"/>
</node>
<node id="30215">
<label>gecode/kernel/propagator.hpp</label>
<link refid="kernel_2propagator_8hpp_source"/>
</node>
<node id="30183">
<label>gecode/support/block-allocator.hpp</label>
<link refid="block-allocator_8hpp_source"/>
</node>
<node id="30238">
<label>gecode/search/engine-base.hpp</label>
<link refid="engine-base_8hpp_source"/>
</node>
<node id="30241">
<label>gecode/search/rbs.hpp</label>
<link refid="rbs_8hpp_source"/>
<childnode refid="30242" relation="include">
</childnode>
<childnode refid="30243" relation="include">
</childnode>
</node>
<node id="30219">
<label>gecode/kernel/activity.hpp</label>
<link refid="kernel_2activity_8hpp_source"/>
</node>
<node id="30162">
<label>cstdlib</label>
</node>
<node id="30179">
<label>gecode/support/bitset.hpp</label>
<link refid="bitset_8hpp_source"/>
<childnode refid="30177" relation="include">
</childnode>
<childnode refid="30180" relation="include">
</childnode>
</node>
<node id="30167">
<label>gecode/support/auto-link.hpp</label>
<link refid="auto-link_8hpp_source"/>
</node>
<node id="30182">
<label>iostream</label>
</node>
<node id="30194">
<label>gecode/kernel/exception.hpp</label>
<link refid="kernel_2exception_8hpp_source"/>
</node>
<node id="30168">
<label>gecode/support/macros.hpp</label>
<link refid="support_2macros_8hpp_source"/>
</node>
<node id="30206">
<label>gecode/kernel/view.hpp</label>
<link refid="kernel_2view_8hpp_source"/>
</node>
<node id="30221">
<label>gecode/kernel/branch-tiebreak.hpp</label>
<link refid="branch-tiebreak_8hpp_source"/>
</node>
<node id="30161">
<label>cstddef</label>
</node>
<node id="30177">
<label>climits</label>
</node>
<node id="30233">
<label>gecode/search/exception.hpp</label>
<link refid="search_2exception_8hpp_source"/>
</node>
<node id="30200">
<label>gecode/kernel/core.hpp</label>
<link refid="core_8hpp_source"/>
<childnode refid="30182" relation="include">
</childnode>
<childnode refid="30201" relation="include">
</childnode>
</node>
<node id="30165">
<label>gecode/support.hh</label>
<link refid="support_8hh_source"/>
<childnode refid="30164" relation="include">
</childnode>
<childnode refid="30166" relation="include">
</childnode>
<childnode refid="30167" relation="include">
</childnode>
<childnode refid="30168" relation="include">
</childnode>
<childnode refid="30169" relation="include">
</childnode>
<childnode refid="30171" relation="include">
</childnode>
<childnode refid="30172" relation="include">
</childnode>
<childnode refid="30173" relation="include">
</childnode>
<childnode refid="30175" relation="include">
</childnode>
<childnode refid="30176" relation="include">
</childnode>
<childnode refid="30178" relation="include">
</childnode>
<childnode refid="30179" relation="include">
</childnode>
<childnode refid="30181" relation="include">
</childnode>
<childnode refid="30183" relation="include">
</childnode>
<childnode refid="30184" relation="include">
</childnode>
<childnode refid="30185" relation="include">
</childnode>
<childnode refid="30186" relation="include">
</childnode>
<childnode refid="30187" relation="include">
</childnode>
<childnode refid="30188" relation="include">
</childnode>
<childnode refid="30189" relation="include">
</childnode>
<childnode refid="30190" relation="include">
</childnode>
<childnode refid="30191" relation="include">
</childnode>
<childnode refid="30192" relation="include">
</childnode>
<childnode refid="30193" relation="include">
</childnode>
</node>
<node id="30234">
<label>gecode/search/statistics.hpp</label>
<link refid="statistics_8hpp_source"/>
<childnode refid="30174" relation="include">
</childnode>
</node>
<node id="30184">
<label>gecode/support/dynamic-array.hpp</label>
<link refid="dynamic-array_8hpp_source"/>
<childnode refid="30174" relation="include">
</childnode>
</node>
<node id="30188">
<label>gecode/support/sort.hpp</label>
<link refid="support_2sort_8hpp_source"/>
<childnode refid="30174" relation="include">
</childnode>
<childnode refid="30177" relation="include">
</childnode>
</node>
<node id="30213">
<label>gecode/kernel/rnd.hpp</label>
<link refid="rnd_8hpp_source"/>
<childnode refid="30214" relation="include">
</childnode>
</node>
<node id="30174">
<label>algorithm</label>
</node>
<node id="30225">
<label>gecode/kernel/brancher-view.hpp</label>
<link refid="brancher-view_8hpp_source"/>
</node>
<node id="30199">
<label>gecode/kernel/global-afc.hpp</label>
<link refid="global-afc_8hpp_source"/>
<childnode refid="30180" relation="include">
</childnode>
</node>
<node id="30242">
<label>gecode/search/support.hh</label>
<link refid="search_2support_8hh_source"/>
<childnode refid="30159" relation="include">
</childnode>
</node>
<node id="30163">
<label>cstring</label>
</node>
<node id="30181">
<label>gecode/support/bitset-offset.hpp</label>
<link refid="bitset-offset_8hpp_source"/>
<childnode refid="30177" relation="include">
</childnode>
<childnode refid="30180" relation="include">
</childnode>
<childnode refid="30182" relation="include">
</childnode>
</node>
<node id="30173">
<label>gecode/support/heap.hpp</label>
<link refid="heap_8hpp_source"/>
<childnode refid="30163" relation="include">
</childnode>
<childnode refid="30162" relation="include">
</childnode>
<childnode refid="30174" relation="include">
</childnode>
</node>
</incdepgraph>
<invincdepgraph>
<node id="30249">
<label>/usr/include/gecode/search/sequential/bab.hh</label>
<link refid="sequential_2bab_8hh_source"/>
</node>
<node id="30250">
<label>/usr/include/gecode/search/sequential/dfs.hh</label>
<link refid="sequential_2dfs_8hh_source"/>
</node>
<node id="30247">
<label>/usr/include/gecode/search/parallel/dfs.hh</label>
<link refid="parallel_2dfs_8hh_source"/>
</node>
<node id="30244">
<label>/usr/include/gecode/search/worker.hh</label>
<link refid="worker.hh"/>
<childnode refid="30245" relation="include">
</childnode>
<childnode refid="30248" relation="include">
</childnode>
<childnode refid="30249" relation="include">
</childnode>
<childnode refid="30250" relation="include">
</childnode>
<childnode refid="30251" relation="include">
</childnode>
</node>
<node id="30248">
<label>/usr/include/gecode/search/parallel/path.hh</label>
<link refid="parallel_2path_8hh_source"/>
<childnode refid="30245" relation="include">
</childnode>
</node>
<node id="30246">
<label>/usr/include/gecode/search/parallel/bab.hh</label>
<link refid="parallel_2bab_8hh_source"/>
</node>
<node id="30245">
<label>/usr/include/gecode/search/parallel/engine.hh</label>
<link refid="engine_8hh_source"/>
<childnode refid="30246" relation="include">
</childnode>
<childnode refid="30247" relation="include">
</childnode>
</node>
<node id="30251">
<label>/usr/include/gecode/search/sequential/path.hh</label>
<link refid="sequential_2path_8hh_source"/>
<childnode refid="30249" relation="include">
</childnode>
<childnode refid="30250" relation="include">
</childnode>
</node>
</invincdepgraph>
<innerclass refid="classGecode_1_1Search_1_1Worker" prot="public">Gecode::Search::Worker</innerclass>
<innernamespace refid="namespaceGecode">Gecode</innernamespace>
<innernamespace refid="namespaceGecode_1_1Search">Gecode::Search</innernamespace>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<programlisting>
<codeline lineno="1"><highlight class="comment">/*<sp/>-*-<sp/>mode:<sp/>C++;<sp/>c-basic-offset:<sp/>2;<sp/>indent-tabs-mode:<sp/>nil<sp/>-*-<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>*<sp/><sp/>Main<sp/>authors:</highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte<sp/>&lt;schulte@gecode.org&gt;</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/><sp/>Copyright:</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>Christian<sp/>Schulte,<sp/>2004</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/><sp/>Last<sp/>modified:</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Date:<sp/>2013-10-30<sp/>15:42:34<sp/>+0100<sp/>(Wed,<sp/>30<sp/>Oct<sp/>2013)<sp/>$<sp/>by<sp/>$Author:<sp/>schulte<sp/>$</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>$Revision:<sp/>14037<sp/>$</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>Gecode,<sp/>the<sp/>generic<sp/>constraint</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/>development<sp/>environment:</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.gecode.org</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/>Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>*<sp/><sp/>a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/>&quot;Software&quot;),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/><sp/>without<sp/>limitation<sp/>the<sp/>rights<sp/>to<sp/>use,<sp/>copy,<sp/>modify,<sp/>merge,<sp/>publish,</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/><sp/>distribute,<sp/>sublicense,<sp/>and/or<sp/>sell<sp/>copies<sp/>of<sp/>the<sp/>Software,<sp/>and<sp/>to</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/><sp/>permit<sp/>persons<sp/>to<sp/>whom<sp/>the<sp/>Software<sp/>is<sp/>furnished<sp/>to<sp/>do<sp/>so,<sp/>subject<sp/>to</highlight></codeline>
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/><sp/>the<sp/>following<sp/>conditions:</highlight></codeline>
<codeline lineno="24"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/><sp/>The<sp/>above<sp/>copyright<sp/>notice<sp/>and<sp/>this<sp/>permission<sp/>notice<sp/>shall<sp/>be</highlight></codeline>
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/><sp/>included<sp/>in<sp/>all<sp/>copies<sp/>or<sp/>substantial<sp/>portions<sp/>of<sp/>the<sp/>Software.</highlight></codeline>
<codeline lineno="27"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="28"><highlight class="comment"><sp/>*<sp/><sp/>THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>&quot;AS<sp/>IS&quot;,<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
<codeline lineno="29"><highlight class="comment"><sp/>*<sp/><sp/>EXPRESS<sp/>OR<sp/>IMPLIED,<sp/>INCLUDING<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO<sp/>THE<sp/>WARRANTIES<sp/>OF</highlight></codeline>
<codeline lineno="30"><highlight class="comment"><sp/>*<sp/><sp/>MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
<codeline lineno="31"><highlight class="comment"><sp/>*<sp/><sp/>NONINFRINGEMENT.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>AUTHORS<sp/>OR<sp/>COPYRIGHT<sp/>HOLDERS<sp/>BE</highlight></codeline>
<codeline lineno="32"><highlight class="comment"><sp/>*<sp/><sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>CLAIM,<sp/>DAMAGES<sp/>OR<sp/>OTHER<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>AN<sp/>ACTION</highlight></codeline>
<codeline lineno="33"><highlight class="comment"><sp/>*<sp/><sp/>OF<sp/>CONTRACT,<sp/>TORT<sp/>OR<sp/>OTHERWISE,<sp/>ARISING<sp/>FROM,<sp/>OUT<sp/>OF<sp/>OR<sp/>IN<sp/>CONNECTION</highlight></codeline>
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/><sp/>WITH<sp/>THE<sp/>SOFTWARE<sp/>OR<sp/>THE<sp/>USE<sp/>OR<sp/>OTHER<sp/>DEALINGS<sp/>IN<sp/>THE<sp/>SOFTWARE.</highlight></codeline>
<codeline lineno="35"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="36"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>__GECODE_SEARCH_WORKER_HH__</highlight></codeline>
<codeline lineno="39"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>__GECODE_SEARCH_WORKER_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/>&lt;gecode/search.hh&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="42"><highlight class="normal"></highlight></codeline>
<codeline lineno="43"><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">Search<sp/>{</highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight></codeline>
<codeline lineno="48" refid="classGecode_1_1Search_1_1Worker" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Search_1_1Worker" kindref="compound">Worker</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Statistics" kindref="compound">Statistics</ref><sp/>{</highlight></codeline>
<codeline lineno="49"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="51" refid="classGecode_1_1Search_1_1Worker_1a2d061c3abbda741dbfd2c24aed937bb4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a2d061c3abbda741dbfd2c24aed937bb4" kindref="member">_stopped</ref>;</highlight></codeline>
<codeline lineno="53" refid="classGecode_1_1Search_1_1Worker_1a7bd002644a09c5ce4ae3573f906b8cbb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a7bd002644a09c5ce4ae3573f906b8cbb" kindref="member">root_depth</ref>;</highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a9f975fa3f422a526e1bb572aeddf0269" kindref="member">Worker</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a07088405145beaced871c48393b202a5" kindref="member">start</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1adf65d48a423558102c87cb0634bd484b" kindref="member">stop</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Options" kindref="compound">Options</ref>&amp;<sp/>o);</highlight></codeline>
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a7a55ce48c41a95be6374f4a724a61613" kindref="member">stopped</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1a6402c3f8e7077cdf7c3d88ad2ba8f1f2" kindref="member">reset</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>d=0);</highlight></codeline>
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1aea8297027ebf65274ee7246e31bccd45" kindref="member">stack_depth</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>d);</highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1ad251c6f0c758f5ffd5b0350518afae41" kindref="member">steal_depth</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>d)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="69"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="70"><highlight class="normal"></highlight></codeline>
<codeline lineno="71"><highlight class="normal"></highlight></codeline>
<codeline lineno="72"><highlight class="normal"></highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="74" refid="classGecode_1_1Search_1_1Worker_1a9f975fa3f422a526e1bb572aeddf0269" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a9f975fa3f422a526e1bb572aeddf0269" kindref="member">Worker::Worker</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>_stopped(false),<sp/>root_depth(0)<sp/>{}</highlight></codeline>
<codeline lineno="76"><highlight class="normal"></highlight></codeline>
<codeline lineno="77"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="78" refid="classGecode_1_1Search_1_1Worker_1a07088405145beaced871c48393b202a5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a07088405145beaced871c48393b202a5" kindref="member">Worker::start</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a2d061c3abbda741dbfd2c24aed937bb4" kindref="member">_stopped</ref><sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="81"><highlight class="normal"></highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="83" refid="classGecode_1_1Search_1_1Worker_1adf65d48a423558102c87cb0634bd484b" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1adf65d48a423558102c87cb0634bd484b" kindref="member">Worker::stop</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Options" kindref="compound">Options</ref>&amp;<sp/>o)<sp/>{</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(o.<ref refid="classGecode_1_1Search_1_1Options_1ab339c9f1eec1a4522d9137be9cfc998a" kindref="member">stop</ref><sp/>==<sp/>NULL)</highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a2d061c3abbda741dbfd2c24aed937bb4" kindref="member">_stopped</ref><sp/>|=<sp/>o.<ref refid="classGecode_1_1Search_1_1Options_1ab339c9f1eec1a4522d9137be9cfc998a" kindref="member">stop</ref>-&gt;<ref refid="classGecode_1_1Search_1_1Stop_1a463768870e6d105a5db82bef6e46a38b" kindref="member">stop</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,o);</highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a2d061c3abbda741dbfd2c24aed937bb4" kindref="member">_stopped</ref>;</highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="89"><highlight class="normal"></highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="91" refid="classGecode_1_1Search_1_1Worker_1a7a55ce48c41a95be6374f4a724a61613" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a7a55ce48c41a95be6374f4a724a61613" kindref="member">Worker::stopped</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a2d061c3abbda741dbfd2c24aed937bb4" kindref="member">_stopped</ref>;</highlight></codeline>
<codeline lineno="93"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="94"><highlight class="normal"></highlight></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="96" refid="classGecode_1_1Search_1_1Worker_1abb57b4e525f7474f4bd9ea8411fec628" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1a6402c3f8e7077cdf7c3d88ad2ba8f1f2" kindref="member">Worker::reset</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>d)<sp/>{</highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1a6402c3f8e7077cdf7c3d88ad2ba8f1f2" kindref="member">Statistics::reset</ref>();</highlight></codeline>
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a7bd002644a09c5ce4ae3573f906b8cbb" kindref="member">root_depth</ref><sp/>=<sp/>d;</highlight></codeline>
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Search_1_1Statistics_1aa9cebce8531c44876586bd8da5ecb646" kindref="member">depth</ref><sp/>&lt;<sp/>d)</highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1aa9cebce8531c44876586bd8da5ecb646" kindref="member">depth</ref><sp/>=<sp/>d;</highlight></codeline>
<codeline lineno="101"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="102"><highlight class="normal"></highlight></codeline>
<codeline lineno="103"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="104" refid="classGecode_1_1Search_1_1Worker_1aea8297027ebf65274ee7246e31bccd45" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1aea8297027ebf65274ee7246e31bccd45" kindref="member">Worker::stack_depth</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>d)<sp/>{</highlight></codeline>
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Search_1_1Statistics_1aa9cebce8531c44876586bd8da5ecb646" kindref="member">depth</ref><sp/>&lt;<sp/><ref refid="classGecode_1_1Search_1_1Worker_1a7bd002644a09c5ce4ae3573f906b8cbb" kindref="member">root_depth</ref><sp/>+<sp/>d)</highlight></codeline>
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1aa9cebce8531c44876586bd8da5ecb646" kindref="member">depth</ref><sp/>=<sp/><ref refid="classGecode_1_1Search_1_1Worker_1a7bd002644a09c5ce4ae3573f906b8cbb" kindref="member">root_depth</ref><sp/>+<sp/>d;</highlight></codeline>
<codeline lineno="107"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="108"><highlight class="normal"></highlight></codeline>
<codeline lineno="109"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="110" refid="classGecode_1_1Search_1_1Worker_1ad251c6f0c758f5ffd5b0350518afae41" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1ad251c6f0c758f5ffd5b0350518afae41" kindref="member">Worker::steal_depth</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>d)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a7bd002644a09c5ce4ae3573f906b8cbb" kindref="member">root_depth</ref><sp/>+<sp/>d;</highlight></codeline>
<codeline lineno="112"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="113"><highlight class="normal"></highlight></codeline>
<codeline lineno="114"><highlight class="normal">}}</highlight></codeline>
<codeline lineno="115"><highlight class="normal"></highlight></codeline>
<codeline lineno="116"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="117"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="118"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>search-other</highlight><highlight class="normal"></highlight></codeline>
</programlisting>
<location file="/usr/include/gecode/search/worker.hh"/>
</compounddef>
</doxygen>