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

Gecode::MeritBase< _View, _Val > Class Template Reference
[Generic merit for branchers based on view and value selection]

Base-class for merit class. More...

#include <brancher-merit.hpp>

List of all members.

Public Types

typedef _View View
 View type.
typedef _Val Val
 Type of merit.

Public Member Functions

 MeritBase (Space &home, const VarBranch &vb)
 Constructor for initialization.
 MeritBase (Space &home, bool share, MeritBase &mb)
 Constructor for cloning.
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed).
void dispose (Space &home)
 Delete view merit class.

Detailed Description

template<class _View, class _Val>
class Gecode::MeritBase< _View, _Val >

Base-class for merit class.

Definition at line 50 of file brancher-merit.hpp.


Member Typedef Documentation

template<class _View, class _Val>
typedef _View Gecode::MeritBase< _View, _Val >::View

View type.

Definition at line 53 of file brancher-merit.hpp.

template<class _View, class _Val>
typedef _Val Gecode::MeritBase< _View, _Val >::Val

Type of merit.

Definition at line 55 of file brancher-merit.hpp.


Constructor & Destructor Documentation

template<class View , class Val >
Gecode::MeritBase< View, Val >::MeritBase ( Space home,
const VarBranch vb 
) [inline]

Constructor for initialization.

Definition at line 149 of file brancher-merit.hpp.

template<class View , class Val >
Gecode::MeritBase< View, Val >::MeritBase ( Space home,
bool  share,
MeritBase< _View, _Val > &  mb 
) [inline]

Constructor for cloning.

Definition at line 152 of file brancher-merit.hpp.


Member Function Documentation


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