npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::DummyDistro1DBuilder< Point > Class Template Reference
Inheritance diagram for npstat::DummyDistro1DBuilder< Point >:
npstat::AbsDistro1DBuilder< Point >

Public Types

typedef AbsDistro1DBuilder< Point > B
 
typedef B::WeightedPtrVec WeightedPtrVec
 
typedef B::WeightedValueVec WeightedValueVec
 
- Public Types inherited from npstat::AbsDistro1DBuilder< Point >
typedef AbsDistribution1D result_type
 
typedef std::pair< const Point *, double > WeightedPointPtr
 
typedef std::vector< WeightedPointPtr > WeightedPtrVec
 
typedef std::pair< typename Point::value_type, double > WeightedValue
 
typedef std::vector< WeightedValue > WeightedValueVec
 

Public Member Functions

AbsDistribution1Dbuild (unsigned long, const double *, unsigned, const BoxND< double > &, std::vector< typename Point::value_type > &) const
 
AbsDistribution1DbuildWeighted (unsigned long, const double *, unsigned, const BoxND< double > &, const WeightedPtrVec &, unsigned) const
 

Member Function Documentation

◆ build()

template<class Point >
AbsDistribution1D* npstat::DummyDistro1DBuilder< Point >::build ( unsigned long  uniqueId,
const double *  predictorCoords,
unsigned  nPredictors,
const BoxND< double > &  predictorBox,
std::vector< typename Point::value_type > &  data 
) const
inlinevirtual

This method will build an AbsDistribution1D object on the heap using a sample of points. It is a responsibility of the user to delete such an object when it is no longer needed.

Reimplemented from npstat::AbsDistro1DBuilder< Point >.

◆ buildWeighted()

template<class Point >
AbsDistribution1D* npstat::DummyDistro1DBuilder< Point >::buildWeighted ( unsigned long  uniqueId,
const double *  predictorCoords,
unsigned  nPredictors,
const BoxND< double > &  predictorBox,
const WeightedPtrVec &  data,
unsigned  responseDimToUse 
) const
inlinevirtual

This method will build an AbsDistribution1D object on the heap using a sample of weighted points. It is a responsibility of the user to delete such an object when it is no longer needed.

Reimplemented from npstat::AbsDistro1DBuilder< Point >.


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