Generated on Fri Mar 20 15:56:59 2015 for Gecode by doxygen 1.6.3

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

Merit class for size over degree. More...

#include <branch.hh>

List of all members.

Public Member Functions

 MeritDegreeSize (Space &home, const VarBranch &vb)
 Constructor for initialization.
 MeritDegreeSize (Space &home, bool shared, MeritDegreeSize &m)
 Constructor for cloning.
double operator() (const Space &home, View x, int i)
 Return size over degree as merit for view x at position i.

Detailed Description

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

Merit class for size over degree.

Requires

Definition at line 120 of file branch.hh.


Constructor & Destructor Documentation

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

Constructor for initialization.

Definition at line 88 of file merit.hpp.

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

Constructor for cloning.

Definition at line 92 of file merit.hpp.


Member Function Documentation

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

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

Definition at line 97 of file merit.hpp.


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