TTK
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ttk::PDFHistograms Class Reference

#include <UncertainDataEstimator.h>

Inheritance diagram for ttk::PDFHistograms:
ttk::Debug ttk::BaseClass

Public Member Functions

template<class dataType >
int evaluateRealization (const dataType *inputData)
 
double * getBinFieldPointer (const int binId)
 
void getVertexHistogram (const SimplexId vertexId, std::vector< double > &histogram) const
 
void normalize ()
 
void setNumberOfBins (const int number)
 
void setNumberOfVertices (const SimplexId number)
 
void setRange (const double min, const double max)
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 
virtual int setWrapper (const Wrapper *wrapper)
 

Protected Attributes

std::vector< double > binValue_ {}
 
std::vector< std::vector< double > > probability_ {}
 
int numberOfBins_ {0}
 
int numberOfInputs_ {0}
 
SimplexId numberOfVertices_ {0}
 
double rangeMin_ {0.0}
 
double rangeMax_ {0.0}
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 

Additional Inherited Members

- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

Definition at line 111 of file UncertainDataEstimator.h.

Member Function Documentation

◆ evaluateRealization()

template<class dataType >
int ttk::PDFHistograms::evaluateRealization ( const dataType *  inputData)
inline

Definition at line 114 of file UncertainDataEstimator.h.

◆ getBinFieldPointer()

double * ttk::PDFHistograms::getBinFieldPointer ( const int  binId)
inline

Definition at line 148 of file UncertainDataEstimator.h.

◆ getVertexHistogram()

void ttk::PDFHistograms::getVertexHistogram ( const SimplexId  vertexId,
std::vector< double > &  histogram 
) const

Definition at line 7 of file UncertainDataEstimator.cpp.

◆ normalize()

void ttk::PDFHistograms::normalize ( )

Definition at line 28 of file UncertainDataEstimator.cpp.

◆ setNumberOfBins()

void ttk::PDFHistograms::setNumberOfBins ( const int  number)
inline

Definition at line 161 of file UncertainDataEstimator.h.

◆ setNumberOfVertices()

void ttk::PDFHistograms::setNumberOfVertices ( const SimplexId  number)
inline

Definition at line 165 of file UncertainDataEstimator.h.

◆ setRange()

void ttk::PDFHistograms::setRange ( const double  min,
const double  max 
)
inline

Definition at line 169 of file UncertainDataEstimator.h.

Member Data Documentation

◆ binValue_

std::vector<double> ttk::PDFHistograms::binValue_ {}
protected

Definition at line 175 of file UncertainDataEstimator.h.

◆ numberOfBins_

int ttk::PDFHistograms::numberOfBins_ {0}
protected

Definition at line 177 of file UncertainDataEstimator.h.

◆ numberOfInputs_

int ttk::PDFHistograms::numberOfInputs_ {0}
protected

Definition at line 178 of file UncertainDataEstimator.h.

◆ numberOfVertices_

SimplexId ttk::PDFHistograms::numberOfVertices_ {0}
protected

Definition at line 179 of file UncertainDataEstimator.h.

◆ probability_

std::vector<std::vector<double> > ttk::PDFHistograms::probability_ {}
protected

Definition at line 176 of file UncertainDataEstimator.h.

◆ rangeMax_

double ttk::PDFHistograms::rangeMax_ {0.0}
protected

Definition at line 181 of file UncertainDataEstimator.h.

◆ rangeMin_

double ttk::PDFHistograms::rangeMin_ {0.0}
protected

Definition at line 180 of file UncertainDataEstimator.h.


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