Gecode::Int::Branch::ByDegreeMax Class Reference
[Integer view selection for branching]
#include <branch.hh>
Detailed Description
View selection class for view with largest degree (and smallest size in case of ties).Requires
#include "gecode/int/branch.hh"
Definition at line 266 of file branch.hh.
Public Member Functions | |
| ViewSelStatus | init (const Space *home, IntView x) |
| Intialize with view x. | |
| ViewSelStatus | select (const Space *home, IntView x) |
| Possibly select better view x. | |
Protected Attributes | |
| unsigned int | degree |
| So-far largest degree. | |
| unsigned int | size |
| So-far smallest size for degree. | |
Member Function Documentation
| ViewSelStatus Gecode::Int::Branch::ByDegreeMax::init | ( | const Space * | home, | |
| IntView | x | |||
| ) | [inline] |
| ViewSelStatus Gecode::Int::Branch::ByDegreeMax::select | ( | const Space * | home, | |
| IntView | x | |||
| ) | [inline] |
Member Data Documentation
unsigned int Gecode::Int::Branch::ByDegreeMax::degree [protected] |
unsigned int Gecode::Int::Branch::ByDegreeMax::size [protected] |
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 3512)
- gecode/int/branch/select-view.icc (Revision: 3512)
