Generated on Mon Jul 6 18:09:24 2009 for Gecode by doxygen 1.5.9

Branch with a function
[Generic branching support]


Functions

void Gecode::branch (Space &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 branching has finished.

Function Documentation

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

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

Definition at line 105 of file branch.cpp.