Generated on Sat Feb 7 2015 02:01:43 for Gecode by doxygen 1.8.9.1
Gecode::Float::Branch::MeritMax Class Reference

Merit class for maximum of float view. More...

#include <branch.hh>

Public Member Functions

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

Detailed Description

Merit class for maximum of float view.

Requires

Definition at line 86 of file branch.hh.

Constructor & Destructor Documentation

Gecode::Float::Branch::MeritMax::MeritMax ( Space home,
const VarBranch vb 
)
inline

Constructor for initialization.

Definition at line 58 of file merit.hpp.

Gecode::Float::Branch::MeritMax::MeritMax ( Space home,
bool  shared,
MeritMax m 
)
inline

Constructor for cloning.

Definition at line 61 of file merit.hpp.

Member Function Documentation

double Gecode::Float::Branch::MeritMax::operator() ( const Space home,
FloatView  x,
int  i 
)
inline

Return maximum as merit for view x at position i.

Definition at line 64 of file merit.hpp.


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