35 lines
1.7 KiB
XML
35 lines
1.7 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="group__TaskModelBranchExec" kind="group">
|
|
<compoundname>TaskModelBranchExec</compoundname>
|
|
<title>Branch with a function</title>
|
|
<sectiondef kind="func">
|
|
<memberdef kind="function" id="group__TaskModelBranchExec_1ga2ec611eebdbabb3ae1f6a7e89f10f036" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
<type>GECODE_KERNEL_EXPORT void</type>
|
|
<definition>GECODE_KERNEL_EXPORT void Gecode::branch</definition>
|
|
<argsstring>(Home home, void(*f)(Space &home))</argsstring>
|
|
<name>branch</name>
|
|
<param>
|
|
<type>Home</type>
|
|
<declname>home</declname>
|
|
</param>
|
|
<param>
|
|
<type>void(*)(Space &home)</type>
|
|
<declname>f</declname>
|
|
</param>
|
|
<briefdescription>
|
|
<para>Call the function <emphasis>f</emphasis> (with the current space as argument) for branching. </para> </briefdescription>
|
|
<detaileddescription>
|
|
</detaileddescription>
|
|
<inbodydescription>
|
|
</inbodydescription>
|
|
<location file="/usr/include/gecode/kernel.hh" line="201" column="1"/>
|
|
</memberdef>
|
|
</sectiondef>
|
|
<briefdescription>
|
|
</briefdescription>
|
|
<detaileddescription>
|
|
<para>This does not really branch (it just offers a single alternative) but executes a single function during branching. A typical application is to post more constraints after another brancher has finished. </para> </detaileddescription>
|
|
</compounddef>
|
|
</doxygen>
|