MineLink
 All Data Structures Functions Variables Pages
delphos::SelectionMin Class Reference

Abstracts the minimum function to be evaluated over a set of blocks. More...

#include <blocksel.h>

Inheritance diagram for delphos::SelectionMin:
Inheritance graph
Collaboration diagram for delphos::SelectionMin:
Collaboration graph

Public Member Functions

 SelectionMin (const string &column_to_minimize)
 Defines the attribute column to be used to compute the minimum. More...
 
const string ColumnToMinimize () const
 Retrieves the name of the attribute column to be used. More...
 
virtual double Eval (const delphos::BlockSelection &bsel) const
 Evaluates the minimum over the given selection. More...
 
- Public Member Functions inherited from delphos::SelectionFunctor
virtual ~SelectionFunctor ()
 Destroys the selection functor.
 

Detailed Description

Abstracts the minimum function to be evaluated over a set of blocks.

Constructor & Destructor Documentation

delphos::SelectionMin::SelectionMin ( const string &  column_to_minimize)

Defines the attribute column to be used to compute the minimum.

Parameters
column_to_minimizeThe name of the attribute column to be used to compute the minimum.

Member Function Documentation

const string delphos::SelectionMin::ColumnToMinimize ( ) const

Retrieves the name of the attribute column to be used.

Returns
The name of attribute column to be used.
double delphos::SelectionMin::Eval ( const delphos::BlockSelection bsel) const
virtual

Evaluates the minimum over the given selection.

Parameters
bselThe BlockSelection instance to be used.
Returns
The minimum value of the defined attribute column over the given BlockSelection instance.

Implements delphos::SelectionFunctor.


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