Generated on Tue Apr 18 10:23:57 2017 for Gecode by doxygen 1.6.3

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

Nary disequality propagator. More...

#include <rel.hh>

List of all members.

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.

Detailed Description

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

Nary disequality propagator.

Requires

 #include <gecode/int/rel.hh> 

Definition at line 322 of file rel.hh.


Constructor & Destructor Documentation

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

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 
) [inline, protected]

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 
) [inline, 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 [inline, 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 
) [inline, 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 
) [inline, static]

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  )  [inline, virtual]

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: