Empirical
Public Member Functions | Protected Attributes | List of all members
D3::Histogram Class Reference

#include <histogram.h>

Inheritance diagram for D3::Histogram:
D3::D3_Base

Public Member Functions

 Histogram ()
 
 ~Histogram ()
 
HistogramSetDomain (double x, double y)
 
HistogramDomain (double x, double y)
 
emp::array< double, 2 > GetDomain ()
 
emp::array< double, 2 > Domain ()
 
HistogramSetThresholds (int count)
 
HistogramSetThresholds (std::string threshold_generator)
 
template<typename T >
HistogramThresholds (T thresh)
 
template<typename DATA_TYPE >
Dataset Call (emp::vector< DATA_TYPE > data)
 
template<typename DATA_TYPE >
Dataset operator() (emp::vector< DATA_TYPE > data)
 
HistogramSetValueAccessor (std::string func)
 
template<typename T >
HistogramValue (T func)
 
int GetID () const
 
void Log () const
 

Protected Attributes

uint32_t value_fun_id = -1
 
int id
 

Constructor & Destructor Documentation

D3::Histogram::Histogram ( )
inline
D3::Histogram::~Histogram ( )
inline

Member Function Documentation

template<typename DATA_TYPE >
Dataset D3::Histogram::Call ( emp::vector< DATA_TYPE >  data)
inline
Histogram& D3::Histogram::Domain ( double  x,
double  y 
)
inline
emp::array<double, 2> D3::Histogram::Domain ( )
inline
emp::array<double, 2> D3::Histogram::GetDomain ( )
inline
int D3::D3_Base::GetID ( ) const
inlineinherited
void D3::D3_Base::Log ( ) const
inlineinherited
template<typename DATA_TYPE >
Dataset D3::Histogram::operator() ( emp::vector< DATA_TYPE >  data)
inline
Histogram& D3::Histogram::SetDomain ( double  x,
double  y 
)
inline
Histogram& D3::Histogram::SetThresholds ( int  count)
inline
Histogram& D3::Histogram::SetThresholds ( std::string  threshold_generator)
inline
Histogram& D3::Histogram::SetValueAccessor ( std::string  func)
inline
template<typename T >
Histogram& D3::Histogram::Thresholds ( thresh)
inline
template<typename T >
Histogram& D3::Histogram::Value ( func)
inline

Member Data Documentation

int D3::D3_Base::id
protectedinherited
uint32_t D3::Histogram::value_fun_id = -1
protected

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