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.
yap-6.3/packages/gecode/dev/extractor/xml/sequential_2dfs_8hh.xml
Vitor Santos Costa a8eda03305 4.2.1 support
2014-01-22 09:41:47 +00:00

758 lines
51 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="sequential_2dfs_8hh" kind="file">
<compoundname>dfs.hh</compoundname>
<includes refid="search_8hh" local="no">gecode/search.hh</includes>
<includes refid="search_2support_8hh" local="no">gecode/search/support.hh</includes>
<includes refid="worker_8hh" local="no">gecode/search/worker.hh</includes>
<includes refid="sequential_2path_8hh" local="no">gecode/search/sequential/path.hh</includes>
<incdepgraph>
<node id="29388">
<label>gecode/support/cast.hpp</label>
<link refid="cast_8hpp_source"/>
</node>
<node id="29454">
<label>gecode/search/cutoff.hpp</label>
<link refid="cutoff_8hpp_source"/>
</node>
<node id="29445">
<label>gecode/kernel/brancher-val-sel-commit.hpp</label>
<link refid="brancher-val-sel-commit_8hpp_source"/>
</node>
<node id="29406">
<label>gecode/support/static-stack.hpp</label>
<link refid="static-stack_8hpp_source"/>
</node>
<node id="29447">
<label>gecode/kernel/var-imp.hpp</label>
<link refid="kernel_2var-imp_8hpp_source"/>
</node>
<node id="29404">
<label>gecode/support/random.hpp</label>
<link refid="random_8hpp_source"/>
</node>
<node id="29449">
<label>limits</label>
</node>
<node id="29422">
<label>gecode/kernel/var.hpp</label>
<link refid="kernel_2var_8hpp_source"/>
</node>
<node id="29407">
<label>gecode/support/thread/none.hpp</label>
<link refid="none_8hpp_source"/>
</node>
<node id="29426">
<label>iterator</label>
</node>
<node id="29409">
<label>gecode/support/timer.hpp</label>
<link refid="timer_8hpp_source"/>
</node>
<node id="29408">
<label>gecode/support/thread/thread.hpp</label>
<link refid="thread_2thread_8hpp_source"/>
</node>
<node id="29444">
<label>gecode/kernel/brancher-val-commit.hpp</label>
<link refid="brancher-val-commit_8hpp_source"/>
</node>
<node id="29434">
<label>gecode/kernel/afc.hpp</label>
<link refid="kernel_2afc_8hpp_source"/>
</node>
<node id="29418">
<label>gecode/kernel/var-type.hpp</label>
<link refid="var-type_8hpp_source"/>
</node>
<node id="29410">
<label>gecode/support/hw-rnd.hpp</label>
<link refid="hw-rnd_8hpp_source"/>
</node>
<node id="29375">
<label>/usr/include/gecode/search/sequential/dfs.hh</label>
<link refid="sequential/dfs.hh"/>
<childnode refid="29376" relation="include">
</childnode>
<childnode refid="29459" relation="include">
</childnode>
<childnode refid="29461" relation="include">
</childnode>
<childnode refid="29462" relation="include">
</childnode>
</node>
<node id="29397">
<label>cmath</label>
</node>
<node id="29381">
<label>cassert</label>
</node>
<node id="29441">
<label>gecode/kernel/brancher-view-sel.hpp</label>
<link refid="brancher-view-sel_8hpp_source"/>
</node>
<node id="29448">
<label>gecode/kernel/allocators.hpp</label>
<link refid="allocators_8hpp_source"/>
<childnode refid="29449" relation="include">
</childnode>
</node>
<node id="29376">
<label>gecode/search.hh</label>
<link refid="search_8hh_source"/>
<childnode refid="29377" relation="include">
</childnode>
<childnode refid="29384" relation="include">
</childnode>
<childnode refid="29450" relation="include">
</childnode>
<childnode refid="29451" relation="include">
</childnode>
<childnode refid="29452" relation="include">
</childnode>
<childnode refid="29453" relation="include">
</childnode>
<childnode refid="29454" relation="include">
</childnode>
<childnode refid="29455" relation="include">
</childnode>
<childnode refid="29456" relation="include">
</childnode>
<childnode refid="29457" relation="include">
</childnode>
<childnode refid="29458" relation="include">
</childnode>
</node>
<node id="29425">
<label>cstdarg</label>
</node>
<node id="29395">
<label>gecode/support/bitset-base.hpp</label>
<link refid="bitset-base_8hpp_source"/>
<childnode refid="29394" relation="include">
</childnode>
</node>
<node id="29429">
<label>gecode/kernel/shared-array.hpp</label>
<link refid="shared-array_8hpp_source"/>
<childnode refid="29425" relation="include">
</childnode>
<childnode refid="29399" relation="include">
</childnode>
<childnode refid="29428" relation="include">
</childnode>
</node>
<node id="29419">
<label>gecode/kernel/modevent.hpp</label>
<link refid="modevent_8hpp_source"/>
</node>
<node id="29457">
<label>gecode/search/bab.hpp</label>
<link refid="bab_8hpp_source"/>
</node>
<node id="29412">
<label>gecode/kernel/memory-config.hpp</label>
<link refid="memory-config_8hpp_source"/>
</node>
<node id="29393">
<label>gecode/support/int-type.hpp</label>
<link refid="int-type_8hpp_source"/>
<childnode refid="29394" relation="include">
</childnode>
</node>
<node id="29386">
<label>gecode/support/exception.hpp</label>
<link refid="support_2exception_8hpp_source"/>
<childnode refid="29387" relation="include">
</childnode>
</node>
<node id="29387">
<label>exception</label>
</node>
<node id="29453">
<label>gecode/search/stop.hpp</label>
<link refid="stop_8hpp_source"/>
</node>
<node id="29421">
<label>gecode/kernel/region.hpp</label>
<link refid="region_8hpp_source"/>
</node>
<node id="29392">
<label>gecode/support/marked-pointer.hpp</label>
<link refid="marked-pointer_8hpp_source"/>
<childnode refid="29378" relation="include">
</childnode>
</node>
<node id="29389">
<label>gecode/support/thread.hpp</label>
<link refid="thread_8hpp_source"/>
<childnode refid="29378" relation="include">
</childnode>
</node>
<node id="29377">
<label>gecode/kernel.hh</label>
<link refid="kernel_8hh_source"/>
<childnode refid="29378" relation="include">
</childnode>
<childnode refid="29379" relation="include">
</childnode>
<childnode refid="29380" relation="include">
</childnode>
<childnode refid="29381" relation="include">
</childnode>
<childnode refid="29382" relation="include">
</childnode>
<childnode refid="29384" relation="include">
</childnode>
<childnode refid="29411" relation="include">
</childnode>
<childnode refid="29412" relation="include">
</childnode>
<childnode refid="29413" relation="include">
</childnode>
<childnode refid="29414" relation="include">
</childnode>
<childnode refid="29415" relation="include">
</childnode>
<childnode refid="29416" relation="include">
</childnode>
<childnode refid="29417" relation="include">
</childnode>
<childnode refid="29419" relation="include">
</childnode>
<childnode refid="29420" relation="include">
</childnode>
<childnode refid="29421" relation="include">
</childnode>
<childnode refid="29422" relation="include">
</childnode>
<childnode refid="29423" relation="include">
</childnode>
<childnode refid="29424" relation="include">
</childnode>
<childnode refid="29429" relation="include">
</childnode>
<childnode refid="29430" relation="include">
</childnode>
<childnode refid="29432" relation="include">
</childnode>
<childnode refid="29433" relation="include">
</childnode>
<childnode refid="29434" relation="include">
</childnode>
<childnode refid="29435" relation="include">
</childnode>
<childnode refid="29436" relation="include">
</childnode>
<childnode refid="29437" relation="include">
</childnode>
<childnode refid="29438" relation="include">
</childnode>
<childnode refid="29439" relation="include">
</childnode>
<childnode refid="29440" relation="include">
</childnode>
<childnode refid="29441" relation="include">
</childnode>
<childnode refid="29442" relation="include">
</childnode>
<childnode refid="29443" relation="include">
</childnode>
<childnode refid="29444" relation="include">
</childnode>
<childnode refid="29445" relation="include">
</childnode>
<childnode refid="29446" relation="include">
</childnode>
<childnode refid="29447" relation="include">
</childnode>
<childnode refid="29448" relation="include">
</childnode>
</node>
<node id="29435">
<label>gecode/kernel/branch-traits.hpp</label>
<link refid="branch-traits_8hpp_source"/>
</node>
<node id="29424">
<label>gecode/kernel/array.hpp</label>
<link refid="kernel_2array_8hpp_source"/>
<childnode refid="29425" relation="include">
</childnode>
<childnode refid="29399" relation="include">
</childnode>
<childnode refid="29426" relation="include">
</childnode>
<childnode refid="29427" relation="include">
</childnode>
<childnode refid="29428" relation="include">
</childnode>
</node>
<node id="29439">
<label>gecode/kernel/branch-val.hpp</label>
<link refid="branch-val_8hpp_source"/>
</node>
<node id="29456">
<label>gecode/search/dfs.hpp</label>
<link refid="dfs_8hpp_source"/>
</node>
<node id="29403">
<label>gecode/support/dynamic-stack.hpp</label>
<link refid="dynamic-stack_8hpp_source"/>
</node>
<node id="29415">
<label>gecode/kernel/archive.hpp</label>
<link refid="archive_8hpp_source"/>
</node>
<node id="29420">
<label>gecode/kernel/range-list.hpp</label>
<link refid="range-list_8hpp_source"/>
</node>
<node id="29452">
<label>gecode/search/options.hpp</label>
<link refid="search_2options_8hpp_source"/>
</node>
<node id="29440">
<label>gecode/kernel/brancher-merit.hpp</label>
<link refid="brancher-merit_8hpp_source"/>
</node>
<node id="29383">
<label>gecode/support/config.hpp</label>
<link refid="support_2config_8hpp_source"/>
</node>
<node id="29461">
<label>gecode/search/worker.hh</label>
<link refid="worker_8hh_source"/>
<childnode refid="29376" relation="include">
</childnode>
</node>
<node id="29437">
<label>gecode/kernel/branch-var.hpp</label>
<link refid="branch-var_8hpp_source"/>
</node>
<node id="29413">
<label>gecode/kernel/memory-manager.hpp</label>
<link refid="memory-manager_8hpp_source"/>
</node>
<node id="29402">
<label>gecode/support/dynamic-queue.hpp</label>
<link refid="dynamic-queue_8hpp_source"/>
</node>
<node id="29414">
<label>gecode/kernel/macros.hpp</label>
<link refid="kernel_2macros_8hpp_source"/>
</node>
<node id="29431">
<label>ctime</label>
</node>
<node id="29427">
<label>vector</label>
</node>
<node id="29460">
<label>gecode/search/meta/rbs.hh</label>
<link refid="rbs_8hh_source"/>
<childnode refid="29376" relation="include">
</childnode>
</node>
<node id="29433">
<label>gecode/kernel/advisor.hpp</label>
<link refid="advisor_8hpp_source"/>
</node>
<node id="29446">
<label>gecode/kernel/brancher-view-val.hpp</label>
<link refid="brancher-view-val_8hpp_source"/>
</node>
<node id="29428">
<label>sstream</label>
</node>
<node id="29443">
<label>gecode/kernel/brancher-val-sel.hpp</label>
<link refid="brancher-val-sel_8hpp_source"/>
</node>
<node id="29432">
<label>gecode/kernel/propagator.hpp</label>
<link refid="kernel_2propagator_8hpp_source"/>
</node>
<node id="29400">
<label>gecode/support/block-allocator.hpp</label>
<link refid="block-allocator_8hpp_source"/>
</node>
<node id="29455">
<label>gecode/search/engine-base.hpp</label>
<link refid="engine-base_8hpp_source"/>
</node>
<node id="29462">
<label>gecode/search/sequential/path.hh</label>
<link refid="sequential_2path_8hh_source"/>
<childnode refid="29376" relation="include">
</childnode>
<childnode refid="29459" relation="include">
</childnode>
<childnode refid="29461" relation="include">
</childnode>
<childnode refid="29463" relation="include">
</childnode>
</node>
<node id="29458">
<label>gecode/search/rbs.hpp</label>
<link refid="rbs_8hpp_source"/>
<childnode refid="29459" relation="include">
</childnode>
<childnode refid="29460" relation="include">
</childnode>
</node>
<node id="29436">
<label>gecode/kernel/activity.hpp</label>
<link refid="kernel_2activity_8hpp_source"/>
</node>
<node id="29379">
<label>cstdlib</label>
</node>
<node id="29396">
<label>gecode/support/bitset.hpp</label>
<link refid="bitset_8hpp_source"/>
<childnode refid="29394" relation="include">
</childnode>
<childnode refid="29397" relation="include">
</childnode>
</node>
<node id="29384">
<label>gecode/support/auto-link.hpp</label>
<link refid="auto-link_8hpp_source"/>
</node>
<node id="29399">
<label>iostream</label>
</node>
<node id="29411">
<label>gecode/kernel/exception.hpp</label>
<link refid="kernel_2exception_8hpp_source"/>
</node>
<node id="29463">
<label>gecode/search/meta/nogoods.hh</label>
<link refid="nogoods_8hh_source"/>
<childnode refid="29376" relation="include">
</childnode>
</node>
<node id="29385">
<label>gecode/support/macros.hpp</label>
<link refid="support_2macros_8hpp_source"/>
</node>
<node id="29423">
<label>gecode/kernel/view.hpp</label>
<link refid="kernel_2view_8hpp_source"/>
</node>
<node id="29438">
<label>gecode/kernel/branch-tiebreak.hpp</label>
<link refid="branch-tiebreak_8hpp_source"/>
</node>
<node id="29378">
<label>cstddef</label>
</node>
<node id="29394">
<label>climits</label>
</node>
<node id="29450">
<label>gecode/search/exception.hpp</label>
<link refid="search_2exception_8hpp_source"/>
</node>
<node id="29417">
<label>gecode/kernel/core.hpp</label>
<link refid="core_8hpp_source"/>
<childnode refid="29399" relation="include">
</childnode>
<childnode refid="29418" relation="include">
</childnode>
</node>
<node id="29382">
<label>gecode/support.hh</label>
<link refid="support_8hh_source"/>
<childnode refid="29381" relation="include">
</childnode>
<childnode refid="29383" relation="include">
</childnode>
<childnode refid="29384" relation="include">
</childnode>
<childnode refid="29385" relation="include">
</childnode>
<childnode refid="29386" relation="include">
</childnode>
<childnode refid="29388" relation="include">
</childnode>
<childnode refid="29389" relation="include">
</childnode>
<childnode refid="29390" relation="include">
</childnode>
<childnode refid="29392" relation="include">
</childnode>
<childnode refid="29393" relation="include">
</childnode>
<childnode refid="29395" relation="include">
</childnode>
<childnode refid="29396" relation="include">
</childnode>
<childnode refid="29398" relation="include">
</childnode>
<childnode refid="29400" relation="include">
</childnode>
<childnode refid="29401" relation="include">
</childnode>
<childnode refid="29402" relation="include">
</childnode>
<childnode refid="29403" relation="include">
</childnode>
<childnode refid="29404" relation="include">
</childnode>
<childnode refid="29405" relation="include">
</childnode>
<childnode refid="29406" relation="include">
</childnode>
<childnode refid="29407" relation="include">
</childnode>
<childnode refid="29408" relation="include">
</childnode>
<childnode refid="29409" relation="include">
</childnode>
<childnode refid="29410" relation="include">
</childnode>
</node>
<node id="29451">
<label>gecode/search/statistics.hpp</label>
<link refid="statistics_8hpp_source"/>
<childnode refid="29391" relation="include">
</childnode>
</node>
<node id="29401">
<label>gecode/support/dynamic-array.hpp</label>
<link refid="dynamic-array_8hpp_source"/>
<childnode refid="29391" relation="include">
</childnode>
</node>
<node id="29405">
<label>gecode/support/sort.hpp</label>
<link refid="support_2sort_8hpp_source"/>
<childnode refid="29391" relation="include">
</childnode>
<childnode refid="29394" relation="include">
</childnode>
</node>
<node id="29430">
<label>gecode/kernel/rnd.hpp</label>
<link refid="rnd_8hpp_source"/>
<childnode refid="29431" relation="include">
</childnode>
</node>
<node id="29391">
<label>algorithm</label>
</node>
<node id="29442">
<label>gecode/kernel/brancher-view.hpp</label>
<link refid="brancher-view_8hpp_source"/>
</node>
<node id="29416">
<label>gecode/kernel/global-afc.hpp</label>
<link refid="global-afc_8hpp_source"/>
<childnode refid="29397" relation="include">
</childnode>
</node>
<node id="29459">
<label>gecode/search/support.hh</label>
<link refid="search_2support_8hh_source"/>
<childnode refid="29376" relation="include">
</childnode>
</node>
<node id="29380">
<label>cstring</label>
</node>
<node id="29398">
<label>gecode/support/bitset-offset.hpp</label>
<link refid="bitset-offset_8hpp_source"/>
<childnode refid="29394" relation="include">
</childnode>
<childnode refid="29397" relation="include">
</childnode>
<childnode refid="29399" relation="include">
</childnode>
</node>
<node id="29390">
<label>gecode/support/heap.hpp</label>
<link refid="heap_8hpp_source"/>
<childnode refid="29380" relation="include">
</childnode>
<childnode refid="29379" relation="include">
</childnode>
<childnode refid="29391" relation="include">
</childnode>
</node>
</incdepgraph>
<innerclass refid="classGecode_1_1Search_1_1Sequential_1_1DFS" prot="public">Gecode::Search::Sequential::DFS</innerclass>
<innernamespace refid="namespaceGecode">Gecode</innernamespace>
<innernamespace refid="namespaceGecode_1_1Search">Gecode::Search</innernamespace>
<innernamespace refid="namespaceGecode_1_1Search_1_1Sequential">Gecode::Search::Sequential</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/>2009</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-12<sp/>18:20:11<sp/>+0200<sp/>(Fri,<sp/>12<sp/>Jul<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/>13877<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_SEQUENTIAL_DFS_HH__</highlight></codeline>
<codeline lineno="39"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>__GECODE_SEARCH_SEQUENTIAL_DFS_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><highlight class="preprocessor">#include<sp/>&lt;gecode/search/support.hh&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;gecode/search/worker.hh&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;gecode/search/sequential/path.hh&gt;</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">Search<sp/>{<sp/></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Sequential<sp/>{</highlight></codeline>
<codeline lineno="47"><highlight class="normal"></highlight></codeline>
<codeline lineno="49" refid="classGecode_1_1Search_1_1Sequential_1_1DFS" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS" kindref="compound">DFS</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Search_1_1Worker" kindref="compound">Worker</ref><sp/>{</highlight></codeline>
<codeline lineno="50"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Options" kindref="compound">Options</ref><sp/>opt;</highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1Path" kindref="compound">Path</ref><sp/>path;</highlight></codeline>
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>cur;</highlight></codeline>
<codeline lineno="58"><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/>d;</highlight></codeline>
<codeline lineno="59"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1aad2193be3190056106bb3107bd1e113d" kindref="member">DFS</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>s,<sp/></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="63"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a6f6b19d844a1bf511b8b6059c489d684" kindref="member">next</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics" kindref="compound">Statistics</ref><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a647b14e1e7f54348bcad74a864952bd3" kindref="member">statistics</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="67"><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>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>s);</highlight></codeline>
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1NoGoods" kindref="compound">NoGoods</ref>&amp;<sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a1632fa61dc2aa3b39a98f40f60e98100" kindref="member">nogoods</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1ac73e08ecc25e50b8b5b8fb5c1c9df008" kindref="member">~DFS</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="73"><highlight class="normal"></highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight></codeline>
<codeline lineno="75" refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1aad2193be3190056106bb3107bd1e113d" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1aad2193be3190056106bb3107bd1e113d" kindref="member">DFS::DFS</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>s,<sp/></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="76"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/>opt(o),<sp/><ref refid="group__TaskModelIntGraph_1gae5733c359a61d5e3532265e3b5f187da" kindref="member">path</ref>(static_cast&lt;int&gt;(opt.nogoods_limit)),<sp/>d(0)<sp/>{</highlight></codeline>
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((s<sp/>==<sp/>NULL)<sp/>||<sp/>(s-&gt;<ref refid="classGecode_1_1Space_1a3812fd0a475b63341694c44faa5e8b36" kindref="member">status</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">)<sp/>==<sp/><ref refid="namespaceGecode_1af2c31e4405deb7f40175130957c30585ad86f84f8e703789baf93668526a38ae0" kindref="member">SS_FAILED</ref>))<sp/>{</highlight></codeline>
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1abd709acc7f8a83851f063987ceb87731" kindref="member">fail</ref>++;</highlight></codeline>
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>cur<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!opt.<ref refid="classGecode_1_1Search_1_1Options_1a2cbf87912bdcdbaf43253e3ef176f74f" kindref="member">clone</ref>)</highlight></codeline>
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal"><sp/>s;</highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>cur<sp/>=<sp/>snapshot(s,opt);</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="86"><highlight class="normal"></highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="88" refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a48c2c0807813c7f8722918148688da63" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1a6402c3f8e7077cdf7c3d88ad2ba8f1f2" kindref="member">DFS::reset</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>s)<sp/>{</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal"><sp/>cur;</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/>path.<ref refid="classGecode_1_1Search_1_1Sequential_1_1Path_1a3089a3f62fab6d9d1145411926302ab1" kindref="member">reset</ref>();</highlight></codeline>
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/>d<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((s<sp/>==<sp/>NULL)<sp/>||<sp/>(s-&gt;<ref refid="classGecode_1_1Space_1a3812fd0a475b63341694c44faa5e8b36" kindref="member">status</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">)<sp/>==<sp/><ref refid="namespaceGecode_1af2c31e4405deb7f40175130957c30585ad86f84f8e703789baf93668526a38ae0" kindref="member">SS_FAILED</ref>))<sp/>{</highlight></codeline>
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>cur<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>cur<sp/>=<sp/>s;</highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1a6402c3f8e7077cdf7c3d88ad2ba8f1f2" kindref="member">Worker::reset</ref>();</highlight></codeline>
<codeline lineno="98"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="99"><highlight class="normal"></highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1NoGoods" kindref="compound">NoGoods</ref>&amp;</highlight></codeline>
<codeline lineno="101" refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a1632fa61dc2aa3b39a98f40f60e98100" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a1632fa61dc2aa3b39a98f40f60e98100" kindref="member">DFS::nogoods</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>path;</highlight></codeline>
<codeline lineno="103"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="104"><highlight class="normal"></highlight></codeline>
<codeline lineno="105"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*</highlight></codeline>
<codeline lineno="106" refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a6f6b19d844a1bf511b8b6059c489d684" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a6f6b19d844a1bf511b8b6059c489d684" kindref="member">DFS::next</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Worker_1a07088405145beaced871c48393b202a5" kindref="member">start</ref>();</highlight></codeline>
<codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keyword">true</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(cur)<sp/>{</highlight></codeline>
<codeline lineno="110"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classGecode_1_1Search_1_1Worker_1adf65d48a423558102c87cb0634bd484b" kindref="member">stop</ref>(opt))</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline>
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1ac23410cf0f6e1df70b10bf9c0c0ca68a" kindref="member">node</ref>++;</highlight></codeline>
<codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">switch</highlight><highlight class="normal"><sp/>(cur-&gt;<ref refid="classGecode_1_1Space_1a3812fd0a475b63341694c44faa5e8b36" kindref="member">status</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">))<sp/>{</highlight></codeline>
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1af2c31e4405deb7f40175130957c30585ad86f84f8e703789baf93668526a38ae0" kindref="member">SS_FAILED</ref>:</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Search_1_1Statistics_1abd709acc7f8a83851f063987ceb87731" kindref="member">fail</ref>++;</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal"><sp/>cur;</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cur<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1af2c31e4405deb7f40175130957c30585a47752bf255aa67ccab82714aa63cd463" kindref="member">SS_SOLVED</ref>:</highlight></codeline>
<codeline lineno="120"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Deletes<sp/>all<sp/>pending<sp/>branchers</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="122"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(void)<sp/>cur-&gt;<ref refid="classGecode_1_1Space_1a18c37b971e41bc69f2e53c9d6eba7dd2" kindref="member">choice</ref>();</highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>s<sp/>=<sp/>cur;</highlight></codeline>
<codeline lineno="124"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cur<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="125"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>s;</highlight></codeline>
<codeline lineno="126"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="127"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1af2c31e4405deb7f40175130957c30585a22586483a7be4a59eeb383f5f0c4a185" kindref="member">SS_BRANCH</ref>:</highlight></codeline>
<codeline lineno="128"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>*<sp/>c;</highlight></codeline>
<codeline lineno="130"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((d<sp/>==<sp/>0)<sp/>||<sp/>(d<sp/>&gt;=<sp/>opt.<ref refid="classGecode_1_1Search_1_1Options_1a0ddf2cf2908ba6e79d0d99654bf5ea02" kindref="member">c_d</ref>))<sp/>{</highlight></codeline>
<codeline lineno="131"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>c<sp/>=<sp/>cur-&gt;<ref refid="classGecode_1_1Space_1a54f69f4d73d434c2dcea056a7e678d23" kindref="member">clone</ref>();</highlight></codeline>
<codeline lineno="132"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>d<sp/>=<sp/>1;</highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="134"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>c<sp/>=<sp/>NULL;</highlight></codeline>
<codeline lineno="135"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>d++;</highlight></codeline>
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="137"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Choice" kindref="compound">Choice</ref>*<sp/>ch<sp/>=<sp/>path.<ref refid="classGecode_1_1Search_1_1Sequential_1_1Path_1a050f123019eb045ed9d688ff3af5d9fc" kindref="member">push</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,cur,c);</highlight></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cur-&gt;<ref refid="classGecode_1_1Space_1af6c5acd20d04168a04b0025da458882a" kindref="member">commit</ref>(*ch,0);</highlight></codeline>
<codeline lineno="139"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="140"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">default</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="144"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">do</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!path.<ref refid="classGecode_1_1Search_1_1Sequential_1_1Path_1a7ca7c2604c754b56b8af2c9cc650d049" kindref="member">next</ref>())</highlight></codeline>
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cur<sp/>=<sp/>path.<ref refid="classGecode_1_1Search_1_1Sequential_1_1Path_1adb103b2131d24a8ca64834c73e0f7018" kindref="member">recompute</ref>(d,opt.<ref refid="classGecode_1_1Search_1_1Options_1a9cbd39139b9565aa65780610f1b511b8" kindref="member">a_d</ref>,*</highlight><highlight class="keyword">this</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="149"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(cur<sp/>==<sp/>NULL);</highlight></codeline>
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/>GECODE_NEVER;</highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline>
<codeline lineno="153"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="154"><highlight class="normal"></highlight></codeline>
<codeline lineno="155"><highlight class="normal"><sp/><sp/>forceinline<sp/><ref refid="classGecode_1_1Search_1_1Statistics" kindref="compound">Statistics</ref></highlight></codeline>
<codeline lineno="156" refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a647b14e1e7f54348bcad74a864952bd3" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1a647b14e1e7f54348bcad74a864952bd3" kindref="member">DFS::statistics</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="157"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>*</highlight><highlight class="keyword">this</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="159"><highlight class="normal"></highlight></codeline>
<codeline lineno="160"><highlight class="normal"><sp/><sp/>forceinline<sp/></highlight></codeline>
<codeline lineno="161" refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1ac73e08ecc25e50b8b5b8fb5c1c9df008" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Search_1_1Sequential_1_1DFS_1ac73e08ecc25e50b8b5b8fb5c1c9df008" kindref="member">DFS::~DFS</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal"><sp/>cur;</highlight></codeline>
<codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/>path.<ref refid="classGecode_1_1Search_1_1Sequential_1_1Path_1a3089a3f62fab6d9d1145411926302ab1" kindref="member">reset</ref>();</highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="165"><highlight class="normal"></highlight></codeline>
<codeline lineno="166"><highlight class="normal">}}}</highlight></codeline>
<codeline lineno="167"><highlight class="normal"></highlight></codeline>
<codeline lineno="168"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="169"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="170"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>search-sequential</highlight><highlight class="normal"></highlight></codeline>
</programlisting>
<location file="/usr/include/gecode/search/sequential/dfs.hh"/>
</compounddef>
</doxygen>