CAPD RedHom Library
capd::persistence::DistanceMatrixPointCloud Class Reference

#include <capd/persistence/DistanceMatrixPointCloud.h>

Public Types

typedef DistanceMatrixMetric Metric
 
typedef Metric::Point Point
 
typedef Metric::Distance Distance
 
typedef size_t Id
 

Public Member Functions

 DistanceMatrixPointCloud (size_t size, Metric::Data data)
 
virtual ~DistanceMatrixPointCloud ()
 
virtual size_t size () const
 
Point operator[] (size_t idx) const
 
void setNeighbour (Id idxI, Id idxJ, double weight)
 
virtual void neighbours (Id idxI, std::vector< Id > &result) const
 
virtual size_t edges ()
 
Distance distance (Id p1, Id p2) const
 
virtual std::vector< Idneighbours (Id idxI) const
 

Member Typedef Documentation

Constructor & Destructor Documentation

capd::persistence::DistanceMatrixPointCloud::DistanceMatrixPointCloud ( size_t  size,
Metric::Data  data 
)
inlineexplicit
capd::persistence::DistanceMatrixPointCloud::~DistanceMatrixPointCloud ( )
virtual

Member Function Documentation

DistanceMatrixPointCloud::Distance capd::persistence::DistanceMatrixPointCloud::distance ( Id  p1,
Id  p2 
) const
virtual
size_t capd::persistence::DistanceMatrixPointCloud::edges ( )
virtual
virtual std::vector<Id> capd::persistence::AbstractPointCloud::neighbours ( Id  idxI) const
inlinevirtualinherited
void capd::persistence::DistanceMatrixPointCloud::neighbours ( Id  idxI,
std::vector< Id > &  result 
) const
virtual
Point capd::persistence::DistanceMatrixPointCloud::operator[] ( size_t  idx) const
inline
void capd::persistence::DistanceMatrixPointCloud::setNeighbour ( Id  idxI,
Id  idxJ,
double  weight 
)
virtual size_t capd::persistence::DistanceMatrixPointCloud::size ( ) const
inlinevirtual