Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

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

#include <rel.hh>

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


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (ModEventDelta med) const
 Cost function (defined as PC_UNARY_LO).
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, 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 66 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 46 of file nq.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 71 of file nq.icc.

template<class View>
PropCost Gecode::Int::Rel::Nq< View >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function (defined as PC_UNARY_LO).

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

Definition at line 77 of file nq.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 105 of file nq.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 89 of file nq.icc.

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

Post propagator according to specification.

Definition at line 95 of file nq.icc.

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

Mangled propagator name.

Definition at line 83 of file nq.icc.

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

Post propagator $x_0\neq x_1$.

Definition at line 51 of file nq.icc.


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