Value selection class for maximum of view. More...
#include <branch.hh>
Public Member Functions | |
ValSelMax (Space &home, const ValBranch &vb) | |
Constructor for initialization. | |
ValSelMax (Space &home, bool shared, ValSelMax &vs) | |
Constructor for cloning. | |
int | val (const Space &home, View x, int i) |
Return value of view x at position i. |
Value selection class for maximum of view.
Requires
#include <gecode/int/branch.hh>
Gecode::Int::Branch::ValSelMax< View >::ValSelMax | ( | Space & | home, |
const ValBranch & | vb | ||
) | [inline] |
Constructor for initialization.
Definition at line 56 of file val-sel.hpp.
Gecode::Int::Branch::ValSelMax< View >::ValSelMax | ( | Space & | home, |
bool | shared, | ||
ValSelMax< View > & | vs | ||
) | [inline] |
Constructor for cloning.
Definition at line 60 of file val-sel.hpp.
int Gecode::Int::Branch::ValSelMax< View >::val | ( | const Space & | home, |
View | x, | ||
int | i | ||
) | [inline] |
Return value of view x at position i.
Definition at line 64 of file val-sel.hpp.