Generated on Sat Aug 25 2012 03:33:10 for Gecode by doxygen 1.8.1.2
Gecode::Int::Rel::NaryNq< View > Class Template Reference

Nary disequality propagator. More...

#include <rel.hh>

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
virtual size_t dispose (Space &home)
 Delete propagator and return its size.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< View > &x)
 Post propagator $ \neg\left(x_0=x_1=\cdots=x_{|x|-1}\right)$.

Protected Member Functions

 NaryNq (Home home, ViewArray< View > &x)
 Constructor for posting.
 NaryNq (Space &home, bool share, NaryNq< View > &p)
 Constructor for cloning p.
- Protected Member Functions inherited from Gecode::NaryPropagator< View, PC_INT_VAL >
 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 Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting.
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p.

Additional Inherited Members

- Protected Attributes inherited from Gecode::NaryPropagator< View, PC_INT_VAL >
ViewArray< View > x
 Array of views.

Detailed Description

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

Nary disequality propagator.

Requires

#include <gecode/int/rel.hh>

Definition at line 290 of file rel.hh.

Constructor & Destructor Documentation

template<class View >
Gecode::Int::Rel::NaryNq< View >::NaryNq ( Home  home,
ViewArray< View > &  x 
)
inlineprotected

Constructor for posting.

Definition at line 100 of file nq.hpp.

template<class View >
Gecode::Int::Rel::NaryNq< View >::NaryNq ( Space home,
bool  share,
NaryNq< View > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 111 of file nq.hpp.

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 116 of file nq.hpp.

template<class View >
PropCost Gecode::Int::Rel::NaryNq< View >::cost ( const Space home,
const ModEventDelta med 
) const
virtual

Cost function.

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

Definition at line 105 of file nq.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 162 of file nq.hpp.

template<class View >
ExecStatus Gecode::Int::Rel::NaryNq< View >::post ( Home  home,
ViewArray< View > &  x 
)
inlinestatic

Post propagator $ \neg\left(x_0=x_1=\cdots=x_{|x|-1}\right)$.

Definition at line 122 of file nq.hpp.

template<class View >
size_t Gecode::Int::Rel::NaryNq< View >::dispose ( Space home)
inlinevirtual

Delete propagator and return its size.

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

Definition at line 155 of file nq.hpp.


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