Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

Gecode::Int::Rel::NaryEqBnd< View > Class Template Reference
[Integer propagators]

#include <rel.hh>

Inherits NaryPropagator< View, PC_INT_BND >.

List of all members.


Detailed Description

template<class View>
class Gecode::Int::Rel::NaryEqBnd< View >

n-ary bounds consistent equality propagator

Requires

 #include "gecode/int/rel.hh" 

Definition at line 194 of file rel.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (ModEventDelta med) const
 Cost function.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator according to specification.
static Support::Symbol ati (void)
 Mangled propagator name.
static ExecStatus post (Space *home, ViewArray< View > &x)
 Post bounds consistent propagator $ x_0 = x_1=\ldots =x_{|x|-1}$.

Protected Member Functions

 NaryEqBnd (Space *home, bool share, NaryEqBnd< View > &p)
 Constructor for cloning p.
 NaryEqBnd (Space *home, ViewArray< View > &)
 Constructor for posting.

Constructor & Destructor Documentation

template<class View>
Gecode::Int::Rel::NaryEqBnd< View >::NaryEqBnd ( Space home,
bool  share,
NaryEqBnd< View > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 435 of file eq.icc.

template<class View>
Gecode::Int::Rel::NaryEqBnd< View >::NaryEqBnd ( Space home,
ViewArray< View > &  x 
) [inline, protected]

Constructor for posting.

Definition at line 409 of file eq.icc.


Member Function Documentation

template<class View>
Actor * Gecode::Int::Rel::NaryEqBnd< View >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 440 of file eq.icc.

template<class View>
PropCost Gecode::Int::Rel::NaryEqBnd< View >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function.

If a view has been assigned, the cost is PC_UNARY_LO. Otherwise it is dynamic PC_LINEAR_HI.

Reimplemented from Gecode::NaryPropagator< View, PC_INT_BND >.

Definition at line 446 of file eq.icc.

template<class View>
ExecStatus Gecode::Int::Rel::NaryEqBnd< View >::propagate ( Space home,
ModEventDelta  med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 476 of file eq.icc.

template<class View>
Reflection::ActorSpec Gecode::Int::Rel::NaryEqBnd< View >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 460 of file eq.icc.

template<class View>
void Gecode::Int::Rel::NaryEqBnd< View >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post propagator according to specification.

Definition at line 467 of file eq.icc.

template<class View>
Support::Symbol Gecode::Int::Rel::NaryEqBnd< View >::ati ( void   )  [inline, static]

Mangled propagator name.

Definition at line 454 of file eq.icc.

template<class View>
ExecStatus Gecode::Int::Rel::NaryEqBnd< View >::post ( Space home,
ViewArray< View > &  x 
) [inline, static]

Post bounds consistent propagator $ x_0 = x_1=\ldots =x_{|x|-1}$.

Definition at line 414 of file eq.icc.


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