Gecode::VarImpVar< VarImp > Class Template Reference
Variables as interfaces to variable implementations. More...
#include <gecode/kernel/var.hpp>
Public Types | |
| typedef VarImp | VarImpType |
| The variable implementation type corresponding to the variable. | |
Protected Member Functions | |
| VarImpVar (void) | |
| Default constructor. | |
| VarImpVar (VarImp *y) | |
| Initialize with variable implementation y. | |
Protected Attributes | |
| VarImp * | x |
| Pointer to variable implementation. | |
Generic variable information | |
| VarImp * | varimp (void) const |
| Return variable implementation of variable. | |
| unsigned int | degree (void) const |
| Return degree (number of subscribed propagators and advisors). | |
| double | afc (void) const |
| Return accumulated failure count. | |
Domain tests | |
| bool | assigned (void) const |
| Test whether view is assigned. | |
Cloning | |
| void | update (Space &home, VarImpVar< VarImp > &y) |
| Update this variable to be a clone of variable y. | |
Detailed Description
template<class VarImp>
class Gecode::VarImpVar< VarImp >
class Gecode::VarImpVar< VarImp >
Variables as interfaces to variable implementations.
Member Typedef Documentation
◆ VarImpType
template<class VarImp>
| typedef VarImp Gecode::VarImpVar< VarImp >::VarImpType |
Constructor & Destructor Documentation
◆ VarImpVar() [1/2]
template<class VarImp>
|
inlineprotected |
◆ VarImpVar() [2/2]
template<class VarImp>
|
inlineprotected |
Member Function Documentation
◆ varimp()
template<class VarImp>
|
inline |
◆ degree()
template<class VarImp>
|
inline |
◆ afc()
template<class VarImp>
|
inline |
◆ assigned()
template<class VarImp>
|
inline |
◆ update()
Member Data Documentation
◆ x
template<class VarImp>
|
protected |
The documentation for this class was generated from the following file:
- gecode/kernel/var.hpp
