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 265 of file branch.hh.
Public Member Functions | |
ViewSelStatus | init (IntView x) |
Intialize with view x. | |
ViewSelStatus | select (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 | ( | IntView | x | ) | [inline] |
ViewSelStatus Gecode::Int::Branch::ByDegreeMax::select | ( | 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: 3259)
- gecode/int/branch/select-view.icc (Revision: 2072)