Generated on Fri Mar 20 15:56:35 2015 for Gecode by doxygen 1.6.3

Branch with a function
[Generic branching support]

Functions

BrancherHandle Gecode::branch (Home home, void(*f)(Space &home))
 Call the function f (with the current space as argument) for branching.

Detailed Description

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.


Function Documentation

BrancherHandle Gecode::branch ( Home  home,
void(*)(Space &home)  f 
)

Call the function f (with the current space as argument) for branching.