Generated on Tue Apr 18 10:24:13 2017 for Gecode by doxygen 1.6.3

Gecode::Set::Sequence::SeqU Class Reference
[Set propagators]

Propagator for the sequenced union constraint More...

#include <sequence.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< SetView >, SetView)
 Post propagator $\forall 0\leq i< |x|-1 : \max(x_i)<\min(x_{i+1})$ and $ x = \bigcup_{i\in\{0,\dots,n-1\}} y_i $.

Protected Member Functions

 SeqU (Space &home, bool share, SeqU &p)
 Constructor for cloning p.
 SeqU (Home home, ViewArray< SetView > &, SetView)
 Constructor for posting.
ExecStatus propagateSeqUnion (Space &home, bool &modified, ViewArray< SetView > &x, SetView &y)

Protected Attributes

GLBndSet unionOfDets

Detailed Description

Propagator for the sequenced union constraint

Requires

Definition at line 85 of file sequence.hh.


Constructor & Destructor Documentation

Gecode::Set::Sequence::SeqU::SeqU ( Space home,
bool  share,
SeqU p 
) [inline, protected]

Constructor for cloning p.

Definition at line 56 of file seq-u.hpp.

Gecode::Set::Sequence::SeqU::SeqU ( Home  home,
ViewArray< SetView > &  x,
SetView  y 
) [inline, protected]

Constructor for posting.

Definition at line 52 of file seq-u.hpp.


Member Function Documentation

ExecStatus Gecode::Set::Sequence::SeqU::propagateSeqUnion ( Space home,
bool &  modified,
ViewArray< SetView > &  x,
SetView y 
) [protected]

Definition at line 58 of file seq-u.cpp.

Actor * Gecode::Set::Sequence::SeqU::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 53 of file seq-u.cpp.

ExecStatus Gecode::Set::Sequence::SeqU::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 107 of file seq-u.cpp.

ExecStatus Gecode::Set::Sequence::SeqU::post ( Home  home,
ViewArray< SetView x,
SetView  y 
) [inline, static]

Post propagator $\forall 0\leq i< |x|-1 : \max(x_i)<\min(x_{i+1})$ and $ x = \bigcup_{i\in\{0,\dots,n-1\}} y_i $.

Definition at line 62 of file seq-u.hpp.


Member Data Documentation

Definition at line 87 of file sequence.hh.


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