Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss > Class Template Reference
An array of ViewValSupport data structures. More...
#include <sequence.hh>
Public Member Functions | |
ViewValSupportArray (void) | |
Default constructor. | |
ViewValSupportArray (const ViewValSupportArray< View, Val, iss > &) | |
Copy constructor. | |
ViewValSupportArray (Space &home, ViewArray< View > &, Val s, int q) | |
Construct an ViewValSupportArray from x. | |
ViewValSupportArray (Space &home, int n) | |
Construct an ViewValSupportArray of size n. | |
int | size (void) const |
Return the current size. | |
ViewValSupport< View, Val, iss > & | operator[] (int n) |
Access element n. | |
const ViewValSupport< View, Val, iss > & | operator[] (int) const |
Access element n. | |
void | update (Space &home, bool share, ViewValSupportArray< View, Val, iss > &x) |
Cloning. | |
ExecStatus | propagate (Space &home, ViewArray< View > &a, Val s, int q, int l, int u) |
Propagate. | |
ExecStatus | advise (Space &home, ViewArray< View > &a, Val s, int q, int j, const Delta &d) |
Advise. |
Detailed Description
template<class View, class Val, bool iss>
class Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >
An array of ViewValSupport data structures.
Definition at line 69 of file sequence.hh.
Constructor & Destructor Documentation
template<class View , class Val , bool iss>
Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::ViewValSupportArray | ( | void | ) | [inline] |
template<class View, class Val, bool iss>
Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::ViewValSupportArray | ( | const ViewValSupportArray< View, Val, iss > & | a | ) | [inline] |
template<class View, class Val, bool iss>
Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::ViewValSupportArray | ( | Space & | home, | |
ViewArray< View > & | x, | |||
Val | s, | |||
int | q | |||
) | [inline] |
Construct an ViewValSupportArray from x.
template<class View, class Val, bool iss>
Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::ViewValSupportArray | ( | Space & | home, | |
int | n | |||
) | [inline] |
Construct an ViewValSupportArray of size n.
Member Function Documentation
template<class View , class Val , bool iss>
int Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::size | ( | void | ) | const [inline] |
template<class View , class Val , bool iss>
ViewValSupport< View, Val, iss > & Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::operator[] | ( | int | n | ) | [inline] |
template<class View , class Val , bool iss>
const ViewValSupport< View, Val, iss > & Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::operator[] | ( | int | i | ) | const [inline] |
template<class View, class Val, bool iss>
void Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::update | ( | Space & | home, | |
bool | share, | |||
ViewValSupportArray< View, Val, iss > & | x | |||
) | [inline] |
template<class View, class Val, bool iss>
ExecStatus Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::propagate | ( | Space & | home, | |
ViewArray< View > & | a, | |||
Val | s, | |||
int | q, | |||
int | l, | |||
int | u | |||
) | [inline] |
template<class View, class Val, bool iss>
ExecStatus Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::advise | ( | Space & | home, | |
ViewArray< View > & | a, | |||
Val | s, | |||
int | q, | |||
int | j, | |||
const Delta & | d | |||
) | [inline] |
The documentation for this class was generated from the following files:
- gecode/int/sequence.hh (Revision: 10684)
- gecode/int/sequence/view.hpp (Revision: 12018)