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

Gecode::Int::Branch::ValMed< 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::ValMed< View >

Class for selecting maximum value.

Requires

Definition at line 85 of file branch.hh.


Public Member Functions

int val (const Space *home, View x) const
 Return maximum 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).
void branchingSpec (const Space *home, Reflection::VarMap &m, Reflection::BranchingSpec &bs, int alt, View x, int 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>
int Gecode::Int::Branch::ValMed< View >::val ( const Space home,
View  x 
) const [inline]

Return maximum value of view x.

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

template<class View>
ModEvent Gecode::Int::Branch::ValMed< 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 84 of file select-val.icc.

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

Type of this value selection (for reflection).

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

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

Specification of a branch (for reflection).

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


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