|
void | Gecode::wait (Home home, IntVar x, std::function< void(Space &home)> c, IntPropLevel ipl=IPL_DEF) |
| Execute c when x becomes assigned. More...
|
|
void | Gecode::wait (Home home, BoolVar x, std::function< void(Space &home)> c, IntPropLevel ipl=IPL_DEF) |
| Execute c when x becomes assigned. More...
|
|
void | Gecode::wait (Home home, const IntVarArgs &x, std::function< void(Space &home)> c, IntPropLevel ipl=IPL_DEF) |
| Execute c when all variables in x become assigned. More...
|
|
void | Gecode::wait (Home home, const BoolVarArgs &x, std::function< void(Space &home)> c, IntPropLevel ipl=IPL_DEF) |
| Execute c when all variables in x become assigned. More...
|
|
void | Gecode::when (Home home, BoolVar x, std::function< void(Space &home)> t, std::function< void(Space &home)> e, IntPropLevel ipl=IPL_DEF) |
| Execute t (then) when x is assigned one, and e (else) otherwise. More...
|
|
void | Gecode::when (Home home, BoolVar x, std::function< void(Space &home)> t, IntPropLevel ipl=IPL_DEF) |
| Execute t (then) when x is assigned one. More...
|
|
Synchronized execution executes a function or a static member function when a certain event happends.
◆ wait() [1/4]
Execute c when x becomes assigned.
Definition at line 43 of file exec.cpp.
◆ wait() [2/4]
Execute c when x becomes assigned.
Definition at line 50 of file exec.cpp.
◆ wait() [3/4]
Execute c when all variables in x become assigned.
Definition at line 57 of file exec.cpp.
◆ wait() [4/4]
Execute c when all variables in x become assigned.
Definition at line 65 of file exec.cpp.
◆ when() [1/2]
Execute t (then) when x is assigned one, and e (else) otherwise.
Definition at line 74 of file exec.cpp.
◆ when() [2/2]
Execute t (then) when x is assigned one.
Definition at line 83 of file exec.cpp.