Generated on Thu Feb 14 2013 20:59:59 for Gecode by doxygen 1.8.3.1
Gecode::Int::Branch::ValRangeMin< View > Class Template Reference

Class for trying the first range of a domain first or splitting domain at mean of smallest and largest element (lower half first) More...

#include <branch.hh>

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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

Class for trying the first range of a domain first or splitting domain at mean of smallest and largest element (lower half first)

Requires

Definition at line 167 of file branch.hh.

Constructor & Destructor Documentation

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

Default constructor.

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

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

Constructor for initialization.

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

Member Function Documentation

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

Return minimum value of view x.

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

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

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

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


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