ell::MinimumSelector Class Reference
#include <MinimumSelector.hh>
Inheritance diagram for ell::MinimumSelector:
Detailed Description
Selects a minimum from a given landscape topology based on some algorithm.
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] |
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:
- src/ell/MinimumSelector.hh
- src/ell/MinimumSelector.cc