|
|
The GaussianMixtureDistribution class. More...
#include <MemoryX/core/entity/ProbabilityMeasures.h>
Inheritance diagram for GaussianMixtureDistribution:Public Member Functions | |
| void | addComponent (const GaussianMixtureComponent &component, const ::Ice::Current &=Ice::emptyCurrent) override |
| void | addComponent (const NormalDistributionBasePtr &gaussian, float weight) |
| void | addComponents (const GaussianMixtureDistributionBasePtr &other, const ::Ice::Current &=Ice::emptyCurrent) override |
| Multiply weight of each GM component with a given constant. More... | |
| void | addGaussian (const NormalDistributionBasePtr &gaussian, float weight, const ::Ice::Current &=Ice::emptyCurrent) override |
| void | clear (const ::Ice::Current &=Ice::emptyCurrent) override |
| armarx::VariantDataClassPtr | clone (const Ice::Current &c=Ice::emptyCurrent) const override |
| void | deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override |
| GaussianMixtureDistribution () | |
| GaussianMixtureDistribution implementation. More... | |
| GaussianMixtureDistribution (const GaussianMixtureDistribution &other) | |
| GaussianMixtureComponent | getComponent (::Ice::Int index, const ::Ice::Current &=Ice::emptyCurrent) const override |
| virtual float | getDensity (const Eigen::VectorXf &point) |
| ::Ice::Int | getDimensions (const ::Ice::Current &=Ice::emptyCurrent) const override |
| GaussianMixtureComponent | getModalComponent (const ::Ice::Current &=Ice::emptyCurrent) const override |
| armarx::VariantTypeId | getType (const Ice::Current &c=Ice::emptyCurrent) const override |
| Ice::ObjectPtr | ice_clone () const override |
| void | normalize (const ::Ice::Current &=Ice::emptyCurrent) override |
| Normalize components weights (i.e. More... | |
| std::string | output (const Ice::Current &c=Ice::emptyCurrent) const override |
| void | pruneComponents (::Ice::Float threshold, const ::Ice::Current &=Ice::emptyCurrent) override |
| Remove all components with weights lower than threshold value. More... | |
| void | removeComponent (::Ice::Int index, const ::Ice::Current &=Ice::emptyCurrent) override |
| void | scaleComponents (::Ice::Float factor, const ::Ice::Current &=Ice::emptyCurrent) override |
| Multiply weight of each GM component with a given constant. More... | |
| void | serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override |
| void | setComponent (::Ice::Int index, const GaussianMixtureComponent &component, const ::Ice::Current &=Ice::emptyCurrent) override |
| ::Ice::Int | size (const ::Ice::Current &=Ice::emptyCurrent) const override |
| bool | validate (const Ice::Current &c=Ice::emptyCurrent) override |
Static Public Member Functions | |
| static GaussianMixtureDistributionPtr | FromProbabilityMeasure (const ProbabilityMeasureBasePtr &probMeasure) |
| Convert or approximate given ProbabilityMeasure to a gaussian mixture. More... | |
The GaussianMixtureDistribution class.
Definition at line 362 of file ProbabilityMeasures.h.
GaussianMixtureDistribution implementation.
Definition at line 540 of file ProbabilityMeasures.cpp.
Here is the caller graph for this function:| GaussianMixtureDistribution | ( | const GaussianMixtureDistribution & | other | ) |
|
override |
| void addComponent | ( | const NormalDistributionBasePtr & | gaussian, |
| float | weight | ||
| ) |
|
override |
Multiply weight of each GM component with a given constant.
| factor | constant to multiply with (scaling factor) |
Definition at line 693 of file ProbabilityMeasures.cpp.
Here is the call graph for this function:
|
override |
|
override |
|
inlineoverride |
Definition at line 437 of file ProbabilityMeasures.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
override |
|
static |
Convert or approximate given ProbabilityMeasure to a gaussian mixture.
To special cases implemented so far: probMeasure is a gaussian (NormalDistibution) -> create GM with a single component probMeasure probMeasure is a gaussian mixture -> just return probMeasure itself
probMeasure probability measure to approximate/convert
Definition at line 760 of file ProbabilityMeasures.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
override |
Definition at line 569 of file ProbabilityMeasures.cpp.
|
virtual |
Definition at line 744 of file ProbabilityMeasures.cpp.
|
override |
Definition at line 563 of file ProbabilityMeasures.cpp.
|
override |
Definition at line 579 of file ProbabilityMeasures.cpp.
|
inlineoverride |
Definition at line 443 of file ProbabilityMeasures.h.
|
inlineoverride |
|
override |
Normalize components weights (i.e.
sum of weights = 1.0)
Definition at line 732 of file ProbabilityMeasures.cpp.
|
override |
|
override |
Remove all components with weights lower than threshold value.
| threshold |
Definition at line 713 of file ProbabilityMeasures.cpp.
|
override |
Definition at line 653 of file ProbabilityMeasures.cpp.
|
override |
Multiply weight of each GM component with a given constant.
| factor | constant to multiply with (scaling factor) |
Definition at line 703 of file ProbabilityMeasures.cpp.
|
override |
Definition at line 803 of file ProbabilityMeasures.cpp.
|
override |
Definition at line 634 of file ProbabilityMeasures.cpp.
|
override |
Definition at line 672 of file ProbabilityMeasures.cpp.
|
inlineoverride |
Definition at line 449 of file ProbabilityMeasures.h.