Generated on Mon Aug 25 11:35:50 2008 for Gecode by doxygen 1.5.6

Gecode::Int::Branch::ValOneZero< View > Class Template Reference
[Integer value selection for branching]

#include <branch.hh>

List of all members.


Detailed Description

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

Class for trying one and then zero.

Requires

Definition at line 207 of file branch.hh.


Public Member Functions

NoValue val (const Space *home, View x) const
 Return no value of view x.
ModEvent tell (Space *home, unsigned int a, View x, NoValue n)
 Tell $x=1$ (a = 0) or $x=0$ (a = 1).
void branchingSpec (const Space *home, Reflection::VarMap &m, Reflection::BranchingSpec &bs, int alt, View x, NoValue n) const
 Specification of a branch (for reflection).

Static Public Member Functions

static Support::Symbol type (void)
 Type of this value selection (for reflection).

Member Function Documentation

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

Return no value of view x.

Definition at line 303 of file select-val.icc.

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

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

Definition at line 308 of file select-val.icc.

template<class View>
Support::Symbol Gecode::Int::Branch::ValOneZero< View >::type ( void   )  [inline, static]

Type of this value selection (for reflection).

Definition at line 313 of file select-val.icc.

template<class View>
void Gecode::Int::Branch::ValOneZero< View >::branchingSpec ( const Space home,
Reflection::VarMap m,
Reflection::BranchingSpec bs,
int  alt,
View  x,
NoValue  n 
) const [inline]

Specification of a branch (for reflection).

Definition at line 318 of file select-val.icc.


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