Generated on Sat Feb 7 2015 02:01:41 for Gecode by doxygen 1.8.9.1
Gecode::ViewAdvisor< View > Class Template Reference

Advisor storing a single view More...

#include <advisor.hpp>

Public Member Functions

template<class A >
 ViewAdvisor (Space &home, Propagator &p, Council< A > &c, View x0)
 Constructor for creation. More...
 
 ViewAdvisor (Space &home, bool share, ViewAdvisor< View > &a)
 Constructor for cloning a. More...
 
View view (void) const
 Access view. More...
 
void view (Space &home, View y)
 Replace view (also replaces subscription to view) More...
 
template<class A >
void dispose (Space &home, Council< A > &c)
 Delete advisor. More...
 
- Public Member Functions inherited from Gecode::Advisor
template<class A >
 Advisor (Space &home, Propagator &p, Council< A > &c)
 Constructor for creation. More...
 
 Advisor (Space &home, bool share, Advisor &a)
 Copying constructor. More...
 
template<class A >
void dispose (Space &home, Council< A > &c)
 Dispose the advisor. More...
 

Protected Attributes

View x
 The single view. More...
 

Additional Inherited Members

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

Detailed Description

template<class View>
class Gecode::ViewAdvisor< View >

Advisor storing a single view

Definition at line 47 of file advisor.hpp.

Constructor & Destructor Documentation

template<class View >
template<class A >
Gecode::ViewAdvisor< View >::ViewAdvisor ( Space home,
Propagator p,
Council< A > &  c,
View  x0 
)
inline

Constructor for creation.

Definition at line 70 of file advisor.hpp.

template<class View >
Gecode::ViewAdvisor< View >::ViewAdvisor ( Space home,
bool  share,
ViewAdvisor< View > &  a 
)
inline

Constructor for cloning a.

Definition at line 77 of file advisor.hpp.

Member Function Documentation

template<class View >
View Gecode::ViewAdvisor< View >::view ( void  ) const
inline

Access view.

Definition at line 84 of file advisor.hpp.

template<class View >
void Gecode::ViewAdvisor< View >::view ( Space home,
View  y 
)
inline

Replace view (also replaces subscription to view)

Definition at line 89 of file advisor.hpp.

template<class View >
template<class A >
void Gecode::ViewAdvisor< View >::dispose ( Space home,
Council< A > &  c 
)
inline

Delete advisor.

Definition at line 95 of file advisor.hpp.

Member Data Documentation

template<class View>
View Gecode::ViewAdvisor< View >::x
protected

The single view.

Definition at line 50 of file advisor.hpp.


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