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

ell::MS_Uniform Class Reference

#include <MinimumSelector.hh>

Inheritance diagram for ell::MS_Uniform:

Inheritance graph
[legend]

Detailed Description

Selects randomly a minimum from a given landscape topology using a uniform distribution, i.e. each minimum is selected with equal probability.

Author:
Hannes Kochniss, Martin Mann

Definition at line 52 of file MinimumSelector.hh.

Public Member Functions

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


Constructor & Destructor Documentation

ell::MS_Uniform::MS_Uniform (  ) 

construction

Definition at line 20 of file MinimumSelector.cc.

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

destruction

Definition at line 28 of file MinimumSelector.cc.


Member Function Documentation

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

Selects randomly a minimum from the landscape topology using a uniform distribution and returns the corresponding index.

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.

Implements ell::MinimumSelector.

Definition at line 36 of file MinimumSelector.cc.


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