Select view with largest merit taking tie-break limit into account. More...
#include <brancher-view-sel.hpp>
Initialization | |
ViewSelMaxTbl (Space &home, const VarBranch &vb) | |
Constructor for initialization. More... | |
ViewSelMaxTbl (Space &home, bool shared, ViewSelMaxTbl< Merit > &vs) | |
Constructor for copying during cloning. More... | |
Resource management and cloning | |
virtual ViewSel< View > * | copy (Space &home, bool shared) |
Create copy during cloning. More... | |
Additional Inherited Members | |
![]() | |
typedef Merit::View | View |
Define the view type. More... | |
typedef BranchTraits< typename View::VarType >::Filter | BranchFilter |
The branch filter that corresponds to the view type. More... | |
![]() | |
ViewSelChooseTbl (Space &home, const VarBranch &vb) | |
Constructor for initialization. More... | |
ViewSelChooseTbl (Space &home, bool shared, ViewSelChooseTbl< ChooseMax, Merit > &vs) | |
Constructor for copying during cloning. More... | |
virtual void | ties (Space &home, ViewArray< View > &x, int s, int *ties, int &n) |
Select ties from x starting from s. More... | |
virtual void | ties (Space &home, ViewArray< View > &x, int s, int *ties, int &n, BranchFilter bf) |
Select ties from x starting from s. More... | |
virtual void | brk (Space &home, ViewArray< View > &x, int *ties, int &n) |
Break ties in x and update to new ties. More... | |
![]() | |
ViewSelChoose (Space &home, const VarBranch &vb) | |
Constructor for creation. More... | |
ViewSelChoose (Space &home, bool shared, ViewSelChoose< ChooseMax, Merit > &vs) | |
Constructor for copying during cloning. More... | |
virtual int | select (Space &home, ViewArray< View > &x, int s) |
Select a view from x starting from s and return its position. More... | |
virtual int | select (Space &home, ViewArray< View > &x, int s, BranchFilter bf) |
Select a view from x starting from s and return its position. More... | |
virtual int | select (Space &home, ViewArray< View > &x, int *ties, int n) |
Select a view from x considering views with positions in ties. More... | |
virtual bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed) More... | |
virtual void | dispose (Space &home) |
Delete view selection. 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... | |
![]() | |
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... | |
![]() | |
typedef ViewSelChoose< ChooseMax, Merit >::Val | Val |
typedef ViewSelChoose< ChooseMax, Merit >::View | View |
typedef ViewSelChoose< ChooseMax, Merit >::BranchFilter | BranchFilter |
![]() | |
typedef ViewSel< typename Merit::View >::View | View |
typedef ViewSel< typename Merit::View >::BranchFilter | BranchFilter |
typedef Merit::Val | Val |
Type of merit. More... | |
![]() | |
BranchTbl | tbl |
Tie-break limit function. More... | |
![]() | |
ChooseMax | c |
How to choose. More... | |
Merit | m |
The merit object used. More... | |
Select view with largest merit taking tie-break limit into account.
Definition at line 339 of file brancher-view-sel.hpp.
|
inline |
Constructor for initialization.
Definition at line 862 of file brancher-view-sel.hpp.
|
inline |
Constructor for copying during cloning.
Definition at line 867 of file brancher-view-sel.hpp.
|
virtual |
Create copy during cloning.
Implements Gecode::ViewSel< Merit::View >.
Definition at line 873 of file brancher-view-sel.hpp.