Generated on Sat Feb 12 2011 17:41:10 for Gecode by doxygen 1.7.3

Synchronized execution

Functions

build buildd gecode gecode int
exec cpp void 
Gecode::wait (Home home, IntVar x, void(*c)(Space &home), IntConLevel icl=ICL_DEF)
 Execute c when x becomes assigned.
void Gecode::wait (Home home, BoolVar x, void(*c)(Space &home), IntConLevel icl=ICL_DEF)
 Execute c when x becomes assigned.
void Gecode::wait (Home home, const IntVarArgs &x, void(*c)(Space &home), IntConLevel icl=ICL_DEF)
 Execute c when all variables in x become assigned.
void Gecode::wait (Home home, const BoolVarArgs &x, void(*c)(Space &home), IntConLevel icl=ICL_DEF)
 Execute c when all variables in x become assigned.
void Gecode::when (Home home, BoolVar x, void(*t)(Space &home), void(*e)(Space &home)=NULL, IntConLevel icl=ICL_DEF)
 Execute t (then) when x is assigned one, and e (else) otherwise.

Detailed Description

Synchronized execution executes a function or a static member function when a certain event happends.


Function Documentation

void Gecode::wait ( Home  home,
IntVar  x,
void(*)(Space &home)  c,
IntConLevel   
)

Execute c when x becomes assigned.

Definition at line 45 of file exec.cpp.

void Gecode::wait ( Home  home,
BoolVar  x,
void(*)(Space &home)  c,
IntConLevel   
)

Execute c when x becomes assigned.

Definition at line 52 of file exec.cpp.

void Gecode::wait ( Home  home,
const IntVarArgs &  x,
void(*)(Space &home)  c,
IntConLevel   
)

Execute c when all variables in x become assigned.

Definition at line 59 of file exec.cpp.

void Gecode::wait ( Home  home,
const BoolVarArgs &  x,
void(*)(Space &home)  c,
IntConLevel   
)

Execute c when all variables in x become assigned.

Definition at line 67 of file exec.cpp.

void Gecode::when ( Home  home,
BoolVar  x,
void(*)(Space &home)  t,
void(*)(Space &home)  e,
IntConLevel   
)

Execute t (then) when x is assigned one, and e (else) otherwise.

Definition at line 75 of file exec.cpp.