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

Gecode::Set::Branch::ValMax Class Reference
[Set value selection for branching]

#include <branch.hh>

List of all members.


Detailed Description

Class for selecting maximum value.

All value selection classes require

Definition at line 90 of file branch.hh.


Public Member Functions

int val (const 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).
void branchingSpec (const Space *home, Reflection::VarMap &m, Reflection::BranchingSpec &bs, int alt, SetView 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

int Gecode::Set::Branch::ValMax::val ( const Space home,
SetView  x 
) const [inline]

Return maximum value of view x.

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

ModEvent Gecode::Set::Branch::ValMax::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 89 of file select-val.icc.

Support::Symbol Gecode::Set::Branch::ValMax::type ( void   )  [inline, static]

Type of this value selection (for reflection).

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

void Gecode::Set::Branch::ValMax::branchingSpec ( const Space home,
Reflection::VarMap m,
Reflection::BranchingSpec bs,
int  alt,
SetView  x,
int  n 
) const [inline]

Specification of a branch (for reflection).

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


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