Generated on Wed Nov 1 15:05:20 2006 for Gecode by doxygen 1.4.5

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

#include <rel.hh>

Inherits Gecode::BinaryPropagator< View, PC_INT_VAL >.

List of all members.


Detailed Description

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

Binary disequality propagator.

Requires

 #include "gecode/int/rel.hh" 

Definition at line 300 of file rel.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (void) const
 Cost function (defined as PC_UNARY_LO).
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Space *home, View x0, View x1)
 Post propagator $x_0\neq x_1$.

Protected Member Functions

 Nq (Space *home, bool share, Nq< View > &p)
 Constructor for cloning p.
 Nq (Space *home, View x0, View x1)
 Constructor for posting.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 51 of file nq.icc.

template<class View>
Gecode::Int::Rel::Nq< View >::Nq Space home,
View  x0,
View  x1
[inline, protected]
 

Constructor for posting.

Definition at line 31 of file nq.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 56 of file nq.icc.

template<class View>
PropCost Gecode::Int::Rel::Nq< View >::cost void   )  const [virtual]
 

Cost function (defined as PC_UNARY_LO).

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

Definition at line 62 of file nq.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 68 of file nq.icc.

template<class View>
ExecStatus Gecode::Int::Rel::Nq< View >::post Space home,
View  x0,
View  x1
[static]
 

Post propagator $x_0\neq x_1$.

Definition at line 36 of file nq.icc.


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