Generated on Sun Feb 17 15:25:20 2019 for Gecode by doxygen 1.6.3

Gecode::Int::Branch::MeritAFCSize< View > Class Template Reference
[Merit-based integer view selection for branchers]

Merit class for AFC over size. More...

#include <branch.hh>

List of all members.

Public Member Functions

 MeritAFCSize (Space &home, const VarBranch< Var > &vb)
 Constructor for initialization.
 MeritAFCSize (Space &home, MeritAFCSize &m)
 Constructor for cloning.
double operator() (const Space &home, View x, int i)
 Return AFC over size as merit for view x at position i.
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed).
void dispose (Space &home)
 Dispose view selection.

Protected Attributes

AFC afc
 AFC information.

Detailed Description

template<class View>
class Gecode::Int::Branch::MeritAFCSize< View >

Merit class for AFC over size.

Requires

Definition at line 141 of file branch.hh.


Constructor & Destructor Documentation

template<class View >
Gecode::Int::Branch::MeritAFCSize< View >::MeritAFCSize ( Space home,
const VarBranch< Var > &  vb 
)

Constructor for initialization.

template<class View >
Gecode::Int::Branch::MeritAFCSize< View >::MeritAFCSize ( Space home,
MeritAFCSize< View > &  m 
) [inline]

Constructor for cloning.

Definition at line 108 of file merit.hpp.


Member Function Documentation

template<class View >
double Gecode::Int::Branch::MeritAFCSize< View >::operator() ( const Space home,
View  x,
int  i 
) [inline]

Return AFC over size as merit for view x at position i.

Definition at line 112 of file merit.hpp.

template<class View >
bool Gecode::Int::Branch::MeritAFCSize< View >::notice ( void   )  const [inline]

Whether dispose must always be called (that is, notice is needed).

Reimplemented from Gecode::MeritBase< View, double >.

Definition at line 117 of file merit.hpp.

template<class View >
void Gecode::Int::Branch::MeritAFCSize< View >::dispose ( Space home  )  [inline]

Dispose view selection.

Reimplemented from Gecode::MeritBase< View, double >.

Definition at line 122 of file merit.hpp.


Member Data Documentation

template<class View >
AFC Gecode::Int::Branch::MeritAFCSize< View >::afc [protected]

AFC information.

Definition at line 145 of file branch.hh.


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