
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 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. | |
Sequence propagator for array of integers
Requires
#include <gecode/int/sequence.hh>
Definition at line 105 of file sequence.hh.
| Gecode::Int::Sequence::Sequence< View, Val >::Sequence | ( | Space & | home, |
| bool | shared, | ||
| Sequence< View, Val > & | p | ||
| ) | [inline, protected] |
| Gecode::Int::Sequence::Sequence< View, Val >::Sequence | ( | Home | home, |
| ViewArray< View > & | x, | ||
| Val | s, | ||
| int | q, | ||
| int | l, | ||
| int | u | ||
| ) | [inline, protected] |
| Actor * Gecode::Int::Sequence::Sequence< View, Val >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::advise | ( | Space & | home, |
| Advisor & | _a, | ||
| const Delta & | d | ||
| ) | [virtual] |
| PropCost Gecode::Int::Sequence::Sequence< View, Val >::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
| ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::post | ( | Home | home, |
| ViewArray< View > & | x, | ||
| Val | s, | ||
| int | q, | ||
| int | l, | ||
| int | u | ||
| ) | [static] |
| ExecStatus Gecode::Int::Sequence::Sequence< View, Val >::check | ( | Space & | home, |
| ViewArray< View > & | x, | ||
| Val | s, | ||
| int | q, | ||
| int | l, | ||
| int | u | ||
| ) | [inline, static] |
| size_t Gecode::Int::Sequence::Sequence< View, Val >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.