Generated on Mon May 5 05:54:16 2008 for Gecode by doxygen 1.5.5

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

#include <rel.hh>

Inherits Gecode::BinaryPropagator< View, pc >< Gecode::ViewTuple< View, 2 >, PC_INT_DOM >.

List of all members.


Detailed Description

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

Propagator for n-ary disequlaity

Requires

 #include "gecode/int/rel.hh" 

Definition at line 618 of file rel.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
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< ViewTuple< View, 2 > > &x)
 Post propagator for $\exists i\in\{0,\ldots,|x|-1\}:\;x_i\neq y_i$.

Protected Member Functions

 NaryNq (Space *home, ViewArray< ViewTuple< View, 2 > > &x)
 Constructor for posting.
 NaryNq (Space *home, bool share, NaryNq &p)
 Constructor for cloning p.

Protected Attributes

ViewArray< ViewTuple< View, 2 > > x
 Views not yet subscribed to.

Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 123 of file nq.icc.

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

Constructor for cloning p.

Definition at line 133 of file nq.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 165 of file nq.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 216 of file nq.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 177 of file nq.icc.

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

Post propagator according to specification.

Definition at line 195 of file nq.icc.

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

Mangled propagator name.

Definition at line 171 of file nq.icc.

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

Post propagator for $\exists i\in\{0,\ldots,|x|-1\}:\;x_i\neq y_i$.

Definition at line 140 of file nq.icc.


Member Data Documentation

template<class View>
ViewArray<ViewTuple<View,2> > Gecode::Int::Rel::NaryNq< View >::x [protected]

Views not yet subscribed to.

Definition at line 623 of file rel.hh.


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