Generated on Sat Nov 11 01:12:21 2006 for Gecode by doxygen 1.5.1

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 495 of file rel.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

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 83 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 93 of file nq.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 125 of file nq.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 131 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 100 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 500 of file rel.hh.


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