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

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

Merit class for action over size. More...

#include <branch.hh>

List of all members.

Public Member Functions

 MeritActionSize (Space &home, const VarBranch< Var > &vb)
 Constructor for initialization.
 MeritActionSize (Space &home, MeritActionSize &m)
 Constructor for cloning.
double operator() (const Space &home, FloatView x, int i)
 Return action 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

Action action
 Action information.

Detailed Description

Merit class for action over size.

Requires

Definition at line 153 of file branch.hh.


Constructor & Destructor Documentation

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

Constructor for initialization.

Definition at line 112 of file merit.hpp.

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

Constructor for cloning.

Definition at line 116 of file merit.hpp.


Member Function Documentation

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

Return action over size as merit for view x at position i.

Definition at line 120 of file merit.hpp.

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

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

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

Definition at line 124 of file merit.hpp.

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

Dispose view selection.

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

Definition at line 128 of file merit.hpp.


Member Data Documentation

Action information.

Definition at line 156 of file branch.hh.


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