Generated on Thu Mar 22 10:39:53 2012 for Gecode by doxygen 1.6.3

Gecode::Home Class Reference

Home class for posting propagators More...

#include <core.hpp>

List of all members.

Protected Attributes

Spaces
 The space where the propagator is to be posted.
Propagatorp
 A propagator (possibly) that is currently being rewritten.

Conversion



 Home (Space &s, Propagator *p=NULL)
 Initialize the home with space s and propagator p.
 operator Space & (void)
 Retrieve the space of the home.

Extended information



Home operator() (Propagator &p)
 Return a home extended by propagator to be rewritten.
Propagatorpropagator (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)
 Notice actor property.

Detailed Description

Home class for posting propagators

Definition at line 713 of file core.hpp.


Constructor & Destructor Documentation

Gecode::Home::Home ( Space s,
Propagator p = NULL 
) [inline]

Initialize the home with space s and propagator p.

Definition at line 2488 of file core.hpp.


Member Function Documentation

Gecode::Home::operator Space & ( void   )  [inline]

Retrieve the space of the home.

Definition at line 2490 of file core.hpp.

Home Gecode::Home::operator() ( Propagator p  )  [inline]

Return a home extended by propagator to be rewritten.

Definition at line 2494 of file core.hpp.

Propagator * Gecode::Home::propagator ( void   )  const [inline]

Return propagator (or NULL) for currently rewritten propagator.

Definition at line 2502 of file core.hpp.

bool Gecode::Home::failed ( void   )  const [inline]

Check whether corresponding space is failed.

Definition at line 2933 of file core.hpp.

void Gecode::Home::fail ( void   )  [inline]

Mark space as failed.

Definition at line 2924 of file core.hpp.

void Gecode::Home::notice ( Actor a,
ActorProperty  p 
) [inline]

Notice actor property.

Definition at line 2442 of file core.hpp.


Member Data Documentation

Space& Gecode::Home::s [protected]

The space where the propagator is to be posted.

Definition at line 716 of file core.hpp.

A propagator (possibly) that is currently being rewritten.

Definition at line 718 of file core.hpp.


The documentation for this class was generated from the following file: