RBGen  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
RBGen::RangeFilter< ScalarType > Class Template Reference

Range-based filter. More...

#include <RBGen_Filter.hpp>

Inheritance diagram for RBGen::RangeFilter< ScalarType >:
RBGen::Filter< ScalarType >

Public Member Functions

Constructor/Destructor.
 RangeFilter (SortType which, int minRank=1, int maxRank=1)
 Default constructor. More...
 
virtual ~RangeFilter ()
 Destructor. More...
 
Filter Method
std::vector< int > filter (const std::vector< ScalarType > &svals)
 Pass at most maxRank and at most minRank values through the filter. More...
 
- Public Member Functions inherited from RBGen::Filter< ScalarType >
 Filter (SortType which=LARGEST)
 Default constructor. More...
 
virtual ~Filter ()
 Destructor. More...
 

Detailed Description

template<class ScalarType>
class RBGen::RangeFilter< ScalarType >

Range-based filter.

Definition at line 55 of file RBGen_Filter.hpp.

Constructor & Destructor Documentation

template<class ScalarType >
RBGen::RangeFilter< ScalarType >::RangeFilter ( SortType  which,
int  minRank = 1,
int  maxRank = 1 
)
inline

Default constructor.

Definition at line 61 of file RBGen_Filter.hpp.

template<class ScalarType >
virtual RBGen::RangeFilter< ScalarType >::~RangeFilter ( )
inlinevirtual

Destructor.

Definition at line 70 of file RBGen_Filter.hpp.

Member Function Documentation

template<class ScalarType >
std::vector<int> RBGen::RangeFilter< ScalarType >::filter ( const std::vector< ScalarType > &  svals)
inlinevirtual

Pass at most maxRank and at most minRank values through the filter.

Note
It is assumed that svals are sorted in decreasing order.

Implements RBGen::Filter< ScalarType >.

Definition at line 80 of file RBGen_Filter.hpp.


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