Generated on Sat Aug 25 2012 15:53:08 for Gecode by doxygen 1.7.5
BACP::ValBestLoad Class Reference

Custom value selection class for a view-value branching. More...

List of all members.

Public Member Functions

 ValBestLoad (void)
 Default constructor.
 ValBestLoad (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization.
int val (Space &home, Int::IntView x) const
 Return minimum value of view x.
ModEvent tell (Space &home, unsigned int a, Int::IntView x, int n)
 Tell $x=n$ (a = 0) or $x\neq n$ (a = 1)

Detailed Description

Custom value selection class for a view-value branching.

The value choosen is the value with the minimum load if the parameter minimize is true, otherwize it chooses the value for maximum load.


Constructor & Destructor Documentation

BACP::ValBestLoad::ValBestLoad ( void  ) [inline]

Default constructor.

Definition at line 229 of file bacp.cpp.

BACP::ValBestLoad::ValBestLoad ( Space home,
const ValBranchOptions vbo 
) [inline]

Constructor for initialization.

Definition at line 232 of file bacp.cpp.


Member Function Documentation

int BACP::ValBestLoad::val ( Space home,
Int::IntView  x 
) const [inline]

Return minimum value of view x.

Definition at line 236 of file bacp.cpp.

ModEvent BACP::ValBestLoad::tell ( Space home,
unsigned int  a,
Int::IntView  x,
int  n 
) [inline]

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

Definition at line 255 of file bacp.cpp.


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