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