Gecode::ViewSelTieBreakDynamic< _View > Class Template Reference
[Generic view tie-breaking for branching based on view and value selection]
View selection class for dynamic tie breaking.
More...
#include <branching-tiebreak.hpp>
Classes | |
| class | Desc |
| Description for tie breakers. More... | |
Public Types | |
| typedef _View | View |
| View type. | |
Public Member Functions | |
| ViewSelTieBreakDynamic (void) | |
| Default constructor. | |
| ViewSelTieBreakDynamic (Space &home, ViewSelVirtualBase< _View > **vsv, int n) | |
| Constructor for initialization. | |
| ViewSelStatus | init (Space &home, _View x) |
| Intialize with view x. | |
| ViewSelStatus | select (Space &home, _View x) |
| Possibly select better view x. | |
| Desc | description (Space &home) |
| Return description. | |
| void | commit (Space &home, const Desc &d, unsigned a) |
| Commit to description. | |
| void | update (Space &home, bool share, ViewSelTieBreakDynamic &vs) |
| Updating during cloning. | |
| void | dispose (Space &home) |
| Delete view selection. | |
Protected Attributes | |
| int | n |
| Number of tie breakers. | |
| ViewSelVirtualBase< _View > ** | tb |
| Tie breakers. | |
Detailed Description
template<class _View>
class Gecode::ViewSelTieBreakDynamic< _View >
View selection class for dynamic tie breaking.
Definition at line 188 of file branching-tiebreak.hpp.
Member Typedef Documentation
template<class _View>
| typedef _View Gecode::ViewSelTieBreakDynamic< _View >::View |
Constructor & Destructor Documentation
template<class View >
| Gecode::ViewSelTieBreakDynamic< View >::ViewSelTieBreakDynamic | ( | void | ) | [inline] |
template<class View >
| Gecode::ViewSelTieBreakDynamic< View >::ViewSelTieBreakDynamic | ( | Space & | home, | |
| ViewSelVirtualBase< _View > ** | vsv, | |||
| int | n | |||
| ) | [inline] |
Member Function Documentation
template<class View >
| ViewSelStatus Gecode::ViewSelTieBreakDynamic< View >::init | ( | Space & | home, | |
| _View | x | |||
| ) | [inline] |
template<class View >
| ViewSelStatus Gecode::ViewSelTieBreakDynamic< View >::select | ( | Space & | home, | |
| _View | x | |||
| ) | [inline] |
template<class View >
| ViewSelTieBreakDynamic< View >::Desc Gecode::ViewSelTieBreakDynamic< View >::description | ( | Space & | home | ) | [inline] |
template<class _View>
| void Gecode::ViewSelTieBreakDynamic< _View >::commit | ( | Space & | home, | |
| const Desc & | d, | |||
| unsigned | a | |||
| ) |
Commit to description.
template<class View >
| void Gecode::ViewSelTieBreakDynamic< View >::update | ( | Space & | home, | |
| bool | share, | |||
| ViewSelTieBreakDynamic< _View > & | vs | |||
| ) | [inline] |
template<class View >
| void Gecode::ViewSelTieBreakDynamic< View >::dispose | ( | Space & | home | ) | [inline] |
Member Data Documentation
template<class _View>
int Gecode::ViewSelTieBreakDynamic< _View >::n [protected] |
template<class _View>
ViewSelVirtualBase<_View>** Gecode::ViewSelTieBreakDynamic< _View >::tb [protected] |
The documentation for this class was generated from the following file:
- gecode/kernel/branching-tiebreak.hpp (Revision: 8155)
