Gecode::Set::Branch::BySizeDegreeMax Class Reference
[Integer view selection for brancher]
View selection class for view with largest cardinality of lub-glb divided by degree. More...
#include <branch.hh>
Public Member Functions | |
BySizeDegreeMax (void) | |
Default constructor. | |
BySizeDegreeMax (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 | sizedegree |
So-far largest size/degree. |
Detailed Description
View selection class for view with largest cardinality of lub-glb divided by degree.
Requires
#include <gecode/set/branch.hh>
Definition at line 371 of file branch.hh.
Constructor & Destructor Documentation
Gecode::Set::Branch::BySizeDegreeMax::BySizeDegreeMax | ( | void | ) | [inline] |
Default constructor.
Definition at line 226 of file select-view.hpp.
Gecode::Set::Branch::BySizeDegreeMax::BySizeDegreeMax | ( | Space & | home, | |
const VarBranchOptions & | vbo | |||
) | [inline] |
Constructor for initialization.
Definition at line 228 of file select-view.hpp.
Member Function Documentation
ViewSelStatus Gecode::Set::Branch::BySizeDegreeMax::init | ( | Space & | home, | |
SetView | x | |||
) | [inline] |
Intialize with view x.
Definition at line 231 of file select-view.hpp.
ViewSelStatus Gecode::Set::Branch::BySizeDegreeMax::select | ( | Space & | home, | |
SetView | x | |||
) | [inline] |
Possibly select better view x.
Definition at line 239 of file select-view.hpp.
Member Data Documentation
double Gecode::Set::Branch::BySizeDegreeMax::sizedegree [protected] |
The documentation for this class was generated from the following files:
- gecode/set/branch.hh (Revision: 12001)
- gecode/set/branch/select-view.hpp (Revision: 9897)