1 #ifndef StatCumProbDistDynCalc_h 2 #define StatCumProbDistDynCalc_h 32 class QXmlStreamWriter;
36 class XmlStackedHandlerReader;
104 void save(QXmlStreamWriter &stream,
const Project *project)
const;
106 QDataStream &
write(QDataStream &stream)
const;
107 QDataStream &
read(QDataStream &stream);
121 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
122 const QString &qName,
const QXmlAttributes &atts);
123 virtual bool characters(
const QString &ch);
124 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
125 const QString &qName);
128 Q_DISABLE_COPY(XmlHandler);
132 QString m_xmlHandlerCharacters;
135 unsigned int m_numberCells;
138 unsigned int m_numberQuantiles;
142 unsigned int m_numberObservations;
double max()
Returns the maximum observation so far included in the dynamic calculation.
Definition: StatCumProbDistDynCalc.cpp:156
The main project for ipce.
Definition: Project.h:289
void setQuantiles(unsigned int nodes)
Definition: StatCumProbDistDynCalc.cpp:120
StatCumProbDistDynCalc(unsigned int nodes=20, QObject *parent=0)
Construtor sets up the class to start recieving data.
Definition: StatCumProbDistDynCalc.cpp:50
void validate()
Definition: StatCumProbDistDynCalc.cpp:646
double value(double cumProb)
Provides the value of the variable that has the given cumulative probility (according the current est...
Definition: StatCumProbDistDynCalc.cpp:195
~StatCumProbDistDynCalc()
Destroys StatCumProbDistDynCalc object.
Definition: StatCumProbDistDynCalc.cpp:82
void save(QXmlStreamWriter &stream, const Project *project) const
Definition: StatCumProbDistDynCalc.cpp:504
This class is used to approximate cumulative probibility distributions of a stream of observations wi...
Definition: StatCumProbDistDynCalc.h:79
std::istream & operator>>(std::istream &is, CSVReader &csv)
Input read operator for input stream sources.
Definition: CSVReader.cpp:463
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:112
QDataStream & read(QDataStream &stream)
Definition: StatCumProbDistDynCalc.cpp:617
void initialize()
Inializer, resets the class to start its dynamic calculation anew.
Definition: StatCumProbDistDynCalc.cpp:110
void addObs(double obs)
Values for the estimated quantile positions are update as observations are added. ...
Definition: StatCumProbDistDynCalc.cpp:407
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
double min()
Returns the maximum observation so far included in the dynamic calculation.
Definition: StatCumProbDistDynCalc.cpp:173
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.
Definition: Hillshade.cpp:308
double cumProb(double value)
Provides the cumulative probility, that is, the proportion of the distribution that is less than or e...
Definition: StatCumProbDistDynCalc.cpp:312
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:25
StatCumProbDistDynCalc & operator=(const StatCumProbDistDynCalc &other)
Definition: StatCumProbDistDynCalc.cpp:87
QDataStream & write(QDataStream &stream) const
Definition: StatCumProbDistDynCalc.cpp:604