Generated on Sat Feb 7 2015 02:01:49 for Gecode by doxygen 1.8.9.1
Gecode::Int::Rel::LexNq< View > Class Template Reference

Lexical disequality propagator. More...

#include <rel.hh>

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning. More...
 
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function. More...
 
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function. More...
 
double afc (const Space &home) const
 Return the accumlated failure count. More...
 
- Public Member Functions inherited from Gecode::Actor

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< View > &x, ViewArray< View > &y)
 Post propagator $ x\neq y$. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Protected Member Functions

ExecStatus resubscribe (Space &home, RelTest rt, View &x0, View &y0, View x1, View y1)
 Update subscription. More...
 
 LexNq (Home home, ViewArray< View > &x, ViewArray< View > &y)
 Constructor for posting. More...
 
 LexNq (Space &home, bool share, LexNq< View > &p)
 Constructor for cloning p. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 
Propagatorfwd (void) const
 Return forwarding pointer during copying. More...
 

Protected Attributes

View x0
 Views currently subscribed to. More...
 
View y0
 
View x1
 
View y1
 
ViewArray< View > x
 Views not yet subscribed to. More...
 
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 
)
inlineprotected

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 
)
inlineprotected

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 
)
inlineprotected

Update subscription.

Definition at line 366 of file lex.hpp.

template<class View >
Actor * Gecode::Int::Rel::LexNq< View >::copy ( Space home,
bool  share 
)
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
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 
)
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 
)
inlinestatic

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)
inlinevirtual

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: