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