Advisor with index and change information. More...
#include <activity.hpp>
Public Member Functions | |
Idx (Space &home, Propagator &p, Council< Idx > &c, int i) | |
Constructor for creation. | |
Idx (Space &home, bool share, 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. |
Advisor with index and change information.
Definition at line 152 of file activity.hpp.
Gecode::Activity::Recorder< View >::Idx::Idx | ( | Space & | home, |
Propagator & | p, | ||
Council< Idx > & | c, | ||
int | i | ||
) | [inline] |
Constructor for creation.
Definition at line 209 of file activity.hpp.
Gecode::Activity::Recorder< View >::Idx::Idx | ( | Space & | home, |
bool | share, | ||
Idx & | a | ||
) | [inline] |
Constructor for cloning a.
Definition at line 214 of file activity.hpp.
void Gecode::Activity::Recorder< View >::Idx::mark | ( | void | ) | [inline] |
Mark advisor as modified.
Definition at line 219 of file activity.hpp.
void Gecode::Activity::Recorder< View >::Idx::unmark | ( | void | ) | [inline] |
Mark advisor as unmodified.
Definition at line 224 of file activity.hpp.
bool Gecode::Activity::Recorder< View >::Idx::marked | ( | void | ) | const [inline] |
Whether advisor's view has been marked.
Definition at line 229 of file activity.hpp.
int Gecode::Activity::Recorder< View >::Idx::idx | ( | void | ) | const [inline] |
Get index of view.
Definition at line 234 of file activity.hpp.
int Gecode::Activity::Recorder< View >::Idx::_info [protected] |
Index and mark information.
Definition at line 155 of file activity.hpp.