Generated on Tue Apr 18 10:23:10 2017 for Gecode by doxygen 1.6.3

Gecode::Action::Recorder< View >::Idx Class Reference

Advisor with index and change information. More...

#include <action.hpp>

List of all members.

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.

Detailed Description

template<class View>
class Gecode::Action::Recorder< View >::Idx

Advisor with index and change information.

Definition at line 147 of file action.hpp.


Constructor & Destructor Documentation

template<class View >
Gecode::Action::Recorder< View >::Idx::Idx ( Space home,
Propagator p,
Council< Idx > &  c,
int  i 
) [inline]

Constructor for creation.

Definition at line 208 of file action.hpp.

template<class View >
Gecode::Action::Recorder< View >::Idx::Idx ( Space home,
bool  share,
Idx a 
) [inline]

Constructor for cloning a.

Definition at line 213 of file action.hpp.


Member Function Documentation

template<class View >
void Gecode::Action::Recorder< View >::Idx::mark ( void   )  [inline]

Mark advisor as modified.

Definition at line 218 of file action.hpp.

template<class View >
void Gecode::Action::Recorder< View >::Idx::unmark ( void   )  [inline]

Mark advisor as unmodified.

Definition at line 228 of file action.hpp.

template<class View >
bool Gecode::Action::Recorder< View >::Idx::marked ( void   )  const [inline]

Whether advisor's view has been marked.

Definition at line 223 of file action.hpp.

template<class View >
int Gecode::Action::Recorder< View >::Idx::idx ( void   )  const [inline]

Get index of view.

Definition at line 234 of file action.hpp.


Member Data Documentation

template<class View>
int Gecode::Action::Recorder< View >::Idx::_info [protected]

Index and mark information.

Definition at line 150 of file action.hpp.


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