Generated on Sun Feb 17 15:25:12 2019 for Gecode by doxygen 1.6.3

Gecode::Float::Branch::MeritCHBSize Class Reference
[Merit-based float view selection for branchers]

Merit class for CHB Q-score over size. More...

#include <branch.hh>

List of all members.

Public Member Functions

 MeritCHBSize (Space &home, const VarBranch< Var > &vb)
 Constructor for initialization.
 MeritCHBSize (Space &home, MeritCHBSize &m)
 Constructor for cloning.
double operator() (const Space &home, FloatView x, int i)
 Return CHB Q-score over size as merit for view x at position i.
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed).
void dispose (Space &home)
 Dispose view selection.

Protected Attributes

CHB chb
 CHB information.

Detailed Description

Merit class for CHB Q-score over size.

Requires

Definition at line 176 of file branch.hh.


Constructor & Destructor Documentation

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

Constructor for initialization.

Definition at line 135 of file merit.hpp.

Gecode::Float::Branch::MeritCHBSize::MeritCHBSize ( Space home,
MeritCHBSize m 
) [inline]

Constructor for cloning.

Definition at line 139 of file merit.hpp.


Member Function Documentation

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

Return CHB Q-score over size as merit for view x at position i.

Definition at line 143 of file merit.hpp.

bool Gecode::Float::Branch::MeritCHBSize::notice ( void   )  const [inline]

Whether dispose must always be called (that is, notice is needed).

Reimplemented from Gecode::MeritBase< FloatView, double >.

Definition at line 147 of file merit.hpp.

void Gecode::Float::Branch::MeritCHBSize::dispose ( Space home  )  [inline]

Dispose view selection.

Reimplemented from Gecode::MeritBase< FloatView, double >.

Definition at line 151 of file merit.hpp.


Member Data Documentation

CHB information.

Definition at line 179 of file branch.hh.


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