
Virtualized view selection base class. More...
#include <brancher-tiebreak.hpp>
Public Member Functions | |
| virtual ViewSelStatus | init (Space &home, View x)=0 |
| Intialize with view x. | |
| virtual ViewSelStatus | select (Space &home, View x)=0 |
| Possibly select better view x. | |
| virtual ChoiceVirtualBase * | choice (Space &home)=0 |
| Return choice. | |
| virtual ChoiceVirtualBase * | choice (const Space &home, Archive &e)=0 |
| Return choice. | |
| virtual void | commit (Space &home, const ChoiceVirtualBase *c, unsigned int a)=0 |
| Commit to choice. | |
| virtual ViewSelVirtualBase < View > * | copy (Space &home, bool share)=0 |
| Create copy. | |
| virtual size_t | dispose (Space &home)=0 |
| Delete view selection and return its size. | |
Memory management | |
| static void * | operator new (size_t s, Space &home) |
| Allocate memory from space. | |
| static void | operator delete (void *p, Space &home) |
| No-op for exceptions. | |
| static void | operator delete (void *) |
| Needed for exceptions. | |
Virtualized view selection base class.
Definition at line 119 of file brancher-tiebreak.hpp.
|
pure virtual |
Intialize with view x.
Implemented in Gecode::ViewSelVirtual< ViewSel >.
|
pure virtual |
Possibly select better view x.
Implemented in Gecode::ViewSelVirtual< ViewSel >.
|
pure virtual |
Return choice.
Implemented in Gecode::ViewSelVirtual< ViewSel >.
|
pure virtual |
Return choice.
Implemented in Gecode::ViewSelVirtual< ViewSel >.
|
pure virtual |
Commit to choice.
Implemented in Gecode::ViewSelVirtual< ViewSel >.
|
pure virtual |
Create copy.
Implemented in Gecode::ViewSelVirtual< ViewSel >.
|
pure virtual |
Delete view selection and return its size.
Implemented in Gecode::ViewSelVirtual< ViewSel >.
|
inlinestatic |
Allocate memory from space.
Definition at line 362 of file brancher-tiebreak.hpp.
|
inlinestatic |
No-op for exceptions.
Definition at line 359 of file brancher-tiebreak.hpp.
|
inlinestatic |
Needed for exceptions.
Definition at line 356 of file brancher-tiebreak.hpp.