Generated on Fri Oct 19 11:26:24 2018 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)
 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, 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 81 of file sequence.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 52 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 48 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 54 of file seq-u.cpp.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 49 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 103 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 58 of file seq-u.hpp.


Member Data Documentation

Definition at line 83 of file sequence.hh.


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