14 #include "TPolyLine.h"
42 PBATDE(
const std::vector<std::vector<double>>& points,
43 const bool interp=
false,
80 double Evaluate(
const std::vector<double>& v)
const;
86 double Evaluate(
const double& v)
const;
92 double Evaluate(
const double* v)
const;
size_t _dim
Dimension of the space the estimator lives in.
Definition: PBATDE.hh:105
void Initialize()
Initialize the PBATDE in the N points.
Definition: PBATDE.cc:41
Set of functions that compose the Statistics package.
size_t _J
Number of points in each subsample.
Definition: PBATDE.hh:107
bool _interp
Apply simplexial interpolation if true.
Definition: PBATDE.hh:110
std::vector< std::vector< double > > _points
Array of input points.
Definition: PBATDE.hh:108
~PBATDE()
Destructor.
Definition: PBATDE.cc:39
size_t _M
Number of subsamples to produce.
Definition: PBATDE.hh:106
std::vector< TDE > _tdes
Array of bootstrapped TDEs.
Definition: PBATDE.hh:109
const size_t & GetDimension() const
Returns the dimension of the tesselated space.
Definition: PBATDE.hh:101
const std::vector< std::vector< double > > & GetPointArray() const
Returns the array of points on which the triangulation is constructed.
Definition: PBATDE.hh:95
double operator()(const double &v) const
Overloaded function operator, calls Evaluate.
Definition: PBATDE.hh:62
PBATDE()
Default constructor, initilizes everything to 0.
Definition: PBATDE.cc:3
const std::vector< double > & GetPoint(const size_t i) const
Returns a specific point.
Definition: PBATDE.hh:98
PBATDE & operator=(const PBATDE &pbatde)
Equality operator.
Definition: PBATDE.cc:25
double Evaluate(const std::vector< double > &v) const
Performs the density estimation at an n-point v.
Definition: PBATDE.cc:64
double operator()(const double *v) const
Overloaded function operator, calls Evaluate.
Definition: PBATDE.hh:68
Computes the Penalised Bootstrap Aggregate Tesselation Density Estimator (PBATDE) of a set of points...
Definition: PBATDE.hh:31
double operator()(const std::vector< double > &v) const
Overloaded function operator, calls Evaluate.
Definition: PBATDE.hh:56