Generated on Thu Jul 6 07:07:08 2006 for Gecode by doxygen 1.4.7

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

#include <sequence.hh>

Inherits Gecode::NaryPropagator< View, pc >< Gecode::Set::SetView, PC_SET_CGLB >.

List of all members.


Detailed Description

Propagator for the sequence constraint

Requires

Definition at line 47 of file sequence.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Space *home, ViewArray< SetView >)
 Post propagator $\forall 0\leq i< |x|-1 : \max(x_i)<\min(x_{i+1})$.

Protected Member Functions

 Seq (Space *home, bool share, Seq &p)
 Constructor for cloning p.
 Seq (Space *home, ViewArray< SetView > &)
 Constructor for posting.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 40 of file seq.icc.

Gecode::Set::Sequence::Seq::Seq ( Space home,
ViewArray< SetView > &   
) [inline, protected]

Constructor for posting.

Definition at line 36 of file seq.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 39 of file seq.cc.

ExecStatus Gecode::Set::Sequence::Seq::propagate ( Space home  )  [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 44 of file seq.cc.

ExecStatus Gecode::Set::Sequence::Seq::post ( Space home,
ViewArray< SetView  
) [inline, static]

Post propagator $\forall 0\leq i< |x|-1 : \max(x_i)<\min(x_{i+1})$.

Definition at line 44 of file seq.icc.


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