Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
Gecode::ValSel< _View, _Val > Class Template Reference

Base class for value selection. More...

#include <val-sel.hpp>

Public Types

typedef _View View
 View type.
 
typedef View::VarType Var
 Corresponding variable type.
 
typedef _Val Val
 Value type.
 

Public Member Functions

 ValSel (Space &home, const ValBranch< Var > &vb)
 Constructor for initialization.
 
 ValSel (Space &home, ValSel< View, Val > &vs)
 Constructor for cloning.
 
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed)
 
void dispose (Space &home)
 Delete value selection.
 

Detailed Description

template<class _View, class _Val>
class Gecode::ValSel< _View, _Val >

Base class for value selection.

Definition at line 44 of file val-sel.hpp.

Member Typedef Documentation

◆ View

template<class _View , class _Val >
_View Gecode::ValSel< _View, _Val >::View

View type.

Definition at line 47 of file val-sel.hpp.

◆ Var

template<class _View , class _Val >
View::VarType Gecode::ValSel< _View, _Val >::Var

Corresponding variable type.

Definition at line 49 of file val-sel.hpp.

◆ Val

template<class _View , class _Val >
_Val Gecode::ValSel< _View, _Val >::Val

Value type.

Definition at line 51 of file val-sel.hpp.

Constructor & Destructor Documentation

◆ ValSel() [1/2]

template<class View , class Val >
Gecode::ValSel< View, Val >::ValSel ( Space & home,
const ValBranch< Var > & vb )
inline

Constructor for initialization.

Definition at line 98 of file val-sel.hpp.

◆ ValSel() [2/2]

template<class View , class Val >
Gecode::ValSel< View, Val >::ValSel ( Space & home,
ValSel< View, Val > & vs )
inline

Constructor for cloning.

Definition at line 101 of file val-sel.hpp.

Member Function Documentation

◆ notice()

template<class View , class Val >
bool Gecode::ValSel< View, Val >::notice ( void ) const
inline

Whether dispose must always be called (that is, notice is needed)

Definition at line 104 of file val-sel.hpp.

◆ dispose()

template<class View , class Val >
void Gecode::ValSel< View, Val >::dispose ( Space & home)
inline

Delete value selection.

Definition at line 109 of file val-sel.hpp.


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