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

Class for trying zero and then one. More...

#include <branch.hh>

List of all members.

Public Member Functions

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

Detailed Description

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

Class for trying zero and then one.

Requires

Definition at line 206 of file branch.hh.


Constructor & Destructor Documentation

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

Default constructor.

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

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

Constructor for initialization.

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


Member Function Documentation

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

Return no value of view x.

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

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

Tell $x=0$ (a = 0) or $x=1$ (a = 1)

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


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