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

Merit class for mimimum of integer views. More...

#include <branch.hh>

Public Member Functions

 MeritMin (Space &home, const VarBranch &vb)
 Constructor for initialization. More...
 
 MeritMin (Space &home, bool shared, MeritMin &m)
 Constructor for cloning. More...
 
int operator() (const Space &home, View x, int i)
 Return minimum as merit for view x at position i. More...
 
- Public Member Functions inherited from Gecode::MeritBase< View, int >
 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...
 

Additional Inherited Members

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

Detailed Description

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

Merit class for mimimum of integer views.

Requires

Definition at line 69 of file branch.hh.

Constructor & Destructor Documentation

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

Constructor for initialization.

Definition at line 43 of file merit.hpp.

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

Constructor for cloning.

Definition at line 47 of file merit.hpp.

Member Function Documentation

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

Return minimum as merit for view x at position i.

Definition at line 51 of file merit.hpp.


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