Gecode::Advisors< A > Class Template Reference
[Programming actors]
Detailed Description
template<class A>
class Gecode::Advisors< A >
Class to iterate over advisors of a council.
Definition at line 790 of file core.icc.
Public Member Functions | |
Advisors (const Council< A > &c) | |
Initialize. | |
bool | operator() (void) const |
Test whether there advisors left. | |
void | operator++ (void) |
Move iterator to next advisor. | |
A * | advisor (void) const |
Return advisor. |
Constructor & Destructor Documentation
template<class A>
Gecode::Advisors< A >::Advisors | ( | const Council< A > & | c | ) | [inline] |
Member Function Documentation
template<class A>
bool Gecode::Advisors< A >::operator() | ( | void | ) | const [inline] |
template<class A>
void Gecode::Advisors< A >::operator++ | ( | void | ) | [inline] |
template<class A>
A * Gecode::Advisors< A >::advisor | ( | void | ) | const [inline] |
The documentation for this class was generated from the following file:
- gecode/kernel/core.icc (Revision: 7332)