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

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

#include <blocksel.h>

Inheritance diagram for delphos::SelectionMax:
Inheritance graph
Collaboration diagram for delphos::SelectionMax:
Collaboration graph

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

delphos::SelectionMax::SelectionMax ( const string &  column_to_maximize)

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

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

Member Function Documentation

const string delphos::SelectionMax::ColumnToMaximize ( ) const

Retrieves the name of the attribute column to be used.

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

Evaluates the maximum over the given selection.

Parameters
bselThe BlockSelection instance to be used.
Returns
The maximum 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: