bpp-seq-omics  2.4.1
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
 

Private Attributes

std::vector< double > bounds_
 

Detailed Description

Definition at line 483 of file MafStatistics.h.

Constructor & Destructor Documentation

◆ Categorizer()

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

Definition at line 488 of file MafStatistics.h.

References bounds_.

Member Function Documentation

◆ getCategory()

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

Definition at line 497 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 485 of file MafStatistics.h.

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


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