Gecode::ViewSelBase< _View > Class Template Reference
[Generic view selection for brancher based on view and value selection]
Base class for view selection. More...
#include <brancher-view.hpp>
Public Types | |
| typedef _View | View |
| View type. | |
| typedef EmptyViewSelChoice | Choice |
| View selection choice. | |
Public Member Functions | |
| ViewSelBase (void) | |
| Default constructor. | |
| ViewSelBase (Space &home, const VarBranchOptions &vbo) | |
| Constructor for initialization. | |
| EmptyViewSelChoice | choice (Space &home) |
| Return choice. | |
| EmptyViewSelChoice | choice (const Space &home, Archive &e) |
| Return choice. | |
| void | commit (Space &home, const EmptyViewSelChoice &c, unsigned a) |
| Commit to choice. | |
| void | update (Space &home, bool share, ViewSelBase &vs) |
| Updating during cloning. | |
| void | dispose (Space &home) |
| Delete view selection. | |
Detailed Description
template<class _View>
class Gecode::ViewSelBase< _View >
Base class for view selection.
Definition at line 59 of file brancher-view.hpp.
Member Typedef Documentation
| typedef _View Gecode::ViewSelBase< _View >::View |
View type.
Definition at line 62 of file brancher-view.hpp.
| typedef EmptyViewSelChoice Gecode::ViewSelBase< _View >::Choice |
View selection choice.
Definition at line 64 of file brancher-view.hpp.
Constructor & Destructor Documentation
| Gecode::ViewSelBase< View >::ViewSelBase | ( | void | ) | [inline] |
Default constructor.
Definition at line 234 of file brancher-view.hpp.
| Gecode::ViewSelBase< View >::ViewSelBase | ( | Space & | home, | |
| const VarBranchOptions & | vbo | |||
| ) | [inline] |
Constructor for initialization.
Definition at line 237 of file brancher-view.hpp.
Member Function Documentation
| EmptyViewSelChoice Gecode::ViewSelBase< View >::choice | ( | Space & | home | ) | [inline] |
Return choice.
Definition at line 240 of file brancher-view.hpp.
| EmptyViewSelChoice Gecode::ViewSelBase< View >::choice | ( | const Space & | home, | |
| Archive & | e | |||
| ) | [inline] |
Return choice.
Definition at line 245 of file brancher-view.hpp.
| void Gecode::ViewSelBase< View >::commit | ( | Space & | home, | |
| const EmptyViewSelChoice & | c, | |||
| unsigned | a | |||
| ) | [inline] |
Commit to choice.
Definition at line 250 of file brancher-view.hpp.
| void Gecode::ViewSelBase< View >::update | ( | Space & | home, | |
| bool | share, | |||
| ViewSelBase< _View > & | vs | |||
| ) | [inline] |
Updating during cloning.
Definition at line 253 of file brancher-view.hpp.
| void Gecode::ViewSelBase< View >::dispose | ( | Space & | home | ) | [inline] |
Delete view selection.
Definition at line 256 of file brancher-view.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/brancher-view.hpp (Revision: 12001)
