Generated on Thu Feb 14 2013 21:00:08 for Gecode by doxygen 1.8.3.1
Gecode::Set::Branch::ValMax< inc > Class Template Reference

Class for selecting maximum value. More...

#include <branch.hh>

Public Member Functions

 ValMax (void)
 Default constructor. More...
 
 ValMax (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization. More...
 
int val (Space &home, SetView x) const
 Return maximum value of view x. More...
 
ModEvent tell (Space &home, unsigned int a, SetView x, int v)
 Tell $v\in x$ (a = 0) or $v\notin x$ (a = 1) More...
 
- Public Member Functions inherited from Gecode::ValSelBase< SetView, 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< SetView, int >
typedef SetView View
 View type. More...
 
typedef int Val
 Value type. More...
 
typedef EmptyValSelChoice Choice
 Choice type. More...
 
- Static Public Attributes inherited from Gecode::ValSelBase< SetView, int >
static const unsigned int alternatives
 Number of alternatives. More...
 

Detailed Description

template<bool inc>
class Gecode::Set::Branch::ValMax< inc >

Class for selecting maximum value.

All value selection classes require

Definition at line 110 of file branch.hh.

Constructor & Destructor Documentation

template<bool inc>
Gecode::Set::Branch::ValMax< inc >::ValMax ( void  )
inline

Default constructor.

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

template<bool inc>
Gecode::Set::Branch::ValMax< inc >::ValMax ( Space home,
const ValBranchOptions vbo 
)
inline

Constructor for initialization.

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

Member Function Documentation

template<bool inc>
int Gecode::Set::Branch::ValMax< inc >::val ( Space home,
SetView  x 
) const
inline

Return maximum value of view x.

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

template<bool inc>
ModEvent Gecode::Set::Branch::ValMax< inc >::tell ( Space home,
unsigned int  a,
SetView  x,
int  v 
)
inline

Tell $v\in x$ (a = 0) or $v\notin x$ (a = 1)

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


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