
Class for view value support structure. More...
#include <view.hpp>
Public Member Functions | |
| void | init (Space &home, ViewArray< View > &x, Val s, int i, int q) |
| Initialize. | |
| void | update (Space &home, bool share, ViewValSupport< View, Val, iss > &vvs, int n0) |
| Update. | |
| ExecStatus | advise (Space &home, ViewArray< View > &a, Val s, int i, int q, int j, const Delta &d) |
| Advise. | |
| ExecStatus | propagate (Space &home, ViewArray< View > &a, Val s, int i, int q, int l, int u) |
| Propagate. | |
| bool | violated (int j, int q, int l, int u) const |
| Return true if sequence j has been violated. | |
| bool | retired (void) const |
| Check if retired. | |
Static Public Member Functions | |
| static ViewValSupport * | allocate (Space &, int) |
| Allocate an instance. | |
Class for view value support structure.
| void Gecode::Int::Sequence::ViewValSupport< View, Val, iss >::init | ( | Space & | home, |
| ViewArray< View > & | x, | ||
| Val | s, | ||
| int | i, | ||
| int | q | ||
| ) | [inline] |
| void Gecode::Int::Sequence::ViewValSupport< View, Val, iss >::update | ( | Space & | home, |
| bool | share, | ||
| ViewValSupport< View, Val, iss > & | vvs, | ||
| int | n0 | ||
| ) | [inline] |
| ExecStatus Gecode::Int::Sequence::ViewValSupport< View, Val, iss >::advise | ( | Space & | home, |
| ViewArray< View > & | a, | ||
| Val | s, | ||
| int | i, | ||
| int | q, | ||
| int | j, | ||
| const Delta & | d | ||
| ) | [inline] |
| ExecStatus Gecode::Int::Sequence::ViewValSupport< View, Val, iss >::propagate | ( | Space & | home, |
| ViewArray< View > & | a, | ||
| Val | s, | ||
| int | i, | ||
| int | q, | ||
| int | l, | ||
| int | u | ||
| ) | [inline] |
| bool Gecode::Int::Sequence::ViewValSupport< View, Val, iss >::violated | ( | int | j, |
| int | q, | ||
| int | l, | ||
| int | u | ||
| ) | const [inline] |
| bool Gecode::Int::Sequence::ViewValSupport< View, Val, iss >::retired | ( | void | ) | const [inline] |
| ViewValSupport< View, Val, iss > * Gecode::Int::Sequence::ViewValSupport< View, Val, iss >::allocate | ( | Space & | home, |
| int | n | ||
| ) | [inline, static] |