Gecode::Int::Branch::ByDegreeMin Class Reference
[Integer view selection for branching]
#include <branch.hh>
Detailed Description
View selection class for view with smallest degree (and smallest size in case of ties).Requires
#include "gecode/int/branch.hh"
Definition at line 247 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 smallest degree. | |
| unsigned int | size |
| So-far smallest size for degree. | |
Member Function Documentation
| ViewSelStatus Gecode::Int::Branch::ByDegreeMin::init | ( | const Space * | home, | |
| IntView | x | |||
| ) | [inline] |
| ViewSelStatus Gecode::Int::Branch::ByDegreeMin::select | ( | const Space * | home, | |
| IntView | x | |||
| ) | [inline] |
Member Data Documentation
unsigned int Gecode::Int::Branch::ByDegreeMin::degree [protected] |
unsigned int Gecode::Int::Branch::ByDegreeMin::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)
