Gecode::Int::Sequence::Sequence< View, Val > Class Template Reference
[Integer propagators]
Sequence propagator for array of integers More...
#include <sequence.hh>
Public Member Functions | |
virtual Actor * | copy (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 void | reschedule (Space &home) |
Schedule 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
#include <gecode/int/sequence.hh>
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] |
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] |
Member Function Documentation
template<class View , class Val >
Actor * Gecode::Int::Sequence::Sequence< View, Val >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::advise | ( | Space & | home, | |
Advisor & | _a, | |||
const Delta & | d | |||
) | [inline, virtual] |
template<class View , class Val >
PropCost Gecode::Int::Sequence::Sequence< View, Val >::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [inline, virtual] |
template<class View , class Val >
void Gecode::Int::Sequence::Sequence< View, Val >::reschedule | ( | Space & | home | ) | [inline, virtual] |
template<class View , class Val >
ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
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] |
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] |
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.
The documentation for this class was generated from the following files:
- gecode/int/sequence.hh (Revision: 15137)
- gecode/int/sequence/int.hpp (Revision: 15137)