View selection class for view with smallest max. More...
#include <branch.hh>
Public Member Functions | |
ByMaxMin (void) | |
Default constructor. | |
ByMaxMin (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 smallest maximum. |
Gecode::Int::Branch::ByMaxMin::ByMaxMin | ( | void | ) | [inline] |
Default constructor.
Definition at line 86 of file select-view.hpp.
Gecode::Int::Branch::ByMaxMin::ByMaxMin | ( | Space & | home, |
const VarBranchOptions & | vbo | ||
) | [inline] |
Constructor for initialization.
Definition at line 88 of file select-view.hpp.
ViewSelStatus Gecode::Int::Branch::ByMaxMin::init | ( | Space & | home, |
IntView | x | ||
) | [inline] |
Intialize with view x.
Definition at line 91 of file select-view.hpp.
ViewSelStatus Gecode::Int::Branch::ByMaxMin::select | ( | Space & | home, |
IntView | x | ||
) | [inline] |
Possibly select better view x.
Definition at line 96 of file select-view.hpp.
int Gecode::Int::Branch::ByMaxMin::max [protected] |