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

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

Merit class for size over activity. More...

#include <branch.hh>

List of all members.

Public Member Functions

 MeritActivitySize (Space &home, const VarBranch &vb)
 Constructor for initialization.
 MeritActivitySize (Space &home, bool shared, MeritActivitySize &m)
 Constructor for cloning.
double operator() (const Space &home, View x, int i)
 Return size over activity 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

Activity activity
 Activity information.

Detailed Description

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

Merit class for size over activity.

Requires

Definition at line 161 of file branch.hh.


Constructor & Destructor Documentation

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

Constructor for initialization.

Definition at line 131 of file merit.hpp.

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

Constructor for cloning.

Definition at line 136 of file merit.hpp.


Member Function Documentation

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

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

Definition at line 143 of file merit.hpp.

template<class View >
bool Gecode::Int::Branch::MeritActivitySize< 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 148 of file merit.hpp.

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

Dispose view selection.

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

Definition at line 153 of file merit.hpp.


Member Data Documentation

template<class View >
Activity Gecode::Int::Branch::MeritActivitySize< View >::activity [protected]

Activity information.

Definition at line 164 of file branch.hh.


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