ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
Kdtree::DistanceL0 Class Reference
Inheritance diagram for Kdtree::DistanceL0:
Inheritance graph
[legend]
Collaboration diagram for Kdtree::DistanceL0:
Collaboration graph
[legend]

Public Member Functions

 DistanceL0 (const DoubleVector *weights=NULL)
 
 ~DistanceL0 ()
 
double distance (const CoordPoint &p, const CoordPoint &q)
 
double coordinate_distance (double x, double y, size_t dim)
 
- Public Member Functions inherited from Kdtree::DistanceMeasure
 DistanceMeasure ()
 
virtual ~DistanceMeasure ()
 

Detailed Description

Definition at line 72 of file kdtree.cxx.

Constructor & Destructor Documentation

◆ DistanceL0()

Kdtree::DistanceL0::DistanceL0 ( const DoubleVector weights = NULL)
inline

Definition at line 76 of file kdtree.cxx.

◆ ~DistanceL0()

Kdtree::DistanceL0::~DistanceL0 ( )
inline

Definition at line 83 of file kdtree.cxx.

Member Function Documentation

◆ coordinate_distance()

double Kdtree::DistanceL0::coordinate_distance ( double  x,
double  y,
size_t  dim 
)
inlinevirtual

Implements Kdtree::DistanceMeasure.

Definition at line 109 of file kdtree.cxx.

◆ distance()

double Kdtree::DistanceL0::distance ( const CoordPoint p,
const CoordPoint q 
)
inlinevirtual

Implements Kdtree::DistanceMeasure.

Definition at line 88 of file kdtree.cxx.


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