Generated on Sat Sep 13 2014 13:25:04 for Gecode by doxygen 1.8.7
Gecode::Home Class Reference

Home class for posting propagators More...

#include <core.hpp>

Protected Attributes

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

Conversion

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

Extended information

Home operator() (Propagator &p)
 Return a home extended by propagator to be rewritten. More...
 
Propagatorpropagator (void) const
 Return propagator (or NULL) for currently rewritten propagator. More...
 

Forwarding of common space operations

bool failed (void) const
 Check whether corresponding space is failed. More...
 
void fail (void)
 Mark space as failed. More...
 
void notice (Actor &a, ActorProperty p, bool duplicate=false)
 Notice actor property. More...
 

Detailed Description

Home class for posting propagators

Definition at line 717 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 2810 of file core.hpp.

Member Function Documentation

Home & Gecode::Home::operator= ( const Home h)
inline

Assignment operator.

Definition at line 2812 of file core.hpp.

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

Retrieve the space of the home.

Definition at line 2817 of file core.hpp.

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

Return a home extended by propagator to be rewritten.

Definition at line 2821 of file core.hpp.

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

Return propagator (or NULL) for currently rewritten propagator.

Definition at line 2829 of file core.hpp.

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

Check whether corresponding space is failed.

Definition at line 3369 of file core.hpp.

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

Mark space as failed.

Definition at line 3360 of file core.hpp.

void Gecode::Home::notice ( Actor a,
ActorProperty  p,
bool  duplicate = false 
)
inline

Notice actor property.

Definition at line 2772 of file core.hpp.

Member Data Documentation

Space& Gecode::Home::s
protected

The space where the propagator is to be posted.

Definition at line 720 of file core.hpp.

Propagator* Gecode::Home::p
protected

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: