bpp-seq-omics  2.2.0
bpp::SiteFrequencySpectrumMafStatistics::Categorizer Class Reference
+ Collaboration diagram for bpp::SiteFrequencySpectrumMafStatistics::Categorizer:

Public Member Functions

 Categorizer (const std::vector< double > &bounds)
 
size_t getNumberOfCategories () const
 
size_t getCategory (double value) const throw (OutOfRangeException)
 

Private Attributes

std::vector< double > bounds_
 

Detailed Description

Definition at line 458 of file MafStatistics.h.

Constructor & Destructor Documentation

◆ Categorizer()

bpp::SiteFrequencySpectrumMafStatistics::Categorizer::Categorizer ( const std::vector< double > &  bounds)
inline

Definition at line 463 of file MafStatistics.h.

References bounds_.

Member Function Documentation

◆ getCategory()

size_t bpp::SiteFrequencySpectrumMafStatistics::Categorizer::getCategory ( double  value) const
throw (OutOfRangeException
)
inline

Definition at line 472 of file MafStatistics.h.

References bounds_.

Referenced by bpp::SiteFrequencySpectrumMafStatistics::compute().

◆ getNumberOfCategories()

size_t bpp::SiteFrequencySpectrumMafStatistics::Categorizer::getNumberOfCategories ( ) const
inline

Member Data Documentation

◆ bounds_

std::vector<double> bpp::SiteFrequencySpectrumMafStatistics::Categorizer::bounds_
private

Definition at line 460 of file MafStatistics.h.

Referenced by Categorizer(), getCategory(), and getNumberOfCategories().


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