Generated on Tue Sep 25 2012 20:53:26 for Gecode by doxygen 1.7.5
Gecode::NaryPropagator Class Reference

n-ary propagator More...

#include <propagator.hpp>

List of all members.

Public Member Functions

virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low linear)
virtual size_t dispose (Space &home)
 Delete propagator and return its size.

Protected Member Functions

 NaryPropagator (Space &home, bool share, NaryPropagator &p)
 Constructor for cloning p.
 NaryPropagator (Space &home, bool share, Propagator &p, ViewArray< View > &x)
 Constructor for rewriting p during cloning.
 NaryPropagator (Home home, ViewArray< View > &x)
 Constructor for creation.

Protected Attributes

ViewArray< View > x
 Array of views.

Detailed Description

n-ary propagator

Stores array of views of type View with propagation condition pc.

If the propagation condition pc has the value PC_GEN_NONE, no subscriptions are created.


Constructor & Destructor Documentation

Gecode::NaryPropagator::NaryPropagator ( Space home,
bool  share,
NaryPropagator p 
) [protected]

Constructor for cloning p.

Gecode::NaryPropagator::NaryPropagator ( Space home,
bool  share,
Propagator p,
ViewArray< View > &  x 
) [inline, protected]

Constructor for rewriting p during cloning.

Definition at line 461 of file propagator.hpp.

Gecode::NaryPropagator::NaryPropagator ( Home  home,
ViewArray< View > &  x 
) [protected]

Constructor for creation.

Definition at line 444 of file propagator.hpp.


Member Function Documentation

PropCost Gecode::NaryPropagator::cost ( const Space home,
const ModEventDelta med 
) const [virtual]
size_t Gecode::NaryPropagator::dispose ( Space home) [inline, virtual]

Member Data Documentation

Array of views.

Definition at line 146 of file propagator.hpp.


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