Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
Gecode::ViewTraceRecorder< View >::Idx Class Reference

Advisor with index information. More...

#include <recorder.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.
 
int idx (void) const
 Get index of view.
 
- Public Member Functions inherited from Gecode::Advisor
template<class A >
 Advisor (Space &home, Propagator &p, Council< A > &c)
 Constructor for creation.
 
 Advisor (Space &home, Advisor &a)
 Copying constructor.
 
const ViewTraceInfooperator() (const Space &home) const
 Provide access to view trace information.
 
template<class A >
void dispose (Space &home, Council< A > &c)
 Dispose the advisor.
 

Protected Attributes

int _idx
 Index information.
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Advisor
static void * operator new (size_t s, Space &home)
 Allocate memory from space.
 
static void operator delete (void *p, Space &home)
 No-op for exceptions.
 
- Protected Member Functions inherited from Gecode::Advisor
Propagatorpropagator (void) const
 Return the advisor's propagator.
 

Detailed Description

template<class View>
class Gecode::ViewTraceRecorder< View >::Idx

Advisor with index information.

Definition at line 88 of file recorder.hpp.

Constructor & Destructor Documentation

◆ Idx() [1/2]

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

Constructor for creation.

Definition at line 241 of file recorder.hpp.

◆ Idx() [2/2]

template<class View >
Gecode::ViewTraceRecorder< View >::Idx::Idx ( Space & home,
Idx & a )
inline

Constructor for cloning a.

Definition at line 246 of file recorder.hpp.

Member Function Documentation

◆ idx()

template<class View >
int Gecode::ViewTraceRecorder< View >::Idx::idx ( void ) const
inline

Get index of view.

Definition at line 251 of file recorder.hpp.

Member Data Documentation

◆ _idx

template<class View >
int Gecode::ViewTraceRecorder< View >::Idx::_idx
protected

Index information.

Definition at line 91 of file recorder.hpp.


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