Generated on Thu Jul 21 2022 00:00:00 for Gecode by doxygen 1.9.4
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< Var > &vb)
 Constructor for initialization. More...
 
 MeritMax (Space &home, 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< 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< FloatView, double >
typedef FloatView View
 View type. More...
 
typedef View::VarType Var
 Corresponding variable type. More...
 
typedef double Val
 Type of merit. More...
 

Detailed Description

Merit class for maximum of float view.

Requires

Definition at line 82 of file branch.hh.

Constructor & Destructor Documentation

◆ MeritMax() [1/2]

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

Constructor for initialization.

Definition at line 54 of file merit.hpp.

◆ MeritMax() [2/2]

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

Constructor for cloning.

Definition at line 57 of file merit.hpp.

Member Function Documentation

◆ operator()()

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 60 of file merit.hpp.


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