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. More... | |
virtual ViewSelStatus | select (Space &home, View x)=0 |
Possibly select better view x. More... | |
virtual ChoiceVirtualBase * | choice (Space &home)=0 |
Return choice. More... | |
virtual ChoiceVirtualBase * | choice (const Space &home, Archive &e)=0 |
Return choice. More... | |
virtual void | commit (Space &home, const ChoiceVirtualBase *c, unsigned int a)=0 |
Commit to choice. More... | |
virtual ViewSelVirtualBase < View > * | copy (Space &home, bool share)=0 |
Create copy. More... | |
virtual size_t | dispose (Space &home)=0 |
Delete view selection and return its size. More... | |
Memory management | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. More... | |
static void | operator delete (void *p, Space &home) |
No-op for exceptions. More... | |
static void | operator delete (void *) |
Needed for exceptions. More... | |
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.