Generated on Thu Jan 20 2022 00:00:00 for Gecode by doxygen 1.9.1
function.cpp File Reference
#include <gecode/kernel.hh>

Go to the source code of this file.

Classes

class  Gecode::Kernel::FunctionBranch
 Brancher for calling a function More...
 
class  Gecode::Kernel::FunctionBranch::Description
 Minimal brancher description storing no information. More...
 

Namespaces

 Gecode::Kernel
 Kernel functionality
 

Functions

void Gecode::branch (Home home, std::function< void(Space &home)> f)
 Call the function f (with the current space as argument) for branching. More...
 

Function Documentation

◆ branch()

void Gecode::branch ( Home  home,
std::function< void(Space &home)>  f 
)

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

Definition at line 147 of file function.cpp.