Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
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, 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 65 of file sequence.hh.

Constructor & Destructor Documentation

◆ ViewValSupportArray() [1/4]

template<class View, class Val, bool iss>
Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::ViewValSupportArray ( void )

Default constructor.

Definition at line 412 of file view.hpp.

◆ ViewValSupportArray() [2/4]

template<class View, class Val, bool iss>
Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::ViewValSupportArray ( const ViewValSupportArray< View, Val, iss > & a)

Copy constructor.

Definition at line 416 of file view.hpp.

◆ ViewValSupportArray() [3/4]

template<class View, class Val, bool iss>
Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::ViewValSupportArray ( Space & home,
ViewArray< View > & x,
Val s,
int q )

Construct an ViewValSupportArray from x.

Definition at line 421 of file view.hpp.

◆ ViewValSupportArray() [4/4]

template<class View, class Val, bool iss>
Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::ViewValSupportArray ( Space & home,
int n )

Construct an ViewValSupportArray of size n.

Definition at line 432 of file view.hpp.

Member Function Documentation

◆ size()

template<class View, class Val, bool iss>
int Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::size ( void ) const
inline

Return the current size.

Definition at line 441 of file view.hpp.

◆ operator[]() [1/2]

template<class View, class Val, bool iss>
ViewValSupport< View, Val, iss > & Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::operator[] ( int n)
inline

Access element n.

Definition at line 447 of file view.hpp.

◆ operator[]() [2/2]

template<class View, class Val, bool iss>
const ViewValSupport< View, Val, iss > & Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::operator[] ( int i) const
inline

Access element n.

Definition at line 454 of file view.hpp.

◆ update()

template<class View, class Val, bool iss>
void Gecode::Int::Sequence::ViewValSupportArray< View, Val, iss >::update ( Space & home,
ViewValSupportArray< View, Val, iss > & x )

Cloning.

Definition at line 461 of file view.hpp.

◆ propagate()

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 )

Propagate.

Definition at line 473 of file view.hpp.

◆ advise()

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 )

Advise.

Definition at line 482 of file view.hpp.


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