Generated on Tue Dec 16 13:34:51 2008 for ell-3.0.0 by doxygen 1.5.1

ell::MinimumSelector Class Reference

#include <MinimumSelector.hh>

Inheritance diagram for ell::MinimumSelector:

Inheritance graph
[legend]

Detailed Description

Selects a minimum from a given landscape topology based on some algorithm.

Author:
Hannes Kochniss, Martin Mann

Definition at line 14 of file MinimumSelector.hh.

Public Member Functions

virtual size_t select (const LandscapeTopology *const lt, const bool minimaChanged=true)=0
virtual ~MinimumSelector ()


Constructor & Destructor Documentation

ell::MinimumSelector::~MinimumSelector (  )  [virtual]

destruction

Definition at line 7 of file MinimumSelector.cc.


Member Function Documentation

virtual size_t ell::MinimumSelector::select ( const LandscapeTopology *const  lt,
const bool  minimaChanged = true 
) [pure virtual]

Selects a minimum from the landscape topology and returns the corresponding index. The user can specify if the topology was changed since the last call to this selector. This might reduce the selection complexity due to the avoidance of redundant calculations.

Parameters:
lt the landscape topology to select a minimum from
minimaChanged whether or not the minima of lt have changed since the last call of this selector (e.g. sorted etc.).
Returns:
the index of the minimum selected or INVALID_INDEX if the topology holds no minima or none this selector would choose.

Implemented in ell::MS_Uniform, and ell::MS_Boltzmann.


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