Gecode::ViewSelDegreeMin< View > Class Template Reference
[Generic view selection for brancher based on view and value selection]
View selection class for view with smallest degree. More...
#include <brancher-view.hpp>
Public Member Functions | |
ViewSelDegreeMin (void) | |
Default constructor. | |
ViewSelDegreeMin (Space &home, const VarBranchOptions &vbo) | |
Constructor for initialization. | |
ViewSelStatus | init (Space &home, View x) |
Intialize with view x. | |
ViewSelStatus | select (Space &home, View x) |
Possibly select better view x. | |
Protected Attributes | |
unsigned int | degree |
So-far smallest degree. |
Detailed Description
template<class View>
class Gecode::ViewSelDegreeMin< View >
View selection class for view with smallest degree.
Definition at line 101 of file brancher-view.hpp.
Constructor & Destructor Documentation
template<class View >
Gecode::ViewSelDegreeMin< View >::ViewSelDegreeMin | ( | void | ) | [inline] |
Default constructor.
Definition at line 282 of file brancher-view.hpp.
template<class View >
Gecode::ViewSelDegreeMin< View >::ViewSelDegreeMin | ( | Space & | home, | |
const VarBranchOptions & | vbo | |||
) | [inline] |
Constructor for initialization.
Definition at line 285 of file brancher-view.hpp.
Member Function Documentation
template<class View >
ViewSelStatus Gecode::ViewSelDegreeMin< View >::init | ( | Space & | home, | |
View | x | |||
) | [inline] |
Intialize with view x.
Definition at line 290 of file brancher-view.hpp.
template<class View >
ViewSelStatus Gecode::ViewSelDegreeMin< View >::select | ( | Space & | home, | |
View | x | |||
) | [inline] |
Possibly select better view x.
Definition at line 296 of file brancher-view.hpp.
Member Data Documentation
template<class View >
unsigned int Gecode::ViewSelDegreeMin< View >::degree [protected] |
So-far smallest degree.
Definition at line 104 of file brancher-view.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/brancher-view.hpp (Revision: 12001)