
Class for assigning random value. More...
#include <branch.hh>
Public Member Functions | |
| AssignValRnd (void) | |
| Default constructor. | |
| AssignValRnd (Space &home, const ValBranchOptions &vbo) | |
| Constructor for initialization. | |
Public Member Functions inherited from Gecode::Set::Branch::ValRnd< inc > | |
| ValRnd (void) | |
| Default constructor. | |
| ValRnd (Space &home, const ValBranchOptions &vbo) | |
| Constructor for initialization. | |
| int | val (Space &home, SetView x) |
| Return minimum value of view x. | |
| ModEvent | tell (Space &home, unsigned int a, SetView x, int n) |
Tell (a = 0) or (a = 1) | |
| Choice | choice (Space &home) |
| Return choice. | |
| Choice | choice (const Space &home, Archive &e) |
| Return choice. | |
| void | commit (Space &home, const Choice &c, unsigned a) |
| Commit to choice. | |
| void | update (Space &home, bool share, ValRnd &vs) |
| Updating during cloning. | |
| void | dispose (Space &home) |
| Delete value selection. | |
Static Public Attributes | |
| static const unsigned int | alternatives = 1 |
| Number of alternatives. | |
Static Public Attributes inherited from Gecode::Set::Branch::ValRnd< inc > | |
Additional Inherited Members | |
Public Types inherited from Gecode::Set::Branch::ValRnd< inc > | |
| typedef SetView | View |
| View type. | |
| typedef int | Val |
| Value type. | |
| typedef ArchivedRandomGenerator | Choice |
| Choice. | |
Protected Attributes inherited from Gecode::Set::Branch::ValRnd< inc > | |
| ArchivedRandomGenerator | r |
| Random number generator. | |
Class for assigning random value.
|
inline |
Default constructor.
Definition at line 196 of file select-val.hpp.
|
inline |
Constructor for initialization.
Definition at line 199 of file select-val.hpp.
|
static |
Number of alternatives.
Reimplemented from Gecode::Set::Branch::ValRnd< inc >.