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. | |
| PropagatorGroup | pg |
| A propagator group. | |
| BrancherGroup | bg |
| A brancher group. | |
Conversion | |
|
| |
| Home (Space &s, Propagator *p=NULL, PropagatorGroup pg=PropagatorGroup::def, BrancherGroup bg=BrancherGroup::def) | |
| Initialize the home with space s and propagator p and group g. | |
| 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. | |
| Home | operator() (PropagatorGroup pg) |
| Return a home extended by a propagator group. | |
| Home | operator() (BrancherGroup bg) |
| Return a home extended by a brancher group. | |
| Propagator * | propagator (void) const |
| Return propagator (or NULL) for currently rewritten propagator. | |
| PropagatorGroup | propagatorgroup (void) const |
| Return propagator group. | |
| BrancherGroup | branchergroup (void) const |
| Return brancher group. | |
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 856 of file core.hpp.
Constructor & Destructor Documentation
| Gecode::Home::Home | ( | Space & | s, | |
| Propagator * | p = NULL, |
|||
| PropagatorGroup | pg = PropagatorGroup::def, |
|||
| BrancherGroup | bg = BrancherGroup::def | |||
| ) | [inline] |
Initialize the home with space s and propagator p and group g.
Definition at line 3262 of file core.hpp.
Member Function Documentation
Assignment operator.
Definition at line 3266 of file core.hpp.
| Gecode::Home::operator Space & | ( | void | ) | [inline] |
Retrieve the space of the home.
Definition at line 3271 of file core.hpp.
| Home Gecode::Home::operator() | ( | Propagator & | p | ) | [inline] |
Return a home extended by propagator to be rewritten.
Definition at line 3275 of file core.hpp.
| Home Gecode::Home::operator() | ( | PropagatorGroup | pg | ) | [inline] |
Return a home extended by a propagator group.
Definition at line 3279 of file core.hpp.
| Home Gecode::Home::operator() | ( | BrancherGroup | bg | ) | [inline] |
Return a home extended by a brancher group.
Definition at line 3283 of file core.hpp.
| Propagator * Gecode::Home::propagator | ( | void | ) | const [inline] |
Return propagator (or NULL) for currently rewritten propagator.
Definition at line 3299 of file core.hpp.
| PropagatorGroup Gecode::Home::propagatorgroup | ( | void | ) | const [inline] |
Return propagator group.
Definition at line 3303 of file core.hpp.
| BrancherGroup Gecode::Home::branchergroup | ( | void | ) | const [inline] |
Return brancher group.
Definition at line 3307 of file core.hpp.
| bool Gecode::Home::failed | ( | void | ) | const [inline] |
Check whether corresponding space is failed.
Definition at line 4048 of file core.hpp.
| void Gecode::Home::fail | ( | void | ) | [inline] |
Mark space as failed.
Definition at line 4039 of file core.hpp.
| void Gecode::Home::notice | ( | Actor & | a, | |
| ActorProperty | p, | |||
| bool | duplicate = false | |||
| ) | [inline] |
Notice actor property.
Definition at line 3219 of file core.hpp.
Member Data Documentation
Space& Gecode::Home::s [protected] |
The space where the propagator is to be posted.
Definition at line 860 of file core.hpp.
Propagator* Gecode::Home::p [protected] |
A propagator (possibly) that is currently being rewritten.
Definition at line 862 of file core.hpp.
PropagatorGroup Gecode::Home::pg [protected] |
A propagator group.
Definition at line 864 of file core.hpp.
BrancherGroup Gecode::Home::bg [protected] |
A brancher group.
Definition at line 866 of file core.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/core.hpp
