Generated on Wed Jan 4 17:49:21 2006 for Gecode by doxygen 1.4.6

Gecode::Int::GCC::CardArray< T > Class Template Reference

Inherits Gecode::ViewArray< T >.

List of all members.


Detailed Description

template<class T>
class Gecode::Int::GCC::CardArray< T >

Array containing CardView and supporting lookup operation.

Definition at line 868 of file occur.icc.

Public Member Functions

int lookup (int v)
 Return the index of v in the array.
 CardArray (void)
 CardArray (Space *home, int n)
 CardArray (Space *home, const ViewArray< T > &v)
template<class Var>
 CardArray (Space *home, const VarArgArray< Var > &)


Constructor & Destructor Documentation

template<class T>
Gecode::Int::GCC::CardArray< T >::CardArray void   )  [inline]
 

Definition at line 880 of file occur.icc.

template<class T>
Gecode::Int::GCC::CardArray< T >::CardArray Space home,
int  n
[inline]
 

Definition at line 884 of file occur.icc.

template<class T>
Gecode::Int::GCC::CardArray< T >::CardArray Space home,
const ViewArray< T > &  v
[inline]
 

Definition at line 888 of file occur.icc.

template<class T>
template<class Var>
Gecode::Int::GCC::CardArray< T >::CardArray Space home,
const VarArgArray< Var > & 
[inline]
 

Definition at line 892 of file occur.icc.


Member Function Documentation

template<class T>
int Gecode::Int::GCC::CardArray< T >::lookup int  v  )  [inline]
 

Return the index of v in the array.

Complexity is $O(log(|k|))$

Definition at line 902 of file occur.icc.


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