KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
MultiGridDensityEstimator Class Reference

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>

Inheritance diagram for MultiGridDensityEstimator:
DensityEstimatorBase

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< GridDensityEstimatorgrids
 

Detailed Description

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.


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