View selection class for view with largest max. More...
#include <branch.hh>
Public Member Functions | |
ByMaxMax (void) | |
Default constructor. | |
ByMaxMax (Space &home, const VarBranchOptions &vbo) | |
Constructor for initialization. | |
ViewSelStatus | init (Space &home, IntView x) |
Intialize with view x. | |
ViewSelStatus | select (Space &home, IntView x) |
Possibly select better view x. | |
Protected Attributes | |
int | max |
So-far largest maximum. |
Gecode::Int::Branch::ByMaxMax::ByMaxMax | ( | void | ) | [inline] |
Default constructor.
Definition at line 108 of file select-view.hpp.
Gecode::Int::Branch::ByMaxMax::ByMaxMax | ( | Space & | home, |
const VarBranchOptions & | vbo | ||
) | [inline] |
Constructor for initialization.
Definition at line 110 of file select-view.hpp.
ViewSelStatus Gecode::Int::Branch::ByMaxMax::init | ( | Space & | home, |
IntView | x | ||
) |
Intialize with view x.
ViewSelStatus Gecode::Int::Branch::ByMaxMax::select | ( | Space & | home, |
IntView | x | ||
) |
Possibly select better view x.
int Gecode::Int::Branch::ByMaxMax::max [protected] |