Gecode::CHB::Recorder< View >::Idx Class Reference
Advisor with index and change information. More...
#include <chb.hpp>
Public Member Functions | |
Idx (Space &home, Propagator &p, Council< Idx > &c, int i) | |
Constructor for creation. | |
Idx (Space &home, Idx &a) | |
Constructor for cloning a. | |
void | mark (void) |
Mark advisor as modified. | |
void | unmark (void) |
Mark advisor as unmodified. | |
bool | marked (void) const |
Whether advisor's view has been marked. | |
int | idx (void) const |
Get index of view. | |
Protected Attributes | |
int | _info |
Index and mark information. |
Detailed Description
template<class View>
class Gecode::CHB::Recorder< View >::Idx
Advisor with index and change information.
Definition at line 145 of file chb.hpp.
Constructor & Destructor Documentation
template<class View >
Gecode::CHB::Recorder< View >::Idx::Idx | ( | Space & | home, | |
Propagator & | p, | |||
Council< Idx > & | c, | |||
int | i | |||
) | [inline] |
template<class View >
Gecode::CHB::Recorder< View >::Idx::Idx | ( | Space & | home, | |
Idx & | a | |||
) | [inline] |
Member Function Documentation
template<class View >
void Gecode::CHB::Recorder< View >::Idx::mark | ( | void | ) | [inline] |
template<class View >
void Gecode::CHB::Recorder< View >::Idx::unmark | ( | void | ) | [inline] |
template<class View >
bool Gecode::CHB::Recorder< View >::Idx::marked | ( | void | ) | const [inline] |
template<class View >
int Gecode::CHB::Recorder< View >::Idx::idx | ( | void | ) | const [inline] |
Member Data Documentation
template<class View>
int Gecode::CHB::Recorder< View >::Idx::_info [protected] |
The documentation for this class was generated from the following file:
- gecode/kernel/branch/chb.hpp