View selection class for view with smallest size divided by degree. More...
#include <branch.hh>
Public Member Functions | |
BySizeDegreeMin (void) | |
Default constructor. | |
BySizeDegreeMin (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 | |
double | sizedegree |
So-far smallest size/degree. |
View selection class for view with smallest size divided by degree.
Requires
#include <gecode/int/branch.hh>
Gecode::Int::Branch::BySizeDegreeMin::BySizeDegreeMin | ( | void | ) | [inline] |
Default constructor.
Definition at line 176 of file select-view.hpp.
Gecode::Int::Branch::BySizeDegreeMin::BySizeDegreeMin | ( | Space & | home, |
const VarBranchOptions & | vbo | ||
) | [inline] |
Constructor for initialization.
Definition at line 178 of file select-view.hpp.
ViewSelStatus Gecode::Int::Branch::BySizeDegreeMin::init | ( | Space & | home, |
IntView | x | ||
) | [inline] |
Intialize with view x.
Definition at line 181 of file select-view.hpp.
ViewSelStatus Gecode::Int::Branch::BySizeDegreeMin::select | ( | Space & | home, |
IntView | x | ||
) | [inline] |
Possibly select better view x.
Definition at line 187 of file select-view.hpp.
double Gecode::Int::Branch::BySizeDegreeMin::sizedegree [protected] |