Diana
0.8.3
|
#include <CapeNLPData.hpp>
Public Member Functions | |
CapeMeasuredData () | |
CapeMeasuredData (const Numeric::Solvers::Model::ICapeNumericContinuousModel *_model, const Common::Types::CapeArrayLong &_indices) | |
const Common::Types::CapeArrayLong & | GetVariablesIndices () const |
const CapeMeasuredPoint & | GetMeasuredPoint (Common::Types::CapeLong _idx) const throw (Common::Error::ECapeUnknown) |
Common::Types::CapeLong | GetMeasuredPointsCount () const |
Common::Types::CapeLong | GetNumVars () const |
void | AddMeasuredPoint (Common::Types::CapeDouble _time, Common::Types::CapeDouble _variance, const Common::Types::CapeArrayDouble &_values) throw (Common::Error::ECapeInvalidArgument) |
void | AddMeasuredPoint (Common::Types::CapeDouble _time, const CapeMeasuredValues &_values) throw (Common::Error::ECapeInvalidArgument) |
void | load (const Common::Types::CapeURL &strFileName) throw (Common::Error::ECapeUnknown) |
Protected Member Functions | |
void | AddMeasuredPoint (const CapeMeasuredPoint &mpValue) throw (Common::Error::ECapeInvalidArgument) |
Protected Attributes | |
Common::Types::CapeArrayLong | arrStateVarsIndices |
Mapping array (indices of state ariables) | |
Private Attributes | |
CapeMeasuredPoints | arrMeasuredPoints |
Array of sorted by time value measured points. | |
Friends | |
std::istream & | operator>> (std::istream &is, CapeMeasuredData &mdExpDat) |
std::ostream & | operator<< (std::ostream &os, CapeMeasuredData &mdExpDat) |
Set of experimental state variables values in measured time points
CapeMeasuredData | ( | ) | [inline] |
Empty constructor.
CapeMeasuredData | ( | const Numeric::Solvers::Model::ICapeNumericContinuousModel * | _model, |
const Common::Types::CapeArrayLong & | _indices | ||
) |
Constructor of CapeMeasuredData class
indexes | - reference to indices indices of observed model's state variables. |
void AddMeasuredPoint | ( | Common::Types::CapeDouble | _time, |
Common::Types::CapeDouble | _variance, | ||
const Common::Types::CapeArrayDouble & | _values | ||
) | throw (Common::Error::ECapeInvalidArgument) |
Adds set of state variables values for specified time point
_time | the time of the measuring |
_variance | the variance same for all measured values in defined time-point. |
_values | array of measured values. |
void AddMeasuredPoint | ( | Common::Types::CapeDouble | _time, |
const CapeMeasuredValues & | _values | ||
) | throw (Common::Error::ECapeInvalidArgument) |
Adds measured point
_time | the time of the measuring |
_values | array of measured values whith variances. |
void AddMeasuredPoint | ( | const CapeMeasuredPoint & | mpValue | ) | throw (Common::Error::ECapeInvalidArgument) [protected] |
Adds measured point.
const CapeMeasuredPoint& GetMeasuredPoint | ( | Common::Types::CapeLong | _idx | ) | const throw (Common::Error::ECapeUnknown) |
Gets specified measured point data (time and variables values).
Gets the count of measured time points.
Common::Types::CapeLong GetNumVars | ( | ) | const [inline] |
Gets the count of measured state variables.
References CapeMeasuredData::arrStateVarsIndices.
const Common::Types::CapeArrayLong& GetVariablesIndices | ( | ) | const |
Gets indices of measured model state variables.
void load | ( | const Common::Types::CapeURL & | strFileName | ) | throw (Common::Error::ECapeUnknown) |
Reads information about experimental resulst from file.
std::ostream& operator<< | ( | std::ostream & | os, |
CapeMeasuredData & | mdExpDat | ||
) | [friend] |
Not defined in Python.
std::istream& operator>> | ( | std::istream & | is, |
CapeMeasuredData & | mdExpDat | ||
) | [friend] |
Not defined in Python.