Generated on Thu Mar 7 2013 10:22:05 for Gecode by doxygen 1.8.3.1
Gecode::Int::Branch::AssignValRnd< View > Class Template Reference

Class for assigning random value. More...

#include <branch.hh>

Public Member Functions

 AssignValRnd (void)
 Default constructor. More...
 
 AssignValRnd (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization. More...
 
- Public Member Functions inherited from Gecode::Int::Branch::ValRnd< View >
 ValRnd (void)
 Default constructor. More...
 
 ValRnd (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization. More...
 
int val (Space &home, Viewx)
 Return minimum value of view x. More...
 
ModEvent tell (Space &home, unsigned int a, Viewx, int n)
 Tell $x\leq n$ (a = 0) or $x\neq n$ (a = 1) More...
 
Choice choice (Space &home)
 Return choice. More...
 
Choice choice (const Space &home, Archive &e)
 Return choice. More...
 
void commit (Space &home, const Choice &c, unsigned a)
 Commit to choice. More...
 
void update (Space &home, bool share, ValRnd &vs)
 Updating during cloning. More...
 
void dispose (Space &home)
 Delete value selection. More...
 

Static Public Attributes

static const unsigned int alternatives = 1
 Number of alternatives. More...
 
- Static Public Attributes inherited from Gecode::Int::Branch::ValRnd< View >
static const unsigned int alternatives
 Number of alternatives. More...
 

Additional Inherited Members

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

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.

Definition at line 277 of file branch.hh.


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