Base class for value selection. More...
#include <brancher-val-sel.hpp>
Public Types | |
typedef _View | View |
View type. | |
typedef _Val | Val |
Value type. | |
Public Member Functions | |
ValSel (Space &home, const ValBranch &vb) | |
Constructor for initialization. | |
ValSel (Space &home, bool shared, 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. |
Base class for value selection.
Definition at line 48 of file brancher-val-sel.hpp.
typedef _View Gecode::ValSel< _View, _Val >::View |
View type.
Definition at line 51 of file brancher-val-sel.hpp.
typedef _Val Gecode::ValSel< _View, _Val >::Val |
Value type.
Reimplemented in Gecode::ValSelFunction< View >.
Definition at line 53 of file brancher-val-sel.hpp.
Gecode::ValSel< View, Val >::ValSel | ( | Space & | home, |
const ValBranch & | vb | ||
) | [inline] |
Constructor for initialization.
Definition at line 96 of file brancher-val-sel.hpp.
Gecode::ValSel< View, Val >::ValSel | ( | Space & | home, |
bool | shared, | ||
ValSel< View, Val > & | vs | ||
) | [inline] |
Constructor for cloning.
Definition at line 99 of file brancher-val-sel.hpp.
bool Gecode::ValSel< View, Val >::notice | ( | void | ) | const [inline] |
Whether dispose must always be called (that is, notice is needed)
Reimplemented in Gecode::Int::Branch::ValSelNearIncDec< View, inc >, Gecode::Int::Branch::ValSelNearMinMax< View, min >, Gecode::Int::Branch::ValSelRnd< View >, Gecode::Set::Branch::ValSelRnd, and Gecode::Float::Branch::ValSelRnd.
Definition at line 102 of file brancher-val-sel.hpp.
void Gecode::ValSel< View, Val >::dispose | ( | Space & | home | ) | [inline] |
Delete value selection.
Reimplemented in Gecode::Int::Branch::ValSelNearIncDec< View, inc >, Gecode::Int::Branch::ValSelNearMinMax< View, min >, Gecode::Int::Branch::ValSelRnd< View >, Gecode::Set::Branch::ValSelRnd, and Gecode::Float::Branch::ValSelRnd.
Definition at line 107 of file brancher-val-sel.hpp.