KrisLibrary
1.0.0
|
A multiple-grid based density estimator that attempts to avoid data fragmentation by collecting histograms on multiple axes and fusing them together. More...
#include <DensityEstimator.h>
Public Member Functions | |
MultiGridDensityEstimator (int numDims, int numMappedDims, Real h) | |
MultiGridDensityEstimator (int numDims, int numMappedDims, const Math::Vector &h) | |
void | Randomize () |
virtual void | Clear () |
virtual void | Add (const Math::Vector &x, void *data) |
virtual void | Remove (const Math::Vector &x, void *data) |
virtual double | Density (const Config &x) |
virtual void * | RandomNear (const Math::Vector &x) |
virtual void * | Random () |
Public Member Functions inherited from DensityEstimatorBase | |
virtual void | Random (Math::Vector &x) |
Public Attributes | |
int | numDims |
int | numMappedDims |
Math::Vector | h |
std::vector< GridDensityEstimator > | grids |
A multiple-grid based density estimator that attempts to avoid data fragmentation by collecting histograms on multiple axes and fusing them together.
Note: Randomize will destroy the contents of the estimator.