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