Generated on Mon Aug 27 2012 17:16:02 for Gecode by doxygen 1.8.1.2
Gecode::Int::Branch::ValMin< View > Class Template Reference

Class for selecting minimum value. More...

#include <branch.hh>

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from Gecode::ValSelBase< View, int >
typedef View View
 View type.
typedef int Val
 Value type.
typedef EmptyValSelChoice Choice
 Choice type.
- Static Public Attributes inherited from Gecode::ValSelBase< View, int >
static const unsigned int alternatives
 Number of alternatives.

Detailed Description

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

Class for selecting minimum value.

All value selection classes require

Definition at line 63 of file branch.hh.

Constructor & Destructor Documentation

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

Default constructor.

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

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

Constructor for initialization.

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

Member Function Documentation

template<class View >
int Gecode::Int::Branch::ValMin< View >::val ( Space home,
View  x 
) const
inline

Return minimum value of view x.

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

template<class View >
ModEvent Gecode::Int::Branch::ValMin< View >::tell ( Space home,
unsigned int  a,
View  x,
int  n 
)
inline

Tell $x=n$ (a = 0) or $x\neq n$ (a = 1)

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


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