npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::Private::CdfWeightAssigner< Point > Class Template Reference
Inheritance diagram for npstat::Private::CdfWeightAssigner< Point >:
npstat::AbsVisitor< Point, double >

Public Types

typedef Point::value_type Real
 
typedef std::pair< const Point *, double > WeightedPointPtr
 
typedef std::vector< WeightedPointPtr > WeightedPtrVec
 

Public Member Functions

 CdfWeightAssigner (const std::vector< SampleAccumulator< Real > > &predSamples, const unsigned *dimPredictors, const double *coords, const unsigned nCoords, const int symbetaPow)
 
void setBandwidth (const double h)
 
void clear ()
 
void process (const Point &point)
 
double result ()
 
const WeightedPtrVec & getPoints () const
 
unsigned getVisitCount () const
 
unsigned getNZeroWeights () const
 

Member Function Documentation

◆ clear()

template<class Point >
void npstat::Private::CdfWeightAssigner< Point >::clear ( )
inlinevirtual

Clear all accumulated results

Implements npstat::AbsVisitor< Point, double >.

◆ process()

template<class Point >
void npstat::Private::CdfWeightAssigner< Point >::process ( const Point &  value)
inlinevirtual

Process one array point

Implements npstat::AbsVisitor< Point, double >.

◆ result()

template<class Point >
double npstat::Private::CdfWeightAssigner< Point >::result ( )
inlinevirtual

Return the result at the end of array processing

Implements npstat::AbsVisitor< Point, double >.


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