Generated on Fri Oct 19 11:26:22 2018 for Gecode by doxygen 1.6.3

Gecode::Set::Branch::MeritCHBSize Class Reference
[Merit-based set 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, SetView 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 180 of file branch.hh.


Constructor & Destructor Documentation

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

Constructor for initialization.

Definition at line 139 of file merit.hpp.

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

Constructor for cloning.

Definition at line 142 of file merit.hpp.


Member Function Documentation

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

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

Definition at line 145 of file merit.hpp.

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

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

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

Definition at line 149 of file merit.hpp.

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

Dispose view selection.

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

Definition at line 153 of file merit.hpp.


Member Data Documentation

CHB information.

Definition at line 183 of file branch.hh.


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