Detailed Description

Definition at line 160 of file sp_densityfnct.h.

#include <sp_densityfnct.h>

Classes

struct  CountEntry
 

Public Member Functions

 SampledDensityFunction (void)
 
virtual ~SampledDensityFunction (void)
 
void Dim (Idx dim)
 
Idx Dim (void) const
 
void Clear (void)
 
void Sample (Time::Type time)
 
std::string SStr (void) const
 
- Public Member Functions inherited from faudes::DiscreteDensityFunction
 DiscreteDensityFunction (void)
 
virtual ~DiscreteDensityFunction (void)
 
double Value (Time::Type time) const
 
const TimeIntervalTimeInt (Time::Type time) const
 
CIterator Begin (void) const
 
CIterator End (void) const
 
CIterator At (Time::Type time) const
 
const TimeIntervalTimeInt (CIterator mit) const
 
const double & Value (CIterator mit) const
 
Iterator Begin (void)
 
Iterator End (void)
 
Iterator At (Time::Type time)
 
const EntryEntryAt (Time::Type time) const
 
const std::string & Name (void) const
 
void Name (const std::string &rName)
 
int Count (void) const
 
void Count (int count)
 
double MaxValue (void) const
 
double MinValue (void) const
 
Time::Type MaxTime (void) const
 
Time::Type MinTime (void) const
 
double Sum (void) const
 
double SquareSum (void) const
 
double Average (void) const
 
double Variance (void) const
 
double Quantile05 (void) const
 
double Quantile95 (void) const
 
void Write (TokenWriter &rTw) const
 
void Write (void) const
 
std::string ToString (void) const
 
void Read (TokenReader &rTr)
 
void Compile (void) const
 
std::string Str (void) const
 

Protected Types

typedef std::map< Time::Type, CountEntry >::iterator CountIterator
 
typedef std::map< Time::Type, CountEntry >::const_iterator CCountIterator
 

Protected Member Functions

virtual void CompileNonConst (void)
 

Protected Attributes

std::map< Time::Type, CountEntrymCountMap
 
Idx mDim
 
double mCountSum
 
double mCountSquareSum
 
- Protected Attributes inherited from faudes::DiscreteDensityFunction
std::map< Time::Type, EntrymValueMap
 
std::string mName
 
int mCount
 
double mMaxValue
 
double mMinValue
 
Time::Type mMaxTime
 
Time::Type mMinTime
 
double mSum
 
double mSquareSum
 
double mAverage
 
double mVariance
 
double mQuantile05
 
double mQuantile95
 
Entry mEntryZero
 

Additional Inherited Members

- Public Types inherited from faudes::DiscreteDensityFunction
typedef std::map< Time::Type, Entry >::const_iterator CIterator
 
typedef std::map< Time::Type, Entry >::iterator Iterator
 

Member Typedef Documentation

◆ CCountIterator

typedef std::map<Time::Type,CountEntry>::const_iterator faudes::SampledDensityFunction::CCountIterator
protected

Definition at line 191 of file sp_densityfnct.h.

◆ CountIterator

Definition at line 190 of file sp_densityfnct.h.

Constructor & Destructor Documentation

◆ SampledDensityFunction()

faudes::SampledDensityFunction::SampledDensityFunction ( void  )

Definition at line 224 of file sp_densityfnct.cpp.

◆ ~SampledDensityFunction()

virtual faudes::SampledDensityFunction::~SampledDensityFunction ( void  )
inlinevirtual

Definition at line 166 of file sp_densityfnct.h.

Member Function Documentation

◆ Clear()

void faudes::SampledDensityFunction::Clear ( void  )
virtual

Reimplemented from faudes::DiscreteDensityFunction.

Definition at line 232 of file sp_densityfnct.cpp.

◆ CompileNonConst()

void faudes::SampledDensityFunction::CompileNonConst ( void  )
protectedvirtual

Reimplemented from faudes::DiscreteDensityFunction.

Definition at line 296 of file sp_densityfnct.cpp.

◆ Dim() [1/2]

void faudes::SampledDensityFunction::Dim ( Idx  dim)
inline

Definition at line 169 of file sp_densityfnct.h.

◆ Dim() [2/2]

Idx faudes::SampledDensityFunction::Dim ( void  ) const
inline

Definition at line 170 of file sp_densityfnct.h.

◆ Sample()

void faudes::SampledDensityFunction::Sample ( Time::Type  time)

Definition at line 242 of file sp_densityfnct.cpp.

◆ SStr()

std::string faudes::SampledDensityFunction::SStr ( void  ) const

Definition at line 370 of file sp_densityfnct.cpp.

Member Data Documentation

◆ mCountMap

std::map<Time::Type,CountEntry> faudes::SampledDensityFunction::mCountMap
protected

Definition at line 194 of file sp_densityfnct.h.

◆ mCountSquareSum

double faudes::SampledDensityFunction::mCountSquareSum
protected

Definition at line 201 of file sp_densityfnct.h.

◆ mCountSum

double faudes::SampledDensityFunction::mCountSum
protected

Definition at line 200 of file sp_densityfnct.h.

◆ mDim

Idx faudes::SampledDensityFunction::mDim
protected

Definition at line 197 of file sp_densityfnct.h.


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

libFAUDES 2.32f --- 2024.12.22 --- c++ api documentaion by doxygen