Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Int::Rel::NaryLqLe< View, o >::Index Class Reference

Advisors for views (by position in array) More...

#include <rel.hh>

Public Member Functions

 Index (Space &home, Propagator &p, Council< Index > &c, int i)
 Create index advisor.
 Index (Space &home, Index &a)
 Clone index advisor a.
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.

Public Attributes

int i
 The position of the view in the view array.

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

Detailed Description

template<class View, int o>
class Gecode::Int::Rel::NaryLqLe< View, o >::Index

Advisors for views (by position in array)

Definition at line 234 of file rel.hh.

Constructor & Destructor Documentation

◆ Index() [1/2]

template<class View, int o>
Gecode::Int::Rel::NaryLqLe< View, o >::Index::Index ( Space & home,
Propagator & p,
Council< Index > & c,
int i )
inline

Create index advisor.

Definition at line 129 of file lq-le.hpp.

◆ Index() [2/2]

template<class View, int o>
Gecode::Int::Rel::NaryLqLe< View, o >::Index::Index ( Space & home,
Index & a )
inline

Clone index advisor a.

Definition at line 135 of file lq-le.hpp.

Member Data Documentation

◆ i

template<class View, int o>
int Gecode::Int::Rel::NaryLqLe< View, o >::Index::i

The position of the view in the view array.

Definition at line 237 of file rel.hh.


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