Gecode::Home Class Reference
Home class for posting propagators
More...
#include <core.hpp>
List of all members.
Protected Attributes |
Space & | s |
| The space where the propagator is to be posted.
|
Propagator * | p |
| A propagator (possibly) that is currently being rewritten.
|
Conversion |
|
| Home (Space &s, Propagator *p=NULL) |
| Initialize the home with space s and propagator p.
|
Home & | operator= (const Home &h) |
| Assignment operator.
|
| operator Space & (void) |
| Retrieve the space of the home.
|
Extended information |
|
Home | operator() (Propagator &p) |
| Return a home extended by propagator to be rewritten.
|
Propagator * | propagator (void) const |
| Return propagator (or NULL) for currently rewritten propagator.
|
Forwarding of common space operations |
|
bool | failed (void) const |
| Check whether corresponding space is failed.
|
void | fail (void) |
| Mark space as failed.
|
void | notice (Actor &a, ActorProperty p, bool duplicate=false) |
| Notice actor property.
|
Detailed Description
Home class for posting propagators
Definition at line 717 of file core.hpp.
Constructor & Destructor Documentation
Initialize the home with space s and propagator p.
Definition at line 2887 of file core.hpp.
Member Function Documentation
Home & Gecode::Home::operator= |
( |
const Home & |
h |
) |
[inline] |
Assignment operator.
Definition at line 2889 of file core.hpp.
Gecode::Home::operator Space & |
( |
void |
|
) |
[inline] |
Retrieve the space of the home.
Definition at line 2894 of file core.hpp.
Return a home extended by propagator to be rewritten.
Definition at line 2898 of file core.hpp.
Propagator * Gecode::Home::propagator |
( |
void |
|
) |
const [inline] |
Return propagator (or NULL) for currently rewritten propagator.
Definition at line 2906 of file core.hpp.
bool Gecode::Home::failed |
( |
void |
|
) |
const [inline] |
Check whether corresponding space is failed.
Definition at line 3446 of file core.hpp.
void Gecode::Home::fail |
( |
void |
|
) |
[inline] |
Mark space as failed.
Definition at line 3437 of file core.hpp.
Notice actor property.
Definition at line 2849 of file core.hpp.
Member Data Documentation
The space where the propagator is to be posted.
Definition at line 720 of file core.hpp.
A propagator (possibly) that is currently being rewritten.
Definition at line 722 of file core.hpp.
The documentation for this class was generated from the following file: