Gecode::Int::Branch::ByRegretMinMax Class Reference
[Integer view selection for branching]
View selection class for view with largest min-regret.
More...
#include <branch.hh>
Public Member Functions | |
| ByRegretMinMax (void) | |
| Default constructor. | |
| ByRegretMinMax (Space &home, const VarBranchOptions &vbo) | |
| Constructor for initialization. | |
| ViewSelStatus | init (Space &home, IntView x) |
| Intialize with view x. | |
| ViewSelStatus | select (Space &home, IntView x) |
| Possibly select better view x. | |
Protected Attributes | |
| unsigned int | regret |
| So-far largest regret. | |
Detailed Description
View selection class for view with largest min-regret.Requires
#include <gecode/int/branch.hh>
Definition at line 455 of file branch.hh.
Constructor & Destructor Documentation
| Gecode::Int::Branch::ByRegretMinMax::ByRegretMinMax | ( | void | ) | [inline] |
| Gecode::Int::Branch::ByRegretMinMax::ByRegretMinMax | ( | Space & | home, | |
| const VarBranchOptions & | vbo | |||
| ) | [inline] |
Member Function Documentation
| ViewSelStatus Gecode::Int::Branch::ByRegretMinMax::init | ( | Space & | home, | |
| IntView | x | |||
| ) | [inline] |
| ViewSelStatus Gecode::Int::Branch::ByRegretMinMax::select | ( | Space & | home, | |
| IntView | x | |||
| ) | [inline] |
Member Data Documentation
unsigned int Gecode::Int::Branch::ByRegretMinMax::regret [protected] |
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 9095)
- gecode/int/branch/select-view.hpp (Revision: 8280)
