Generated on Sat Aug 25 2012 15:53:11 for Gecode by doxygen 1.7.5
Gecode::Int::Branch::ValMed Class Reference

Class for selecting median value. More...

#include <branch.hh>

List of all members.

Public Member Functions

 ValMed (void)
 Default constructor.
 ValMed (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization.
int val (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)

Detailed Description

Class for selecting median value.

Requires


Constructor & Destructor Documentation

Gecode::Int::Branch::ValMed::ValMed ( void  ) [inline]

Default constructor.

Definition at line 60 of file select-val.hpp.

Gecode::Int::Branch::ValMed::ValMed ( Space home,
const ValBranchOptions vbo 
) [inline]

Constructor for initialization.

Definition at line 63 of file select-val.hpp.


Member Function Documentation

int Gecode::Int::Branch::ValMed::val ( Space home,
View  x 
) const [inline]

Return maximum value of view x.

Definition at line 67 of file select-val.hpp.

ModEvent Gecode::Int::Branch::ValMed::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 72 of file select-val.hpp.


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