Generated on Wed Sep 5 2012 18:52:35 for Gecode by doxygen 1.8.1.1
Gecode::Int::Branch::AssignValRnd< View > Class Template Reference

Class for assigning random value. More...

#include <branch.hh>

List of all members.

Public Member Functions

 AssignValRnd (void)
 Default constructor.
 AssignValRnd (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization.
- Public Member Functions inherited from Gecode::Int::Branch::ValRnd< View >
 ValRnd (void)
 Default constructor.
 ValRnd (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization.
int val (Space &home, Viewx)
 Return minimum value of view x.
ModEvent tell (Space &home, unsigned int a, Viewx, int n)
 Tell $x\leq n$ (a = 0) or $x\neq n$ (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::Int::Branch::ValRnd< View >

Additional Inherited Members

- Public Types inherited from Gecode::Int::Branch::ValRnd< View >
typedef View View
 View type.
typedef int Val
 Value type.
typedef ArchivedRandomGenerator Choice
 Choice type.
- Protected Attributes inherited from Gecode::Int::Branch::ValRnd< View >
ArchivedRandomGenerator r
 The random number generator.

Detailed Description

template<class View>
class Gecode::Int::Branch::AssignValRnd< View >

Class for assigning random value.

Definition at line 274 of file branch.hh.


Constructor & Destructor Documentation

template<class View >
Gecode::Int::Branch::AssignValRnd< View >::AssignValRnd ( void  )
inline

Default constructor.

Definition at line 210 of file select-val.hpp.

template<class View >
Gecode::Int::Branch::AssignValRnd< View >::AssignValRnd ( Space home,
const ValBranchOptions vbo 
)
inline

Constructor for initialization.

Definition at line 213 of file select-val.hpp.


Member Data Documentation

template<class View>
const unsigned int Gecode::Int::Branch::AssignValRnd< View >::alternatives = 1
static

Number of alternatives.

Reimplemented from Gecode::Int::Branch::ValRnd< View >.

Definition at line 277 of file branch.hh.


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