
Custom value selection class for a view-value branching. More...
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 (a = 0) or (a = 1) | |
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.
| BACP::ValBestLoad< minimize >::ValBestLoad | ( | void | ) | [inline] |
| BACP::ValBestLoad< minimize >::ValBestLoad | ( | Space & | home, |
| const ValBranchOptions & | vbo | ||
| ) | [inline] |
| int BACP::ValBestLoad< minimize >::val | ( | Space & | home, |
| Int::IntView | x | ||
| ) | const [inline] |
| ModEvent BACP::ValBestLoad< minimize >::tell | ( | Space & | home, |
| unsigned int | a, | ||
| Int::IntView | x, | ||
| int | n | ||
| ) | [inline] |