Generated on Sat Feb 7 2015 02:01:46 for Gecode by doxygen 1.8.9.1
Gecode::Int::Branch::MeritAFCSize< View > Class Template Reference

Merit class for size over afc. More...

#include <branch.hh>

Public Member Functions

 MeritAFCSize (Space &home, const VarBranch &vb)
 Constructor for initialization. More...
 
 MeritAFCSize (Space &home, bool shared, MeritAFCSize &m)
 Constructor for cloning. More...
 
double operator() (const Space &home, View x, int i)
 Return size over AFC as merit for view x at position i. More...
 
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed) More...
 
void dispose (Space &home)
 Dispose view selection. More...
 
- Public Member Functions inherited from Gecode::MeritBase< View, double >
 MeritBase (Space &home, const VarBranch &vb)
 Constructor for initialization. More...
 
 MeritBase (Space &home, bool share, MeritBase &mb)
 Constructor for cloning. More...
 
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed) More...
 
void dispose (Space &home)
 Delete view merit class. More...
 

Protected Attributes

AFC afc
 AFC information. More...
 

Additional Inherited Members

- Public Types inherited from Gecode::MeritBase< View, double >
typedef View View
 View type. More...
 
typedef double Val
 Type of merit. More...
 

Detailed Description

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

Merit class for size over afc.

Requires

Definition at line 137 of file branch.hh.

Constructor & Destructor Documentation

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

Constructor for initialization.

Definition at line 104 of file merit.hpp.

template<class View >
Gecode::Int::Branch::MeritAFCSize< View >::MeritAFCSize ( Space home,
bool  shared,
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 size over AFC as merit for view x at position i.

Definition at line 114 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)

Definition at line 119 of file merit.hpp.

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

Dispose view selection.

Definition at line 124 of file merit.hpp.

Member Data Documentation

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

AFC information.

Definition at line 140 of file branch.hh.


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