npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::AbsDiscreteDistribution1DDistance Struct Referenceabstract

#include <AbsDiscreteDistribution1D.hh>

Public Member Functions

virtual double operator() (const AbsDiscreteDistribution1D &prob1, const AbsDiscreteDistribution1D &prob2, const AbsDiscreteDistribution1D *pooled, long first, long oneAboveLast) const =0
 

Detailed Description

Interface class for calculating some kind of a distance measure between two distributions. If the distance is asymmetric, the "reference" distribution (more precise in some sense) should be the second argument of operator()(...). The pointer to the pooled distribution can be NULL. If it is not NULL then it may or may not be ignored by the distance functor.


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