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