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. | |
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. |
Advisor storing a single index
Definition at line 166 of file channel.hh.
Gecode::Set::Channel::ChannelBool< View >::IndexAdvisor::IndexAdvisor | ( | Space & | home, |
ChannelBool< View > & | p, | ||
Council< A > & | c, | ||
int | index | ||
) | [inline] |
Gecode::Set::Channel::ChannelBool< View >::IndexAdvisor::IndexAdvisor | ( | Space & | home, |
bool | share, | ||
IndexAdvisor & | a | ||
) | [inline] |
int Gecode::Set::Channel::ChannelBool< View >::IndexAdvisor::index | ( | void | ) | const [inline] |
void Gecode::Set::Channel::ChannelBool< View >::IndexAdvisor::dispose | ( | Space & | home, |
Council< A > & | c | ||
) | [inline] |
int Gecode::Set::Channel::ChannelBool< View >::IndexAdvisor::idx [protected] |
The single index.
Definition at line 169 of file channel.hh.