Generated on for Gecode by doxygen 1.18.0
Gecode::Int::Rel::Open< View, irt >::Position Class Reference

Identify the position whose domain changed. More...

#include <gecode/int/rel/open.hpp>

Public Member Functions

 Position (Space &home, Propagator &p, Council< Position > &council, int index0)
 Position (Space &home, Position &a)
void dispose (Space &home, Council< Position > &council)
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 ViewTraceInfo & operator() (const Space &home) const
 Provide access to view trace information.
template<class A>
void dispose (Space &home, Council< A > &c)
 Dispose the advisor.

Public Attributes

int index

Additional Inherited Members

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
Propagator & propagator (void) const
 Return the advisor's propagator.

Detailed Description

template<class View, IntRelType irt>
class Gecode::Int::Rel::Open< View, irt >::Position

Identify the position whose domain changed.

Definition at line 51 of file open.hpp.

Constructor & Destructor Documentation

◆ Position() [1/2]

template<class View, IntRelType irt>
Gecode::Int::Rel::Open< View, irt >::Position::Position ( Space & home,
Propagator & p,
Council< Position > & council,
int index0 )
inline

Definition at line 55 of file open.hpp.

◆ Position() [2/2]

template<class View, IntRelType irt>
Gecode::Int::Rel::Open< View, irt >::Position::Position ( Space & home,
Position & a )
inline

Definition at line 59 of file open.hpp.

Member Function Documentation

◆ dispose()

template<class View, IntRelType irt>
void Gecode::Int::Rel::Open< View, irt >::Position::dispose ( Space & home,
Council< Position > & council )
inline

Definition at line 63 of file open.hpp.

Member Data Documentation

◆ index

template<class View, IntRelType irt>
int Gecode::Int::Rel::Open< View, irt >::Position::index

Definition at line 53 of file open.hpp.


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