CAPD RedHom Library
capd::persistence::DistanceMatrixMetric Struct Reference

#include <capd/persistence/DistanceMatrixPointCloud.h>

Public Types

typedef double Distance
 
typedef size_t Point
 
typedef boost::iterator_range< const double * > Data
 

Public Member Functions

 DistanceMatrixMetric (size_t size, Data data)
 
Distance operator() (const Point &point1, const Point &point2) const
 
size_t size () const
 

Member Typedef Documentation

typedef boost::iterator_range<const double*> capd::persistence::DistanceMatrixMetric::Data

Constructor & Destructor Documentation

capd::persistence::DistanceMatrixMetric::DistanceMatrixMetric ( size_t  size,
Data  data 
)
inlineexplicit

Member Function Documentation

Distance capd::persistence::DistanceMatrixMetric::operator() ( const Point point1,
const Point point2 
) const
inline
size_t capd::persistence::DistanceMatrixMetric::size ( ) const
inline