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

700 lines
69 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="wait_8hh" kind="file">
<compoundname>wait.hh</compoundname>
<includes refid="kernel_8hh" local="no">gecode/kernel.hh</includes>
<incdepgraph>
<node id="28398">
<label>gecode/support/cast.hpp</label>
<link refid="cast_8hpp_source"/>
</node>
<node id="28455">
<label>gecode/kernel/brancher-val-sel-commit.hpp</label>
<link refid="brancher-val-sel-commit_8hpp_source"/>
</node>
<node id="28416">
<label>gecode/support/static-stack.hpp</label>
<link refid="static-stack_8hpp_source"/>
</node>
<node id="28457">
<label>gecode/kernel/var-imp.hpp</label>
<link refid="kernel_2var-imp_8hpp_source"/>
</node>
<node id="28414">
<label>gecode/support/random.hpp</label>
<link refid="random_8hpp_source"/>
</node>
<node id="28459">
<label>limits</label>
</node>
<node id="28432">
<label>gecode/kernel/var.hpp</label>
<link refid="kernel_2var_8hpp_source"/>
</node>
<node id="28417">
<label>gecode/support/thread/none.hpp</label>
<link refid="none_8hpp_source"/>
</node>
<node id="28436">
<label>iterator</label>
</node>
<node id="28419">
<label>gecode/support/timer.hpp</label>
<link refid="timer_8hpp_source"/>
</node>
<node id="28418">
<label>gecode/support/thread/thread.hpp</label>
<link refid="thread_2thread_8hpp_source"/>
</node>
<node id="28454">
<label>gecode/kernel/brancher-val-commit.hpp</label>
<link refid="brancher-val-commit_8hpp_source"/>
</node>
<node id="28444">
<label>gecode/kernel/afc.hpp</label>
<link refid="kernel_2afc_8hpp_source"/>
</node>
<node id="28428">
<label>gecode/kernel/var-type.hpp</label>
<link refid="var-type_8hpp_source"/>
</node>
<node id="28420">
<label>gecode/support/hw-rnd.hpp</label>
<link refid="hw-rnd_8hpp_source"/>
</node>
<node id="28407">
<label>cmath</label>
</node>
<node id="28391">
<label>cassert</label>
</node>
<node id="28451">
<label>gecode/kernel/brancher-view-sel.hpp</label>
<link refid="brancher-view-sel_8hpp_source"/>
</node>
<node id="28458">
<label>gecode/kernel/allocators.hpp</label>
<link refid="allocators_8hpp_source"/>
<childnode refid="28459" relation="include">
</childnode>
</node>
<node id="28435">
<label>cstdarg</label>
</node>
<node id="28405">
<label>gecode/support/bitset-base.hpp</label>
<link refid="bitset-base_8hpp_source"/>
<childnode refid="28404" relation="include">
</childnode>
</node>
<node id="28439">
<label>gecode/kernel/shared-array.hpp</label>
<link refid="shared-array_8hpp_source"/>
<childnode refid="28435" relation="include">
</childnode>
<childnode refid="28409" relation="include">
</childnode>
<childnode refid="28438" relation="include">
</childnode>
</node>
<node id="28429">
<label>gecode/kernel/modevent.hpp</label>
<link refid="modevent_8hpp_source"/>
</node>
<node id="28422">
<label>gecode/kernel/memory-config.hpp</label>
<link refid="memory-config_8hpp_source"/>
</node>
<node id="28403">
<label>gecode/support/int-type.hpp</label>
<link refid="int-type_8hpp_source"/>
<childnode refid="28404" relation="include">
</childnode>
</node>
<node id="28396">
<label>gecode/support/exception.hpp</label>
<link refid="support_2exception_8hpp_source"/>
<childnode refid="28397" relation="include">
</childnode>
</node>
<node id="28397">
<label>exception</label>
</node>
<node id="28431">
<label>gecode/kernel/region.hpp</label>
<link refid="region_8hpp_source"/>
</node>
<node id="28402">
<label>gecode/support/marked-pointer.hpp</label>
<link refid="marked-pointer_8hpp_source"/>
<childnode refid="28388" relation="include">
</childnode>
</node>
<node id="28399">
<label>gecode/support/thread.hpp</label>
<link refid="thread_8hpp_source"/>
<childnode refid="28388" relation="include">
</childnode>
</node>
<node id="28387">
<label>gecode/kernel.hh</label>
<link refid="kernel_8hh_source"/>
<childnode refid="28388" relation="include">
</childnode>
<childnode refid="28389" relation="include">
</childnode>
<childnode refid="28390" relation="include">
</childnode>
<childnode refid="28391" relation="include">
</childnode>
<childnode refid="28392" relation="include">
</childnode>
<childnode refid="28394" relation="include">
</childnode>
<childnode refid="28421" relation="include">
</childnode>
<childnode refid="28422" relation="include">
</childnode>
<childnode refid="28423" relation="include">
</childnode>
<childnode refid="28424" relation="include">
</childnode>
<childnode refid="28425" relation="include">
</childnode>
<childnode refid="28426" relation="include">
</childnode>
<childnode refid="28427" relation="include">
</childnode>
<childnode refid="28429" relation="include">
</childnode>
<childnode refid="28430" relation="include">
</childnode>
<childnode refid="28431" relation="include">
</childnode>
<childnode refid="28432" relation="include">
</childnode>
<childnode refid="28433" relation="include">
</childnode>
<childnode refid="28434" relation="include">
</childnode>
<childnode refid="28439" relation="include">
</childnode>
<childnode refid="28440" relation="include">
</childnode>
<childnode refid="28442" relation="include">
</childnode>
<childnode refid="28443" relation="include">
</childnode>
<childnode refid="28444" relation="include">
</childnode>
<childnode refid="28445" relation="include">
</childnode>
<childnode refid="28446" relation="include">
</childnode>
<childnode refid="28447" relation="include">
</childnode>
<childnode refid="28448" relation="include">
</childnode>
<childnode refid="28449" relation="include">
</childnode>
<childnode refid="28450" relation="include">
</childnode>
<childnode refid="28451" relation="include">
</childnode>
<childnode refid="28452" relation="include">
</childnode>
<childnode refid="28453" relation="include">
</childnode>
<childnode refid="28454" relation="include">
</childnode>
<childnode refid="28455" relation="include">
</childnode>
<childnode refid="28456" relation="include">
</childnode>
<childnode refid="28457" relation="include">
</childnode>
<childnode refid="28458" relation="include">
</childnode>
</node>
<node id="28445">
<label>gecode/kernel/branch-traits.hpp</label>
<link refid="branch-traits_8hpp_source"/>
</node>
<node id="28434">
<label>gecode/kernel/array.hpp</label>
<link refid="kernel_2array_8hpp_source"/>
<childnode refid="28435" relation="include">
</childnode>
<childnode refid="28409" relation="include">
</childnode>
<childnode refid="28436" relation="include">
</childnode>
<childnode refid="28437" relation="include">
</childnode>
<childnode refid="28438" relation="include">
</childnode>
</node>
<node id="28449">
<label>gecode/kernel/branch-val.hpp</label>
<link refid="branch-val_8hpp_source"/>
</node>
<node id="28386">
<label>/usr/include/gecode/kernel/wait.hh</label>
<link refid="wait.hh"/>
<childnode refid="28387" relation="include">
</childnode>
</node>
<node id="28413">
<label>gecode/support/dynamic-stack.hpp</label>
<link refid="dynamic-stack_8hpp_source"/>
</node>
<node id="28425">
<label>gecode/kernel/archive.hpp</label>
<link refid="archive_8hpp_source"/>
</node>
<node id="28430">
<label>gecode/kernel/range-list.hpp</label>
<link refid="range-list_8hpp_source"/>
</node>
<node id="28450">
<label>gecode/kernel/brancher-merit.hpp</label>
<link refid="brancher-merit_8hpp_source"/>
</node>
<node id="28393">
<label>gecode/support/config.hpp</label>
<link refid="support_2config_8hpp_source"/>
</node>
<node id="28447">
<label>gecode/kernel/branch-var.hpp</label>
<link refid="branch-var_8hpp_source"/>
</node>
<node id="28423">
<label>gecode/kernel/memory-manager.hpp</label>
<link refid="memory-manager_8hpp_source"/>
</node>
<node id="28412">
<label>gecode/support/dynamic-queue.hpp</label>
<link refid="dynamic-queue_8hpp_source"/>
</node>
<node id="28424">
<label>gecode/kernel/macros.hpp</label>
<link refid="kernel_2macros_8hpp_source"/>
</node>
<node id="28441">
<label>ctime</label>
</node>
<node id="28437">
<label>vector</label>
</node>
<node id="28443">
<label>gecode/kernel/advisor.hpp</label>
<link refid="advisor_8hpp_source"/>
</node>
<node id="28456">
<label>gecode/kernel/brancher-view-val.hpp</label>
<link refid="brancher-view-val_8hpp_source"/>
</node>
<node id="28438">
<label>sstream</label>
</node>
<node id="28453">
<label>gecode/kernel/brancher-val-sel.hpp</label>
<link refid="brancher-val-sel_8hpp_source"/>
</node>
<node id="28442">
<label>gecode/kernel/propagator.hpp</label>
<link refid="kernel_2propagator_8hpp_source"/>
</node>
<node id="28410">
<label>gecode/support/block-allocator.hpp</label>
<link refid="block-allocator_8hpp_source"/>
</node>
<node id="28446">
<label>gecode/kernel/activity.hpp</label>
<link refid="kernel_2activity_8hpp_source"/>
</node>
<node id="28389">
<label>cstdlib</label>
</node>
<node id="28406">
<label>gecode/support/bitset.hpp</label>
<link refid="bitset_8hpp_source"/>
<childnode refid="28404" relation="include">
</childnode>
<childnode refid="28407" relation="include">
</childnode>
</node>
<node id="28394">
<label>gecode/support/auto-link.hpp</label>
<link refid="auto-link_8hpp_source"/>
</node>
<node id="28409">
<label>iostream</label>
</node>
<node id="28421">
<label>gecode/kernel/exception.hpp</label>
<link refid="kernel_2exception_8hpp_source"/>
</node>
<node id="28395">
<label>gecode/support/macros.hpp</label>
<link refid="support_2macros_8hpp_source"/>
</node>
<node id="28433">
<label>gecode/kernel/view.hpp</label>
<link refid="kernel_2view_8hpp_source"/>
</node>
<node id="28448">
<label>gecode/kernel/branch-tiebreak.hpp</label>
<link refid="branch-tiebreak_8hpp_source"/>
</node>
<node id="28388">
<label>cstddef</label>
</node>
<node id="28404">
<label>climits</label>
</node>
<node id="28427">
<label>gecode/kernel/core.hpp</label>
<link refid="core_8hpp_source"/>
<childnode refid="28409" relation="include">
</childnode>
<childnode refid="28428" relation="include">
</childnode>
</node>
<node id="28392">
<label>gecode/support.hh</label>
<link refid="support_8hh_source"/>
<childnode refid="28391" relation="include">
</childnode>
<childnode refid="28393" relation="include">
</childnode>
<childnode refid="28394" relation="include">
</childnode>
<childnode refid="28395" relation="include">
</childnode>
<childnode refid="28396" relation="include">
</childnode>
<childnode refid="28398" relation="include">
</childnode>
<childnode refid="28399" relation="include">
</childnode>
<childnode refid="28400" relation="include">
</childnode>
<childnode refid="28402" relation="include">
</childnode>
<childnode refid="28403" relation="include">
</childnode>
<childnode refid="28405" relation="include">
</childnode>
<childnode refid="28406" relation="include">
</childnode>
<childnode refid="28408" relation="include">
</childnode>
<childnode refid="28410" relation="include">
</childnode>
<childnode refid="28411" relation="include">
</childnode>
<childnode refid="28412" relation="include">
</childnode>
<childnode refid="28413" relation="include">
</childnode>
<childnode refid="28414" relation="include">
</childnode>
<childnode refid="28415" relation="include">
</childnode>
<childnode refid="28416" relation="include">
</childnode>
<childnode refid="28417" relation="include">
</childnode>
<childnode refid="28418" relation="include">
</childnode>
<childnode refid="28419" relation="include">
</childnode>
<childnode refid="28420" relation="include">
</childnode>
</node>
<node id="28411">
<label>gecode/support/dynamic-array.hpp</label>
<link refid="dynamic-array_8hpp_source"/>
<childnode refid="28401" relation="include">
</childnode>
</node>
<node id="28415">
<label>gecode/support/sort.hpp</label>
<link refid="support_2sort_8hpp_source"/>
<childnode refid="28401" relation="include">
</childnode>
<childnode refid="28404" relation="include">
</childnode>
</node>
<node id="28440">
<label>gecode/kernel/rnd.hpp</label>
<link refid="rnd_8hpp_source"/>
<childnode refid="28441" relation="include">
</childnode>
</node>
<node id="28401">
<label>algorithm</label>
</node>
<node id="28452">
<label>gecode/kernel/brancher-view.hpp</label>
<link refid="brancher-view_8hpp_source"/>
</node>
<node id="28426">
<label>gecode/kernel/global-afc.hpp</label>
<link refid="global-afc_8hpp_source"/>
<childnode refid="28407" relation="include">
</childnode>
</node>
<node id="28390">
<label>cstring</label>
</node>
<node id="28408">
<label>gecode/support/bitset-offset.hpp</label>
<link refid="bitset-offset_8hpp_source"/>
<childnode refid="28404" relation="include">
</childnode>
<childnode refid="28407" relation="include">
</childnode>
<childnode refid="28409" relation="include">
</childnode>
</node>
<node id="28400">
<label>gecode/support/heap.hpp</label>
<link refid="heap_8hpp_source"/>
<childnode refid="28390" relation="include">
</childnode>
<childnode refid="28389" relation="include">
</childnode>
<childnode refid="28401" relation="include">
</childnode>
</node>
</incdepgraph>
<innerclass refid="classGecode_1_1Kernel_1_1UnaryWait" prot="public">Gecode::Kernel::UnaryWait</innerclass>
<innerclass refid="classGecode_1_1Kernel_1_1NaryWait" prot="public">Gecode::Kernel::NaryWait</innerclass>
<innernamespace refid="namespaceGecode">Gecode</innernamespace>
<innernamespace refid="namespaceGecode_1_1Kernel">Gecode::Kernel</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-04<sp/>17:03:13<sp/>+0200<sp/>(Thu,<sp/>04<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/>13801<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_KERNEL_WAIT_HH__</highlight></codeline>
<codeline lineno="39"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>__GECODE_KERNEL_WAIT_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/kernel.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">Kernel<sp/>{</highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight></codeline>
<codeline lineno="51"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="52" refid="classGecode_1_1Kernel_1_1UnaryWait" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Kernel_1_1UnaryWait" kindref="compound">UnaryWait</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref><sp/>{</highlight></codeline>
<codeline lineno="53"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="55" refid="classGecode_1_1Kernel_1_1UnaryWait_1ab1c1b80d19bb42743e62b1e0ea89b22d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>View<sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1ab1c1b80d19bb42743e62b1e0ea89b22d" kindref="member">x</ref>;</highlight></codeline>
<codeline lineno="57" refid="classGecode_1_1Kernel_1_1UnaryWait_1acd8d0e98e7c2e55777d6eae9f7111bf5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>void<sp/>(*<ref refid="classGecode_1_1Kernel_1_1UnaryWait_1acd8d0e98e7c2e55777d6eae9f7111bf5" kindref="member">c</ref>)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;);</highlight></codeline>
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1a9f9422aa4583d73b48a660756d5e4acb" kindref="member">UnaryWait</ref>(<ref refid="classGecode_1_1Home" kindref="compound">Home</ref><sp/>home,<sp/>View<sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1ab1c1b80d19bb42743e62b1e0ea89b22d" kindref="member">x</ref>,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>(*c0)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;));</highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1a9f9422aa4583d73b48a660756d5e4acb" kindref="member">UnaryWait</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a5430dfdb1866d9506626cb0e838f0e66" kindref="member">shared</ref>,<sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait" kindref="compound">UnaryWait</ref>&amp;<sp/>p);</highlight></codeline>
<codeline lineno="62"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Actor" kindref="compound">Actor</ref>*<sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1a48ee02bebe066c5da1fa55a38f7307d9" kindref="member">copy</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share);</highlight></codeline>
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PropCost" kindref="compound">PropCost</ref><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1ad7ad38b06525a1982567a8d8ca7c4972" kindref="member">cost</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a129e41c1d037528010d7b6706495a560" kindref="member">ModEventDelta</ref>&amp;<sp/><ref refid="classGecode_1_1Propagator_1ae9dfa55e47e4ff8e0c8e4c2a6efdbfc0" kindref="member">med</ref>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5" kindref="member">ExecStatus</ref><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1ae30d8bfa13b96ba2df5ee8ceaeefe89f" kindref="member">propagate</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a129e41c1d037528010d7b6706495a560" kindref="member">ModEventDelta</ref>&amp;<sp/><ref refid="classGecode_1_1Propagator_1ae9dfa55e47e4ff8e0c8e4c2a6efdbfc0" kindref="member">med</ref>);</highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5" kindref="member">ExecStatus</ref><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1aa08a8b69fe59238b5f587651ab75d28f" kindref="member">post</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/>View<sp/>x,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>(*<ref refid="classGecode_1_1Kernel_1_1UnaryWait_1acd8d0e98e7c2e55777d6eae9f7111bf5" kindref="member">c</ref>)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;));</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1a0ff51ad5e1e66e0563240e94407709dd" kindref="member">dispose</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home);</highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="74"><highlight class="normal"></highlight></codeline>
<codeline lineno="81"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="82" refid="classGecode_1_1Kernel_1_1NaryWait" refkind="compound"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classGecode_1_1Kernel_1_1NaryWait" kindref="compound">NaryWait</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref><sp/>{</highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="85" refid="classGecode_1_1Kernel_1_1NaryWait_1ae9d26ee7fbd54084bff91a41fdff3f63" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1ae9d26ee7fbd54084bff91a41fdff3f63" kindref="member">x</ref>;</highlight></codeline>
<codeline lineno="87" refid="classGecode_1_1Kernel_1_1NaryWait_1ae16fe221a6d6f28b55e21d61be8a7a6b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>void<sp/>(*<ref refid="classGecode_1_1Kernel_1_1NaryWait_1ae16fe221a6d6f28b55e21d61be8a7a6b" kindref="member">c</ref>)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;);</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1ae3ba695e0d894323b8ae03b92ee3be67" kindref="member">NaryWait</ref>(<ref refid="classGecode_1_1Home" kindref="compound">Home</ref><sp/>home,<sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>(*c0)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;));</highlight></codeline>
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1ae3ba695e0d894323b8ae03b92ee3be67" kindref="member">NaryWait</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a5430dfdb1866d9506626cb0e838f0e66" kindref="member">shared</ref>,<sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait" kindref="compound">NaryWait</ref>&amp;<sp/>p);</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Actor" kindref="compound">Actor</ref>*<sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1a4227f4f37996e0e03e2bb6feedd2bf77" kindref="member">copy</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share);</highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PropCost" kindref="compound">PropCost</ref><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1ab9c7a8fe7239ac3c0562966a70723367" kindref="member">cost</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a129e41c1d037528010d7b6706495a560" kindref="member">ModEventDelta</ref>&amp;<sp/><ref refid="classGecode_1_1Propagator_1ae9dfa55e47e4ff8e0c8e4c2a6efdbfc0" kindref="member">med</ref>)<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="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5" kindref="member">ExecStatus</ref><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1aa11c8f31fcc9a7b78c785b9574f0e0f1" kindref="member">propagate</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a129e41c1d037528010d7b6706495a560" kindref="member">ModEventDelta</ref>&amp;<sp/><ref refid="classGecode_1_1Propagator_1ae9dfa55e47e4ff8e0c8e4c2a6efdbfc0" kindref="member">med</ref>);</highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5" kindref="member">ExecStatus</ref><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1a44ced9f161347df199d0a8476adae251" kindref="member">post</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>(*<ref refid="classGecode_1_1Kernel_1_1NaryWait_1ae16fe221a6d6f28b55e21d61be8a7a6b" kindref="member">c</ref>)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;));</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1a46e9596d08845e8e676547141eece0a6" kindref="member">dispose</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home);</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"></highlight></codeline>
<codeline lineno="106"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="107"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Wait<sp/>propagator<sp/>for<sp/>single<sp/>view</highlight></codeline>
<codeline lineno="108"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="109"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="110"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="112" refid="classGecode_1_1Kernel_1_1UnaryWait_1a9f9422aa4583d73b48a660756d5e4acb" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1a9f9422aa4583d73b48a660756d5e4acb" kindref="member">UnaryWait&lt;View&gt;::UnaryWait</ref>(<ref refid="classGecode_1_1Home" kindref="compound">Home</ref><sp/>home,<sp/>View<sp/>x0,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>(*c0)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;))</highlight></codeline>
<codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>(home),<sp/>x(x0),<sp/>c(c0)<sp/>{</highlight></codeline>
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/>x.<ref refid="classGecode_1_1ViewArray_1aa19fdfd766538312ff91e49735abec86" kindref="member">subscribe</ref>(home,*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,<ref refid="group__TaskVarMEPC_1ga2e782baaa2ef69ccd53b88e04d5510fb" kindref="member">PC_GEN_ASSIGNED</ref>);</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="118" refid="classGecode_1_1Kernel_1_1UnaryWait_1a8292ea448547dcdab1b6c770763e715a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1a9f9422aa4583d73b48a660756d5e4acb" kindref="member">UnaryWait&lt;View&gt;::UnaryWait</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a5430dfdb1866d9506626cb0e838f0e66" kindref="member">shared</ref>,<sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait" kindref="compound">UnaryWait</ref>&amp;<sp/>p)<sp/></highlight></codeline>
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>(home,shared,p),<sp/>c(p.c)<sp/>{</highlight></codeline>
<codeline lineno="120"><highlight class="normal"><sp/><sp/><sp/><sp/>x.<ref refid="classGecode_1_1ViewArray_1afe55a31688f656ab0b114f2342e9e313" kindref="member">update</ref>(home,shared,p.<ref refid="classGecode_1_1Kernel_1_1UnaryWait_1ab1c1b80d19bb42743e62b1e0ea89b22d" kindref="member">x</ref>);</highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="122"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Actor" kindref="compound">Actor</ref>*<sp/></highlight></codeline>
<codeline lineno="124" refid="classGecode_1_1Kernel_1_1UnaryWait_1a48ee02bebe066c5da1fa55a38f7307d9" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1a48ee02bebe066c5da1fa55a38f7307d9" kindref="member">UnaryWait&lt;View&gt;::copy</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share)<sp/>{</highlight></codeline>
<codeline lineno="125"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait" kindref="compound">UnaryWait&lt;View&gt;</ref>(home,share,*</highlight><highlight class="keyword">this</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="126"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="127"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="128"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PropCost" kindref="compound">PropCost</ref><sp/></highlight></codeline>
<codeline lineno="129" refid="classGecode_1_1Kernel_1_1UnaryWait_1ad7ad38b06525a1982567a8d8ca7c4972" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1ad7ad38b06525a1982567a8d8ca7c4972" kindref="member">UnaryWait&lt;View&gt;::cost</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a129e41c1d037528010d7b6706495a560" kindref="member">ModEventDelta</ref>&amp;)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="130"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PropCost_1a6c01ce3c391f293ce6a8b27294d7ee0c" kindref="member">PropCost::unary</ref>(<ref refid="classGecode_1_1PropCost_1ad1bebae59ea373495c5bf51ffc249dcda29f70a7d7f550f3822568ddce422d861" kindref="member">PropCost::LO</ref>);</highlight></codeline>
<codeline lineno="131"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="132"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5" kindref="member">ExecStatus</ref><sp/></highlight></codeline>
<codeline lineno="134" refid="classGecode_1_1Kernel_1_1UnaryWait_1ae30d8bfa13b96ba2df5ee8ceaeefe89f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1ae30d8bfa13b96ba2df5ee8ceaeefe89f" kindref="member">UnaryWait&lt;View&gt;::propagate</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a129e41c1d037528010d7b6706495a560" kindref="member">ModEventDelta</ref>&amp;)<sp/>{</highlight></codeline>
<codeline lineno="135"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(x.<ref refid="classGecode_1_1ViewArray_1a9dceff4606ddbbec9ddb0c948781a6bb" kindref="member">assigned</ref>());</highlight></codeline>
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/>c(home);</highlight></codeline>
<codeline lineno="137"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>home.<ref refid="classGecode_1_1Space_1a9e1ab1eb6a0da74bd4ddc85e347af44a" kindref="member">failed</ref>()<sp/>?<sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a839b40c2e7ccebb2e61e92e274833089" kindref="member">ES_FAILED</ref><sp/>:<sp/>home.<ref refid="group__TaskActorStatus_1gafc19cbf71ed90a9e0b414b875103f4c7" kindref="member">ES_SUBSUMED</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="139"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="140"><highlight class="normal"><sp/><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5" kindref="member">ExecStatus</ref><sp/></highlight></codeline>
<codeline lineno="141" refid="classGecode_1_1Kernel_1_1UnaryWait_1aa08a8b69fe59238b5f587651ab75d28f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1aa08a8b69fe59238b5f587651ab75d28f" kindref="member">UnaryWait&lt;View&gt;::post</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/>View<sp/>x,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>(*c)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;))<sp/>{</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.assigned())<sp/>{</highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>c(home);</highlight></codeline>
<codeline lineno="144"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>home.<ref refid="classGecode_1_1Space_1a9e1ab1eb6a0da74bd4ddc85e347af44a" kindref="member">failed</ref>()<sp/>?<sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a839b40c2e7ccebb2e61e92e274833089" kindref="member">ES_FAILED</ref><sp/>:<sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a01d6fb1ec70479e8e413d5ecfd63e303" kindref="member">ES_OK</ref>;</highlight></codeline>
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>(void)<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait" kindref="compound">UnaryWait&lt;View&gt;</ref>(home,x,c);</highlight></codeline>
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a01d6fb1ec70479e8e413d5ecfd63e303" kindref="member">ES_OK</ref>;</highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="149"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="150"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/></highlight></codeline>
<codeline lineno="152" refid="classGecode_1_1Kernel_1_1UnaryWait_1a0ff51ad5e1e66e0563240e94407709dd" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1a0ff51ad5e1e66e0563240e94407709dd" kindref="member">UnaryWait&lt;View&gt;::dispose</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home)<sp/>{</highlight></codeline>
<codeline lineno="153"><highlight class="normal"><sp/><sp/><sp/><sp/>x.cancel(home,*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,<ref refid="group__TaskVarMEPC_1ga2e782baaa2ef69ccd53b88e04d5510fb" kindref="member">PC_GEN_ASSIGNED</ref>);</highlight></codeline>
<codeline lineno="154"><highlight class="normal"><sp/><sp/><sp/><sp/>(void)<sp/><ref refid="classGecode_1_1Actor_1a143253b3eceda40f36834e38c8ac05d9" kindref="member">Propagator::dispose</ref>(home);</highlight></codeline>
<codeline lineno="155"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(*this);</highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="157"><highlight class="normal"></highlight></codeline>
<codeline lineno="158"><highlight class="normal"></highlight></codeline>
<codeline lineno="159"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="160"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Wait<sp/>propagator<sp/>for<sp/>several<sp/>views</highlight></codeline>
<codeline lineno="161"><highlight class="comment"><sp/><sp/><sp/>*</highlight></codeline>
<codeline lineno="162"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="163"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="165" refid="classGecode_1_1Kernel_1_1NaryWait_1ae3ba695e0d894323b8ae03b92ee3be67" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1ae3ba695e0d894323b8ae03b92ee3be67" kindref="member">NaryWait&lt;View&gt;::NaryWait</ref>(<ref refid="classGecode_1_1Home" kindref="compound">Home</ref><sp/>home,<sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>x0,<sp/></highlight></codeline>
<codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>(*c0)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;))</highlight></codeline>
<codeline lineno="167"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>(home),<sp/>x(x0),<sp/>c(c0)<sp/>{</highlight></codeline>
<codeline lineno="168"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(!x[0].assigned());</highlight></codeline>
<codeline lineno="169"><highlight class="normal"><sp/><sp/><sp/><sp/>x[0].subscribe(home,*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,<ref refid="group__TaskVarMEPC_1ga2e782baaa2ef69ccd53b88e04d5510fb" kindref="member">PC_GEN_ASSIGNED</ref>);</highlight></codeline>
<codeline lineno="170"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="171"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="172"><highlight class="normal"><sp/><sp/>forceinline</highlight></codeline>
<codeline lineno="173" refid="classGecode_1_1Kernel_1_1NaryWait_1a091b71744061cbc8561e5016fb5e82f5" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1ae3ba695e0d894323b8ae03b92ee3be67" kindref="member">NaryWait&lt;View&gt;::NaryWait</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a5430dfdb1866d9506626cb0e838f0e66" kindref="member">shared</ref>,<sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait" kindref="compound">NaryWait</ref>&amp;<sp/>p)<sp/></highlight></codeline>
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/>:<sp/><ref refid="classGecode_1_1Propagator" kindref="compound">Propagator</ref>(home,shared,p),<sp/>c(p.c)<sp/>{</highlight></codeline>
<codeline lineno="175"><highlight class="normal"><sp/><sp/><sp/><sp/>x.update(home,shared,p.<ref refid="classGecode_1_1Kernel_1_1NaryWait_1ae9d26ee7fbd54084bff91a41fdff3f63" kindref="member">x</ref>);</highlight></codeline>
<codeline lineno="176"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="177"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="178"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Actor" kindref="compound">Actor</ref>*<sp/></highlight></codeline>
<codeline lineno="179" refid="classGecode_1_1Kernel_1_1NaryWait_1a4227f4f37996e0e03e2bb6feedd2bf77" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1a4227f4f37996e0e03e2bb6feedd2bf77" kindref="member">NaryWait&lt;View&gt;::copy</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>share)<sp/>{</highlight></codeline>
<codeline lineno="180"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(!x[0].assigned());</highlight></codeline>
<codeline lineno="181"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.size()-1;<sp/>i&gt;0;<sp/>i--)</highlight></codeline>
<codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x[i].assigned())</highlight></codeline>
<codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x.move_lst(i);</highlight></codeline>
<codeline lineno="184"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(x.size()<sp/>&gt;<sp/>0);</highlight></codeline>
<codeline lineno="185"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait" kindref="compound">NaryWait&lt;View&gt;</ref>(home,share,*</highlight><highlight class="keyword">this</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="186"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="187"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="188"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1PropCost" kindref="compound">PropCost</ref><sp/></highlight></codeline>
<codeline lineno="189" refid="classGecode_1_1Kernel_1_1NaryWait_1ab9c7a8fe7239ac3c0562966a70723367" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1ab9c7a8fe7239ac3c0562966a70723367" kindref="member">NaryWait&lt;View&gt;::cost</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a129e41c1d037528010d7b6706495a560" kindref="member">ModEventDelta</ref>&amp;)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
<codeline lineno="190"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1PropCost_1a6c01ce3c391f293ce6a8b27294d7ee0c" kindref="member">PropCost::unary</ref>(<ref refid="classGecode_1_1PropCost_1ad1bebae59ea373495c5bf51ffc249dcdada52d4d3b08e9888c5063df5140e12e2" kindref="member">PropCost::HI</ref>);</highlight></codeline>
<codeline lineno="191"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="192"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="193"><highlight class="normal"><sp/><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5" kindref="member">ExecStatus</ref><sp/></highlight></codeline>
<codeline lineno="194" refid="classGecode_1_1Kernel_1_1NaryWait_1aa11c8f31fcc9a7b78c785b9574f0e0f1" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1aa11c8f31fcc9a7b78c785b9574f0e0f1" kindref="member">NaryWait&lt;View&gt;::propagate</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1a129e41c1d037528010d7b6706495a560" kindref="member">ModEventDelta</ref>&amp;<sp/>)<sp/>{</highlight></codeline>
<codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(x[0].assigned());</highlight></codeline>
<codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.size()-1;<sp/>i&gt;0;<sp/>i--)</highlight></codeline>
<codeline lineno="197"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x[i].assigned())</highlight></codeline>
<codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x.move_lst(i);</highlight></codeline>
<codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/>assert(x.size()<sp/>&gt;<sp/>0);</highlight></codeline>
<codeline lineno="200"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.size()<sp/>==<sp/>1)<sp/>{</highlight></codeline>
<codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x.size(0);</highlight></codeline>
<codeline lineno="202"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>c(home);</highlight></codeline>
<codeline lineno="203"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>home.<ref refid="classGecode_1_1Space_1a9e1ab1eb6a0da74bd4ddc85e347af44a" kindref="member">failed</ref>()<sp/>?<sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a839b40c2e7ccebb2e61e92e274833089" kindref="member">ES_FAILED</ref><sp/>:<sp/>home.<ref refid="group__TaskActorStatus_1gafc19cbf71ed90a9e0b414b875103f4c7" kindref="member">ES_SUBSUMED</ref>(*</highlight><highlight class="keyword">this</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="205"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Create<sp/>new<sp/>subscription</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="206"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x.move_lst(0);</highlight></codeline>
<codeline lineno="207"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>assert(!x[0].assigned());</highlight></codeline>
<codeline lineno="208"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[0].subscribe(home,*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,<ref refid="group__TaskVarMEPC_1ga2e782baaa2ef69ccd53b88e04d5510fb" kindref="member">PC_GEN_ASSIGNED</ref>,</highlight><highlight class="keyword">false</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="209"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a01d6fb1ec70479e8e413d5ecfd63e303" kindref="member">ES_OK</ref>;</highlight></codeline>
<codeline lineno="210"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="211"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="212"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="213"><highlight class="normal"><sp/><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5" kindref="member">ExecStatus</ref><sp/></highlight></codeline>
<codeline lineno="214" refid="classGecode_1_1Kernel_1_1NaryWait_1a44ced9f161347df199d0a8476adae251" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1a44ced9f161347df199d0a8476adae251" kindref="member">NaryWait&lt;View&gt;::post</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home,<sp/><ref refid="classGecode_1_1ViewArray" kindref="compound">ViewArray&lt;View&gt;</ref>&amp;<sp/>x,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>(*c)(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;))<sp/>{</highlight></codeline>
<codeline lineno="215"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=x.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>();<sp/>i--;<sp/>)</highlight></codeline>
<codeline lineno="216"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x[i].assigned())</highlight></codeline>
<codeline lineno="217"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x.<ref refid="classGecode_1_1ViewArray_1a9c230669060fb3a42b73915db078f77e" kindref="member">move_lst</ref>(i);</highlight></codeline>
<codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>()<sp/>==<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="219"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>c(home);</highlight></codeline>
<codeline lineno="220"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>home.<ref refid="classGecode_1_1Space_1a9e1ab1eb6a0da74bd4ddc85e347af44a" kindref="member">failed</ref>()<sp/>?<sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a839b40c2e7ccebb2e61e92e274833089" kindref="member">ES_FAILED</ref><sp/>:<sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a01d6fb1ec70479e8e413d5ecfd63e303" kindref="member">ES_OK</ref>;</highlight></codeline>
<codeline lineno="221"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="222"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x.<ref refid="classGecode_1_1ViewArray_1a76e383bb302d106fbbec6fcbe4901a4e" kindref="member">unique</ref>(home);</highlight></codeline>
<codeline lineno="223"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>()<sp/>==<sp/>1)<sp/>{</highlight></codeline>
<codeline lineno="224"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classGecode_1_1Kernel_1_1UnaryWait_1aa08a8b69fe59238b5f587651ab75d28f" kindref="member">UnaryWait&lt;View&gt;::post</ref>(home,x[0],c);</highlight></codeline>
<codeline lineno="225"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="226"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(void)<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>(home)<sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait" kindref="compound">NaryWait&lt;View&gt;</ref>(home,x,c);</highlight></codeline>
<codeline lineno="227"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceGecode_1ab278aee34126d2f13c5429ee3c4ed3b5a01d6fb1ec70479e8e413d5ecfd63e303" kindref="member">ES_OK</ref>;</highlight></codeline>
<codeline lineno="228"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="229"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="230"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="231"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal">&lt;</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>View&gt;</highlight></codeline>
<codeline lineno="232"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/></highlight></codeline>
<codeline lineno="233" refid="classGecode_1_1Kernel_1_1NaryWait_1a46e9596d08845e8e676547141eece0a6" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGecode_1_1Kernel_1_1NaryWait_1a46e9596d08845e8e676547141eece0a6" kindref="member">NaryWait&lt;View&gt;::dispose</ref>(<ref refid="classGecode_1_1Space" kindref="compound">Space</ref>&amp;<sp/>home)<sp/>{</highlight></codeline>
<codeline lineno="234"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(x.<ref refid="classGecode_1_1ViewArray_1a65940b23e2457e97607475f8bd8f4ac6" kindref="member">size</ref>()<sp/>&gt;<sp/>0)<sp/></highlight></codeline>
<codeline lineno="235"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>x[0].cancel(home,*</highlight><highlight class="keyword">this</highlight><highlight class="normal">,<ref refid="group__TaskVarMEPC_1ga2e782baaa2ef69ccd53b88e04d5510fb" kindref="member">PC_GEN_ASSIGNED</ref>);</highlight></codeline>
<codeline lineno="236"><highlight class="normal"><sp/><sp/><sp/><sp/>(void)<sp/><ref refid="classGecode_1_1Actor_1a143253b3eceda40f36834e38c8ac05d9" kindref="member">Propagator::dispose</ref>(home);</highlight></codeline>
<codeline lineno="237"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(*this);</highlight></codeline>
<codeline lineno="238"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="239"><highlight class="normal"></highlight></codeline>
<codeline lineno="240"><highlight class="normal">}}</highlight></codeline>
<codeline lineno="241"><highlight class="normal"></highlight></codeline>
<codeline lineno="242"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="243"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="244"><highlight class="normal"></highlight><highlight class="comment">//<sp/>STATISTICS:<sp/>kernel-prop</highlight><highlight class="normal"></highlight></codeline>
</programlisting>
<location file="/usr/include/gecode/kernel/wait.hh"/>
</compounddef>
</doxygen>