OpenIndy-Core  0.2.0.43
oi::SimulationModel Class Reference

The SimulationModel class Interface for creating an uncertainty model for a simulation in OpenIndy. You can provide four major error influences (sensor, object, enviroment and human). More...

#include <simulationmodel.h>

Inheritance diagram for oi::SimulationModel:

Signals

void sendMessage (const QString &msg, const MessageTypes &msgType, const MessageDestinations &msgDest=eConsoleMessage)
 

Public Member Functions

 SimulationModel (QObject *parent=0)
 SimulationModel::SimulationModel. More...
 
virtual ~SimulationModel ()
 SimulationModel::~SimulationModel. More...
 
virtual void init ()
 SimulationModel::init. More...
 
const PluginMetaDatagetMetaData () const
 SimulationModel::getMetaData. More...
 
const SimulationConfigurationgetSimulationConfiguration () const
 SimulationModel::getSimulationConfiguration. More...
 
void setSimulationConfiguration (const SimulationConfiguration &sConfig)
 SimulationModel::setSimulationConfiguration. More...
 
const QMap< QString, int > & getIntegerParameter () const
 SimulationModel::getIntegerParameter. More...
 
const QMap< QString, double > & getDoubleParameter () const
 SimulationModel::getDoubleParameter. More...
 
const QMultiMap< QString, QString > & getStringParameter () const
 SimulationModel::getStringParameter. More...
 
const QMap< QString, UncertaintyComponent > & getSensorUncertainties () const
 SimulationModel::getSensorUncertainties. More...
 
const QMap< QString, UncertaintyComponent > & getObjectUncertainties () const
 SimulationModel::getObjectUncertainties. More...
 
const QMap< QString, UncertaintyComponent > & getEnviromentUncertainties () const
 SimulationModel::getEnviromentUncertainties. More...
 
const QMap< QString, UncertaintyComponent > & getHumanInfluence () const
 SimulationModel::getHumanInfluence. More...
 
virtual bool distort (const QPointer< Reading > &r, const OiMat &objectRelation, const bool &newIterationStart)
 SimulationModel::distort Distort a reading with the given uncertainties. More...
 
virtual bool analyseSimulationData (UncertaintyData &d)
 SimulationModel::analyseSimulationData Analyse the simulation values saved in d.values. More...
 
virtual double getCorrelationCoefficient (const QList< double > &x, const QList< double > &y)
 SimulationModel::getCorrelationCoefficient Determine the correlation coefficient of the two quantities x and y. More...
 

Protected Attributes

SimulationConfiguration sConfig
 
PluginMetaData metaData
 
QMap< QString, int > integerParameters
 
QMap< QString, double > doubleParameters
 
QMultiMap< QString, QString > stringParameters
 
QMap< QString, UncertaintyComponentsensorUncertainties
 
QMap< QString, UncertaintyComponentobjectUncertainties
 
QMap< QString, UncertaintyComponentenvironmentUncertainties
 
QMap< QString, UncertaintyComponenthumanInfluence
 

Detailed Description

The SimulationModel class Interface for creating an uncertainty model for a simulation in OpenIndy. You can provide four major error influences (sensor, object, enviroment and human).

Constructor & Destructor Documentation

SimulationModel::SimulationModel ( QObject *  parent = 0)
explicit
SimulationModel::~SimulationModel ( )
virtual

Member Function Documentation

bool SimulationModel::analyseSimulationData ( UncertaintyData d)
virtual

SimulationModel::analyseSimulationData Analyse the simulation values saved in d.values.

Parameters
d
Returns
bool SimulationModel::distort ( const QPointer< Reading > &  r,
const OiMat objectRelation,
const bool &  newIterationStart 
)
virtual

SimulationModel::distort Distort a reading with the given uncertainties.

Parameters
r
objectRelationhomogeneous matrix (4x4) which describes the relation between station and object
newIterationStart
Returns
double SimulationModel::getCorrelationCoefficient ( const QList< double > &  x,
const QList< double > &  y 
)
virtual

SimulationModel::getCorrelationCoefficient Determine the correlation coefficient of the two quantities x and y.

Parameters
x
y
Returns
const QMap< QString, double > & SimulationModel::getDoubleParameter ( ) const
const QMap< QString, UncertaintyComponent > & SimulationModel::getEnviromentUncertainties ( ) const
const QMap< QString, UncertaintyComponent > & SimulationModel::getHumanInfluence ( ) const
const QMap< QString, int > & SimulationModel::getIntegerParameter ( ) const
const PluginMetaData & SimulationModel::getMetaData ( ) const
const QMap< QString, UncertaintyComponent > & SimulationModel::getObjectUncertainties ( ) const
const QMap< QString, UncertaintyComponent > & SimulationModel::getSensorUncertainties ( ) const
const SimulationConfiguration & SimulationModel::getSimulationConfiguration ( ) const
const QMultiMap< QString, QString > & SimulationModel::getStringParameter ( ) const
void SimulationModel::init ( )
virtual
void oi::SimulationModel::sendMessage ( const QString &  msg,
const MessageTypes msgType,
const MessageDestinations msgDest = eConsoleMessage 
)
signal
void SimulationModel::setSimulationConfiguration ( const SimulationConfiguration sConfig)

Member Data Documentation

QMap<QString, double> oi::SimulationModel::doubleParameters
protected
QMap<QString, UncertaintyComponent> oi::SimulationModel::environmentUncertainties
protected
QMap<QString, UncertaintyComponent> oi::SimulationModel::humanInfluence
protected
QMap<QString, int> oi::SimulationModel::integerParameters
protected
PluginMetaData oi::SimulationModel::metaData
protected
QMap<QString, UncertaintyComponent> oi::SimulationModel::objectUncertainties
protected
SimulationConfiguration oi::SimulationModel::sConfig
protected
QMap<QString, UncertaintyComponent> oi::SimulationModel::sensorUncertainties
protected
QMultiMap<QString, QString> oi::SimulationModel::stringParameters
protected

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