Generated on Thu Mar 22 10:40:00 2012 for Gecode by doxygen 1.6.3

Gecode::Set::Branch::ValMax< inc > Class Template Reference
[Set value selection for brancher]

Class for selecting maximum value. More...

#include <branch.hh>

List of all members.

Public Member Functions

 ValMax (void)
 Default constructor.
 ValMax (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization.
int val (Space &home, SetView x) const
 Return maximum value of view x.
ModEvent tell (Space &home, unsigned int a, SetView x, int v)
 Tell $v\in x$ (a = 0) or $v\notin x$ (a = 1).

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: