Select the first unassigned view. More...
#include <brancher-view-sel.hpp>
Initialization | |
ViewSelNone (Space &home, const VarBranch &vb) | |
Constructor for creation. More... | |
ViewSelNone (Space &home, bool shared, ViewSelNone< View > &vs) | |
Constructor for copying during cloning. More... | |
View selection and tie breaking | |
virtual int | select (Space &home, ViewArray< View > &x, int s) |
Select a view from x starting at s and return its position. More... | |
virtual int | select (Space &home, ViewArray< View > &x, int s, BranchFilter bf) |
Select a view from x starting at s and return its position. More... | |
virtual void | ties (Space &home, ViewArray< View > &x, int s, int *ties, int &n) |
Select ties from x starting at s. More... | |
virtual void | ties (Space &home, ViewArray< View > &x, int s, int *ties, int &n, BranchFilter bf) |
Select ties from x starting at s. More... | |
virtual void | brk (Space &home, ViewArray< View > &x, int *ties, int &n) |
Break ties in x and update to new ties. More... | |
virtual int | select (Space &home, ViewArray< View > &x, int *ties, int n) |
Select a view from x considering view with positions in ties. More... | |
Resource management and cloning | |
virtual ViewSel< View > * | copy (Space &home, bool shared) |
Create copy during cloning. More... | |
Additional Inherited Members | |
![]() | |
typedef View | View |
Define the view type. More... | |
typedef BranchTraits< typename View::VarType >::Filter | BranchFilter |
The branch filter that corresponds to the view type. More... | |
![]() | |
ViewSel (Space &home, const VarBranch &vb) | |
Constructor for creation. More... | |
ViewSel (Space &home, bool shared, ViewSel< View > &vs) | |
Constructor for copying during cloning. More... | |
virtual int | select (Space &home, ViewArray< View > &x, int s, BranchFilter bf)=0 |
Select a view from x starting from s and return its position. More... | |
virtual void | ties (Space &home, ViewArray< View > &x, int s, int *ties, int &n, BranchFilter bf)=0 |
Select ties from x starting from s. More... | |
virtual bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed) More... | |
virtual void | dispose (Space &home) |
Dispose view selection. More... | |
![]() | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. More... | |
static void | operator delete (void *p, Space &home) |
Return memory to space. More... | |
static void | operator delete (void *p) |
Needed for exceptions. More... | |
Select the first unassigned view.
Definition at line 103 of file brancher-view-sel.hpp.
|
inline |
Constructor for creation.
Definition at line 388 of file brancher-view-sel.hpp.
|
inline |
Constructor for copying during cloning.
Definition at line 392 of file brancher-view-sel.hpp.
|
virtual |
Select a view from x starting at s and return its position.
Implements Gecode::ViewSel< View >.
Definition at line 397 of file brancher-view-sel.hpp.
|
virtual |
Select a view from x starting at s and return its position.
Definition at line 402 of file brancher-view-sel.hpp.
|
virtual |
Select ties from x starting at s.
Implements Gecode::ViewSel< View >.
Definition at line 407 of file brancher-view-sel.hpp.
|
virtual |
Select ties from x starting at s.
Definition at line 418 of file brancher-view-sel.hpp.
|
virtual |
Break ties in x and update to new ties.
Implements Gecode::ViewSel< View >.
Definition at line 431 of file brancher-view-sel.hpp.
|
virtual |
Select a view from x considering view with positions in ties.
Implements Gecode::ViewSel< View >.
Definition at line 436 of file brancher-view-sel.hpp.
|
virtual |
Create copy during cloning.
Implements Gecode::ViewSel< View >.
Definition at line 441 of file brancher-view-sel.hpp.