Value selection class for random value of view.
More...
#include <branch.hh>
|
| | ValSelRnd (Space &home, const ValBranch< Var > &vb) |
| | Constructor for initialization.
|
| | ValSelRnd (Space &home, ValSelRnd &vs) |
| | Constructor for cloning.
|
| int | val (const Space &home, View x, int i) |
| | Return value of view x at position i.
|
| bool | notice (void) const |
| | Whether dispose must always be called (that is, notice is needed).
|
| void | dispose (Space &home) |
| | Delete value selection.
|
| | ValSel (Space &home, const ValBranch< Var > &vb) |
| | Constructor for initialization.
|
| bool | notice (void) const |
| | Whether dispose must always be called (that is, notice is needed).
|
| void | dispose (Space &home) |
| | Delete value selection.
|
|
| Rnd | r |
| | The used random number generator.
|
|
| typedef View | View |
| | View type.
|
| typedef View::VarType | Var |
| | Corresponding variable type.
|
| typedef int | Val |
| | Value type.
|
template<class
View>
class Gecode::Int::Branch::ValSelRnd< View >
Value selection class for random value of view.
Requires
Definition at line 353 of file branch.hh.
◆ ValSelRnd() [1/2]
Constructor for initialization.
◆ ValSelRnd() [2/2]
◆ val()
Return value of view x at position i.
Definition at line 108 of file val-sel.hpp.
◆ notice()
Whether dispose must always be called (that is, notice is needed).
Definition at line 120 of file val-sel.hpp.
◆ dispose()
The used random number generator.
Definition at line 357 of file branch.hh.
The documentation for this class was generated from the following files: