Conditional propagator.
More...
#include <exec.hh>
Protected Member Functions |
| | When (Space &home, bool share, When &p) |
| | Constructor for cloning p.
|
| | When (Home home, BoolView x, void(*t0)(Space &), void(*e0)(Space &)) |
| | Constructor for creation.
|
| | UnaryPropagator (Space &home, bool share, UnaryPropagator &p) |
| | Constructor for cloning p.
|
| | UnaryPropagator (Space &home, bool share, Propagator &p, BoolViewx0) |
| | Constructor for rewriting p during cloning.
|
| | UnaryPropagator (Home home, BoolViewx0) |
| | Constructor for creation.
|
| | Propagator (Home home) |
| | Constructor for posting.
|
| | Propagator (Space &home, bool share, Propagator &p) |
| | Constructor for cloning p.
|
Protected Attributes |
| void(* | t )(Space &) |
| | Then function pointer.
|
| void(* | e )(Space &) |
| | Else function pointer.
|
| BoolView | x0 |
| | Single view.
|
Detailed Description
Conditional propagator.
Requires
Definition at line 56 of file exec.hh.
Constructor & Destructor Documentation
| Gecode::Int::Exec::When::When |
( |
Space & |
home, |
|
|
bool |
share, |
|
|
When & |
p |
|
) |
| |
|
inlineprotected |
Constructor for cloning p.
Definition at line 45 of file when.hpp.
Constructor for creation.
Definition at line 41 of file when.hpp.
Member Function Documentation
| Actor * Gecode::Int::Exec::When::copy |
( |
Space & |
home, |
|
|
bool |
share |
|
) |
| |
|
virtual |
Post propagator.
Definition at line 43 of file when.cpp.
Member Data Documentation
| void(* Gecode::Int::Exec::When::t)(Space &) |
|
protected |
Then function pointer.
Definition at line 60 of file exec.hh.
| void(* Gecode::Int::Exec::When::e)(Space &) |
|
protected |
Else function pointer.
Definition at line 62 of file exec.hh.
The documentation for this class was generated from the following files: