Generated on Mon Aug 25 11:35:53 2008 for Gecode by doxygen 1.5.6

Gecode::Set::Int::ChannelBool< View >::IndexAdvisor Class Reference

#include <int.hh>

Inherits Gecode::Advisor.

List of all members.


Detailed Description

template<class View>
class Gecode::Set::Int::ChannelBool< View >::IndexAdvisor

Advisor storing a single index.

Definition at line 279 of file int.hh.


Public Member Functions

template<class A>
 IndexAdvisor (Space *home, ChannelBool< View > *p, Council< A > &c, int index)
 Constructor for creation.
 IndexAdvisor (Space *home, bool share, IndexAdvisor &a)
 Constructor for cloning a.
int index (void) const
 Access index.
template<class A>
void dispose (Space *home, Council< A > &c)
 Delete advisor.

Protected Attributes

int idx
 The single index.

Constructor & Destructor Documentation

template<class View>
template<class A>
Gecode::Set::Int::ChannelBool< View >::IndexAdvisor::IndexAdvisor ( Space home,
ChannelBool< View > *  p,
Council< A > &  c,
int  index 
) [inline]

Constructor for creation.

Definition at line 45 of file channel-bool.icc.

template<class View>
Gecode::Set::Int::ChannelBool< View >::IndexAdvisor::IndexAdvisor ( Space home,
bool  share,
IndexAdvisor a 
) [inline]

Constructor for cloning a.

Definition at line 58 of file channel-bool.icc.


Member Function Documentation

template<class View>
int Gecode::Set::Int::ChannelBool< View >::IndexAdvisor::index ( void   )  const [inline]

Access index.

Definition at line 64 of file channel-bool.icc.

template<class View>
template<class A>
void Gecode::Set::Int::ChannelBool< View >::IndexAdvisor::dispose ( Space home,
Council< A > &  c 
) [inline]

Delete advisor.

Reimplemented from Gecode::Advisor.

Definition at line 71 of file channel-bool.icc.


Member Data Documentation

template<class View>
int Gecode::Set::Int::ChannelBool< View >::IndexAdvisor::idx [protected]

The single index.

Definition at line 282 of file int.hh.


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