Generated on Sat Feb 7 2015 02:01:51 for Gecode by doxygen 1.8.9.1
Gecode::Set::Channel::ChannelBool< View >::IndexAdvisor Class Reference

Advisor storing a single index More...

#include <channel.hh>

Public Member Functions

template<class A >
 IndexAdvisor (Space &home, ChannelBool< View > &p, Council< A > &c, int index)
 Constructor for creation. More...
 
 IndexAdvisor (Space &home, bool share, IndexAdvisor &a)
 Constructor for cloning a. More...
 
int index (void) const
 Access index. More...
 
template<class A >
void dispose (Space &home, Council< A > &c)
 Delete advisor. More...
 
- Public Member Functions inherited from Gecode::Advisor
template<class A >
 Advisor (Space &home, Propagator &p, Council< A > &c)
 Constructor for creation. More...
 
 Advisor (Space &home, bool share, Advisor &a)
 Copying constructor. More...
 
template<class A >
void dispose (Space &home, Council< A > &c)
 Dispose the advisor. More...
 

Protected Attributes

int idx
 The single index. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Advisor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 
- Protected Member Functions inherited from Gecode::Advisor
Propagatorpropagator (void) const
 Return the advisor's propagator. More...
 

Detailed Description

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

Advisor storing a single index

Definition at line 166 of file channel.hh.

Constructor & Destructor Documentation

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

Constructor for creation.

Definition at line 45 of file bool.hpp.

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

Constructor for cloning a.

Definition at line 58 of file bool.hpp.

Member Function Documentation

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

Access index.

Definition at line 64 of file bool.hpp.

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

Delete advisor.

Definition at line 71 of file bool.hpp.

Member Data Documentation

template<class View>
int Gecode::Set::Channel::ChannelBool< View >::IndexAdvisor::idx
protected

The single index.

Definition at line 169 of file channel.hh.


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