Generated on Wed Jan 4 17:49:20 2006 for Gecode by doxygen 1.4.6

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

#include <branch.hh>

List of all members.


Detailed Description

Class for selecting median value.

Requires

 #include "int/branch.hh" 

Definition at line 75 of file branch.hh.

Public Member Functions

int val (IntView x)
 Return median value of view x.
ModEvent tell (Space *home, unsigned int a, IntView x, int n)
 Tell $x=n$ (a = 0) or $x\neq n$ (a = 1).


Member Function Documentation

int Gecode::Int::Branch::ValMax::val IntView  x  )  [inline]
 

Return median value of view x.

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

ModEvent Gecode::Int::Branch::ValMax::tell Space home,
unsigned int  a,
IntView  x,
int  n
[inline]
 

Tell $x=n$ (a = 0) or $x\neq n$ (a = 1).

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


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