WilliamsGMMReducer Class Reference

#include <MemoryX/libraries/helpers/GaussianMixtureHelpers/WilliamsGMMReducer.h>

+ Inheritance diagram for WilliamsGMMReducer:

Public Member Functions

 WilliamsGMMReducer ()
 
- Public Member Functions inherited from GMMReducer
 GMMReducer ()
 Creates a new GMMReducer. More...
 
virtual GaussianMixtureDistributionBasePtr reduceByComponentCount (const GaussianMixtureDistributionBasePtr &fullGMM, int countComp)
 
virtual GaussianMixtureDistributionBasePtr reduceByMaxAABB (const GaussianMixtureDistributionBasePtr &fullGMM, float maxSideLength)
 
virtual GaussianMixtureDistributionBasePtr reduceByMaxDeviation (const GaussianMixtureDistributionBasePtr &fullGMM, float maxDeviation, DeviationMeasure devMeasure)
 
virtual GaussianMixtureDistributionBasePtr reduceByMaxEqualSphere (const GaussianMixtureDistributionBasePtr &fullGMM, float maxSphereRadius)
 
virtual GaussianMixtureDistributionBasePtr reduceByMaxOrientedBBox (const GaussianMixtureDistributionBasePtr &fullGMM, float maxSideLength)
 

Protected Member Functions

void fillMergingCostVector (const GaussianMixtureDistributionBasePtr &gmm, GMMCompPairDistanceVector &costVec) override
 
float getMergingCost (const GaussianMixtureDistributionBasePtr &gmm, int c1, int c2) override
 
- Protected Member Functions inherited from GMMReducer
void mergeGMMComponents (const GaussianMixtureComponent &comp1, const GaussianMixtureComponent &comp2, GaussianMixtureComponent &mergedComp)
 
void mergeGMMComponents (GaussianMixtureDistributionPtr &gmm, int index1, int index2)
 
void replaceComponentsWithMerged (GaussianMixtureDistributionPtr &gmm, int index1, int index2, const GaussianMixtureComponent &mergedComp)
 

Additional Inherited Members

- Protected Attributes inherited from GMMReducer
GMMDistancePtr gmmDistance
 

Detailed Description

Definition at line 39 of file WilliamsGMMReducer.h.

Constructor & Destructor Documentation

◆ WilliamsGMMReducer()

Definition at line 28 of file WilliamsGMMReducer.cpp.

Member Function Documentation

◆ fillMergingCostVector()

void fillMergingCostVector ( const GaussianMixtureDistributionBasePtr &  gmm,
GMMCompPairDistanceVector costVec 
)
overrideprotectedvirtual

Reimplemented from GMMReducer.

Definition at line 42 of file WilliamsGMMReducer.cpp.

+ Here is the call graph for this function:

◆ getMergingCost()

float getMergingCost ( const GaussianMixtureDistributionBasePtr &  gmm,
int  c1,
int  c2 
)
overrideprotectedvirtual

Reimplemented from GMMReducer.

Definition at line 34 of file WilliamsGMMReducer.cpp.

+ Here is the call graph for this function:

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