Generated on Thu Mar 22 10:39:58 2012 for Gecode by doxygen 1.6.3

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

Lexical 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, ViewArray< View > &y)
 Post propagator $ x\neq y$.

Protected Member Functions

ExecStatus resubscribe (Space &home, RelTest rt, View &x0, View &y0, View x1, View y1)
 Update subscription.
 LexNq (Home home, ViewArray< View > &x, ViewArray< View > &y)
 Constructor for posting.
 LexNq (Space &home, bool share, LexNq< View > &p)
 Constructor for cloning p.

Protected Attributes

View x0
 Views currently subscribed to.
View y0
View x1
View y1
ViewArray< View > x
 Views not yet subscribed to.
ViewArray< View > y

Detailed Description

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

Lexical disequality propagator.

Requires

 #include <gecode/int/rel.hh> 

Definition at line 628 of file rel.hh.


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 263 of file lex.hpp.

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

Constructor for cloning p.

Definition at line 284 of file lex.hpp.


Member Function Documentation

template<class View >
ExecStatus Gecode::Int::Rel::LexNq< View >::resubscribe ( Space home,
RelTest  rt,
View &  x0,
View &  y0,
View  x1,
View  y1 
) [inline, protected]

Update subscription.

Definition at line 366 of file lex.hpp.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 293 of file lex.hpp.

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

Cost function.

Implements Gecode::Propagator.

Definition at line 278 of file lex.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 399 of file lex.hpp.

template<class View >
ExecStatus Gecode::Int::Rel::LexNq< View >::post ( Home  home,
ViewArray< View > &  x,
ViewArray< View > &  y 
) [inline, static]

Post propagator $ x\neq y$.

Definition at line 322 of file lex.hpp.

template<class View >
size_t Gecode::Int::Rel::LexNq< View >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 357 of file lex.hpp.


Member Data Documentation

template<class View>
View Gecode::Int::Rel::LexNq< View >::x0 [protected]

Views currently subscribed to.

Definition at line 631 of file rel.hh.

template<class View>
View Gecode::Int::Rel::LexNq< View >::y0 [protected]

Definition at line 631 of file rel.hh.

template<class View>
View Gecode::Int::Rel::LexNq< View >::x1 [protected]

Definition at line 631 of file rel.hh.

template<class View>
View Gecode::Int::Rel::LexNq< View >::y1 [protected]

Definition at line 631 of file rel.hh.

template<class View>
ViewArray<View> Gecode::Int::Rel::LexNq< View >::x [protected]

Views not yet subscribed to.

Definition at line 633 of file rel.hh.

template<class View>
ViewArray<View> Gecode::Int::Rel::LexNq< View >::y [protected]

Definition at line 633 of file rel.hh.


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