
View selection class for view with largest cardinality of lub-glb divided by accumulated failure count. More...
#include <branch.hh>
Public Member Functions | |
| BySizeAfcMax (void) | |
| Default constructor. | |
| BySizeAfcMax (Space &home, const VarBranchOptions &vbo) | |
| Constructor for initialization. | |
| ViewSelStatus | init (Space &home, SetView x) |
| Intialize with view x. | |
| ViewSelStatus | select (Space &home, SetView x) |
| Possibly select better view x. | |
Protected Attributes | |
| double | sizeafc |
| So-far largest size/afc. | |
View selection class for view with largest cardinality of lub-glb divided by accumulated failure count.
Requires
#include <gecode/set/branch.hh>
| Gecode::Set::Branch::BySizeAfcMax::BySizeAfcMax | ( | void | ) | [inline] |
Default constructor.
Definition at line 281 of file select-view.hpp.
| Gecode::Set::Branch::BySizeAfcMax::BySizeAfcMax | ( | Space & | home, |
| const VarBranchOptions & | vbo | ||
| ) | [inline] |
Constructor for initialization.
Definition at line 283 of file select-view.hpp.
| ViewSelStatus Gecode::Set::Branch::BySizeAfcMax::init | ( | Space & | home, |
| SetView | x | ||
| ) | [inline] |
Intialize with view x.
Definition at line 286 of file select-view.hpp.
| ViewSelStatus Gecode::Set::Branch::BySizeAfcMax::select | ( | Space & | home, |
| SetView | x | ||
| ) | [inline] |
Possibly select better view x.
Definition at line 292 of file select-view.hpp.
double Gecode::Set::Branch::BySizeAfcMax::sizeafc [protected] |