Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0

Class to iterate over advisors of a council. More...

#include <core.hpp>

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.

Detailed Description

template<class A>
class Gecode::Advisors< A >

Class to iterate over advisors of a council.

Definition at line 1268 of file core.hpp.

Constructor & Destructor Documentation

◆ Advisors()

template<class A>
Gecode::Advisors< A >::Advisors ( const Council< A > & c)
inline

Initialize.

Definition at line 3995 of file core.hpp.

Member Function Documentation

◆ operator()()

template<class A>
bool Gecode::Advisors< A >::operator() ( void ) const
inline

Test whether there advisors left.

Definition at line 4003 of file core.hpp.

◆ operator++()

template<class A>
void Gecode::Advisors< A >::operator++ ( void )
inline

Move iterator to next advisor.

Definition at line 4009 of file core.hpp.

◆ advisor()

template<class A>
A & Gecode::Advisors< A >::advisor ( void ) const
inline

Return advisor.

Definition at line 4017 of file core.hpp.


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