Generated on Fri Jan 10 2020 11:38:25 for Gecode by doxygen 1.8.16
Gecode::ViewSelMinTbl< Merit > Class Template Reference

Select view with least merit taking tie-break limit into account. More...

#include <view-sel.hpp>

Initialization

 ViewSelMinTbl (Space &home, const VarBranch< Var > &vb)
 Constructor for initialization. More...
 
 ViewSelMinTbl (Space &home, ViewSelMinTbl< Merit > &vs)
 Constructor for copying during cloning. More...
 

Resource management and cloning

virtual ViewSel< View > * copy (Space &home)
 Create copy during cloning. More...
 

Additional Inherited Members

- Public Types inherited from Gecode::ViewSel< Merit::View >
typedef Merit::View View
 Define the view type. More...
 
typedef View::VarType Var
 The corresponding variable type. More...
 
- Public Member Functions inherited from Gecode::ViewSelChooseTbl< ChooseMin, Merit >
 ViewSelChooseTbl (Space &home, const VarBranch< Var > &vb)
 Constructor for initialization. More...
 
 ViewSelChooseTbl (Space &home, ViewSelChooseTbl< ChooseMin, 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, BrancherFilter< View > &f)
 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...
 
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...
 
- Public Member Functions inherited from Gecode::ViewSelChoose< ChooseMin, Merit >
 ViewSelChoose (Space &home, const VarBranch< Var > &vb)
 Constructor for creation. More...
 
 ViewSelChoose (Space &home, ViewSelChoose< ChooseMin, 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, BrancherFilter< View > &f)
 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...
 
- Public Member Functions inherited from Gecode::ViewSel< Merit::View >
 ViewSel (Space &home, const VarBranch< Var > &vb)
 Constructor for creation. More...
 
 ViewSel (Space &home, ViewSel< View > &vs)
 Constructor for copying during cloning. More...
 
virtual int select (Space &home, ViewArray< View > &x, int s, BrancherNoFilter< View > &f)
 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, BrancherNoFilter< View > &f)
 Select ties from x starting from s. More...
 
virtual ~ViewSel (void)
 Unused destructor. More...
 
- Static Public Member Functions inherited from Gecode::ViewSel< Merit::View >
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...
 
- Protected Types inherited from Gecode::ViewSelChooseTbl< ChooseMin, Merit >
typedef ViewSelChoose< ChooseMin, Merit >::Val Val
 
typedef ViewSelChoose< ChooseMin, Merit >::View View
 
typedef ViewSelChoose< ChooseMin, Merit >::Var Var
 
- Protected Types inherited from Gecode::ViewSelChoose< ChooseMin, Merit >
typedef ViewSel< typename Merit::View >::Var Var
 
typedef ViewSel< typename Merit::View >::View View
 
typedef Merit::Val Val
 Type of merit. More...
 
- Protected Attributes inherited from Gecode::ViewSelChooseTbl< ChooseMin, Merit >
SharedData< BranchTbltbl
 Tie-break limit function. More...
 
- Protected Attributes inherited from Gecode::ViewSelChoose< ChooseMin, Merit >
ChooseMin c
 How to choose. More...
 
Merit m
 The merit object used. More...
 

Detailed Description

template<class Merit>
class Gecode::ViewSelMinTbl< Merit >

Select view with least merit taking tie-break limit into account.

Definition at line 315 of file view-sel.hpp.

Constructor & Destructor Documentation

◆ ViewSelMinTbl() [1/2]

template<class Merit >
Gecode::ViewSelMinTbl< Merit >::ViewSelMinTbl ( Space home,
const VarBranch< Var > &  vb 
)
inline

Constructor for initialization.

Definition at line 864 of file view-sel.hpp.

◆ ViewSelMinTbl() [2/2]

template<class Merit >
Gecode::ViewSelMinTbl< Merit >::ViewSelMinTbl ( Space home,
ViewSelMinTbl< Merit > &  vs 
)
inline

Constructor for copying during cloning.

Definition at line 869 of file view-sel.hpp.

Member Function Documentation

◆ copy()

template<class Merit >
ViewSel< typename ViewSelMinTbl< Merit >::View > * Gecode::ViewSelMinTbl< Merit >::copy ( Space home)
virtual

Create copy during cloning.

Implements Gecode::ViewSel< Merit::View >.

Definition at line 874 of file view-sel.hpp.


The documentation for this class was generated from the following file: