File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef StatCumProbDistDynCalc_h
2 #define StatCumProbDistDynCalc_h
18 class QXmlStreamWriter;
22 class XmlStackedHandlerReader;
90 void save(QXmlStreamWriter &stream,
const Project *project)
const;
92 QDataStream &
write(QDataStream &stream)
const;
93 QDataStream &
read(QDataStream &stream);
107 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
108 const QString &qName,
const QXmlAttributes &atts);
109 virtual bool characters(
const QString &ch);
110 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
111 const QString &qName);
114 Q_DISABLE_COPY(XmlHandler);
118 QString m_xmlHandlerCharacters;
121 unsigned int m_numberCells;
124 unsigned int m_numberQuantiles;
128 unsigned int m_numberObservations;
void validate()
Definition: StatCumProbDistDynCalc.cpp:633
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.
Definition: Hillshade.cpp:314
void initialize()
Inializer, resets the class to start its dynamic calculation anew.
Definition: StatCumProbDistDynCalc.cpp:97
double min()
Returns the maximum observation so far included in the dynamic calculation.
Definition: StatCumProbDistDynCalc.cpp:160
~StatCumProbDistDynCalc()
Destroys StatCumProbDistDynCalc object.
Definition: StatCumProbDistDynCalc.cpp:69
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
QDataStream & read(QDataStream &stream)
Definition: StatCumProbDistDynCalc.cpp:604
void setQuantiles(unsigned int nodes)
Definition: StatCumProbDistDynCalc.cpp:107
StatCumProbDistDynCalc & operator=(const StatCumProbDistDynCalc &other)
Definition: StatCumProbDistDynCalc.cpp:74
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
double max()
Returns the maximum observation so far included in the dynamic calculation.
Definition: StatCumProbDistDynCalc.cpp:143
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
The main project for ipce.
Definition: Project.h:289
This class is used to approximate cumulative probibility distributions of a stream of observations wi...
Definition: StatCumProbDistDynCalc.h:65
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:55
Isis exception class.
Definition: IException.h:91
double value(double cumProb)
Provides the value of the variable that has the given cumulative probility (according the current est...
Definition: StatCumProbDistDynCalc.cpp:182
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
void addObs(double obs)
Values for the estimated quantile positions are update as observations are added.
Definition: StatCumProbDistDynCalc.cpp:394
StatCumProbDistDynCalc(unsigned int nodes=20, QObject *parent=0)
Construtor sets up the class to start recieving data.
Definition: StatCumProbDistDynCalc.cpp:37
Adds specific functionality to C++ strings.
Definition: IString.h:165
void save(QXmlStreamWriter &stream, const Project *project) const
Definition: StatCumProbDistDynCalc.cpp:491
std::istream & operator>>(std::istream &is, CSVReader &csv)
Input read operator for input stream sources.
Definition: CSVReader.cpp:447
QDataStream & write(QDataStream &stream) const
Definition: StatCumProbDistDynCalc.cpp:591
double cumProb(double value)
Provides the cumulative probility, that is, the proportion of the distribution that is less than or e...
Definition: StatCumProbDistDynCalc.cpp:299
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16