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

Gecode::Int::Sequence::Sequence< View, Val > Class Template Reference
[Integer propagators]

Sequence propagator for array of integers More...

#include <sequence.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Perform copying during cloning.
ExecStatus advise (Space &home, Advisor &_a, const Delta &d)
 Advise function.
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, Val s, int q, int l, int u)
 Post propagator for.
static ExecStatus check (Space &home, ViewArray< View > &x, Val s, int q, int l, int u)
 Check for consistency.

Protected Member Functions

 Sequence (Space &home, bool shared, Sequence &p)
 Constructor for cloning p.
 Sequence (Home home, ViewArray< View > &x, Val s, int q, int l, int u)
 Constructor for creation.

Detailed Description

template<class View, class Val>
class Gecode::Int::Sequence::Sequence< View, Val >

Sequence propagator for array of integers

Requires

Definition at line 105 of file sequence.hh.


Constructor & Destructor Documentation

template<class View , class Val >
Gecode::Int::Sequence::Sequence< View, Val >::Sequence ( Space home,
bool  shared,
Sequence< View, Val > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 62 of file int.hpp.

template<class View , class Val >
Gecode::Int::Sequence::Sequence< View, Val >::Sequence ( Home  home,
ViewArray< View > &  x,
Val  s,
int  q,
int  l,
int  u 
) [inline, protected]

Constructor for creation.

Definition at line 46 of file int.hpp.


Member Function Documentation

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

Perform copying during cloning.

Implements Gecode::Actor.

Definition at line 142 of file int.hpp.

template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::advise ( Space home,
Advisor _a,
const Delta d 
) [inline, virtual]

Advise function.

Reimplemented from Gecode::Propagator.

Definition at line 73 of file int.hpp.

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

Cost function.

Implements Gecode::Propagator.

Definition at line 148 of file int.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 154 of file int.hpp.

template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::post ( Home  home,
ViewArray< View > &  x,
Val  s,
int  q,
int  l,
int  u 
) [inline, static]

Post propagator for.

Definition at line 130 of file int.hpp.

template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::check ( Space home,
ViewArray< View > &  x,
Val  s,
int  q,
int  l,
int  u 
) [inline, static]

Check for consistency.

Definition at line 106 of file int.hpp.

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

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 96 of file int.hpp.


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