Generated on Sat Oct 20 2018 12:43:45 for Gecode by doxygen 1.8.13
Gecode::Set::Branch::MeritMin Class Reference

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

#include <branch.hh>

Public Member Functions

 MeritMin (Space &home, const VarBranch< Var > &vb)
 Constructor for initialization. More...
 
 MeritMin (Space &home, MeritMin &m)
 Constructor for cloning. More...
 
int operator() (const Space &home, SetView x, int i)
 Return minimum as merit for view x at position i. More...
 
- Public Member Functions inherited from Gecode::MeritBase< SetView, int >
 MeritBase (Space &home, const VarBranch< Var > &vb)
 Constructor for initialization. More...
 
 MeritBase (Space &home, 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< SetView, int >
typedef SetView View
 View type. More...
 
typedef View::VarType Var
 Corresponding variable type. More...
 
typedef int Val
 Type of merit. More...
 

Detailed Description

Merit class for mimimum of set views.

Requires

Definition at line 70 of file branch.hh.

Constructor & Destructor Documentation

◆ MeritMin() [1/2]

Gecode::Set::Branch::MeritMin::MeritMin ( Space home,
const VarBranch< Var > &  vb 
)
inline

Constructor for initialization.

Definition at line 44 of file merit.hpp.

◆ MeritMin() [2/2]

Gecode::Set::Branch::MeritMin::MeritMin ( Space home,
MeritMin m 
)
inline

Constructor for cloning.

Definition at line 47 of file merit.hpp.

Member Function Documentation

◆ operator()()

int Gecode::Set::Branch::MeritMin::operator() ( const Space home,
SetView  x,
int  i 
)
inline

Return minimum as merit for view x at position i.

Definition at line 50 of file merit.hpp.


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