KrisLibrary  1.0.0
Public Member Functions | List of all members
DensityEstimatorBase Class Referenceabstract

A base class for density estimators. Each point in an N dimensional space is attached to some data pointer. Density in the space is measured by the Density() function, and only matters in a relative sense. More...

#include <DensityEstimator.h>

Inheritance diagram for DensityEstimatorBase:
GridDensityEstimator KernelDensityEstimator MultiGridDensityEstimator

Public Member Functions

virtual void Clear ()=0
 
virtual void Add (const Math::Vector &x, void *data)=0
 
virtual void Remove (const Math::Vector &x, void *data)=0
 
virtual double Density (const Config &x)=0
 
virtual void * RandomNear (const Math::Vector &x)
 
virtual void * Random ()
 
virtual void Random (Math::Vector &x)
 

Detailed Description

A base class for density estimators. Each point in an N dimensional space is attached to some data pointer. Density in the space is measured by the Density() function, and only matters in a relative sense.

Subclasses may also overload Random() and RandomNear() to sample an existing point


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