Diana  0.8.3
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends
CapeMeasuredData Class Reference

#include <CapeNLPData.hpp>

Inheritance diagram for CapeMeasuredData:
DianaMeasuredData

List of all members.

Public Member Functions

 CapeMeasuredData ()
 CapeMeasuredData (const Numeric::Solvers::Model::ICapeNumericContinuousModel *_model, const Common::Types::CapeArrayLong &_indices)
const
Common::Types::CapeArrayLong
GetVariablesIndices () const
const CapeMeasuredPointGetMeasuredPoint (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)

Detailed Description

Set of experimental state variables values in measured time points


Constructor & Destructor Documentation

CapeMeasuredData ( ) [inline]

Empty constructor.

Constructor of CapeMeasuredData class

Parameters:
indexes- reference to indices indices of observed model's state variables.

Member Function Documentation

Adds set of state variables values for specified time point

Parameters:
_timethe time of the measuring
_variancethe variance same for all measured values in defined time-point.
_valuesarray of measured values.

Adds measured point

Parameters:
_timethe time of the measuring
_valuesarray of measured values whith variances.
void AddMeasuredPoint ( const CapeMeasuredPoint mpValue) throw (Common::Error::ECapeInvalidArgument) [protected]

Adds measured point.

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.

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.


Friends And Related Function Documentation

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.


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