NormalDistribution Class Referenceabstract

#include <MemoryX/core/entity/ProbabilityMeasures.h>

+ Inheritance diagram for NormalDistribution:

Public Member Functions

virtual void fromEigenCovariance (const Eigen::MatrixXf &cov)=0
 
void fromEigenMean (const Eigen::VectorXf &mean)
 
float getCovariance (int row, int col, const ::Ice::Current &=Ice::emptyCurrent) const override=0
 
virtual float getDensity (const Eigen::VectorXf &p)=0
 
int getDimensions (const ::Ice::Current &=Ice::emptyCurrent) const override
 
FloatVector getMean (const ::Ice::Current &=Ice::emptyCurrent) const override
 
std::string output (const Ice::Current &c=Ice::emptyCurrent) const override
 
void setMean (const FloatVector &mean, const ::Ice::Current &=Ice::emptyCurrent) override
 
virtual Eigen::MatrixXf toEigenCovariance () const =0
 
Eigen::VectorXf toEigenMean () const
 

Protected Member Functions

void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 
 NormalDistribution (const Eigen::VectorXf &mean)
 
 NormalDistribution (const FloatVector &mean)
 
 NormalDistribution (const NormalDistribution &other)
 
 NormalDistribution (int dimensions)
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 

Detailed Description

Definition at line 87 of file ProbabilityMeasures.h.

Constructor & Destructor Documentation

◆ NormalDistribution() [1/4]

NormalDistribution ( int  dimensions)
protected

Definition at line 69 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

◆ NormalDistribution() [2/4]

NormalDistribution ( const FloatVector &  mean)
protected

Definition at line 75 of file ProbabilityMeasures.cpp.

◆ NormalDistribution() [3/4]

NormalDistribution ( const Eigen::VectorXf &  mean)
protected

Definition at line 80 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

◆ NormalDistribution() [4/4]

NormalDistribution ( const NormalDistribution other)
protected

Definition at line 87 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ deserialize()

void deserialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
)
overrideprotected

Definition at line 148 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromEigenCovariance()

virtual void fromEigenCovariance ( const Eigen::MatrixXf &  cov)
pure virtual

◆ fromEigenMean()

void fromEigenMean ( const Eigen::VectorXf &  mean)

Definition at line 102 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCovariance()

float getCovariance ( int  row,
int  col,
const ::Ice::Current &  = Ice::emptyCurrent 
) const
overridepure virtual

Implemented in MultivariateNormalDistribution, IsotropicNormalDistribution, and UnivariateNormalDistribution.

+ Here is the caller graph for this function:

◆ getDensity()

virtual float getDensity ( const Eigen::VectorXf &  p)
pure virtual

◆ getDimensions()

int getDimensions ( const ::Ice::Current &  = Ice::emptyCurrent) const
inlineoverride

Definition at line 91 of file ProbabilityMeasures.h.

◆ getMean()

FloatVector getMean ( const ::Ice::Current &  = Ice::emptyCurrent) const
inlineoverride

Definition at line 95 of file ProbabilityMeasures.h.

+ Here is the call graph for this function:

◆ output()

std::string output ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 114 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

◆ serialize()

void serialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
) const
overrideprotected

Definition at line 141 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setMean()

void setMean ( const FloatVector &  mean,
const ::Ice::Current &  = Ice::emptyCurrent 
)
inlineoverride

Definition at line 99 of file ProbabilityMeasures.h.

+ Here is the call graph for this function:

◆ toEigenCovariance()

virtual Eigen::MatrixXf toEigenCovariance ( ) const
pure virtual

Implemented in MultivariateNormalDistribution, IsotropicNormalDistribution, and UnivariateNormalDistribution.

+ Here is the caller graph for this function:

◆ toEigenMean()

Eigen::VectorXf toEigenMean ( ) const

Definition at line 96 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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