DP3
Public Types | Public Member Functions | List of all members
dp3::common::ProximityClustering Class Reference

#include <ProximityClustering.h>

Public Types

using Coordinate = std::pair< NumType, NumType >
 
using NumType = double
 

Public Member Functions

 ProximityClustering (const std::vector< Coordinate > &coordinates)
 
std::vector< std::vector< std::size_t > > Group (NumType max_distance)
 

Detailed Description

Class that can cluster a source list into groups of sources that are proximate to each other.

Member Typedef Documentation

◆ Coordinate

◆ NumType

Constructor & Destructor Documentation

◆ ProximityClustering()

dp3::common::ProximityClustering::ProximityClustering ( const std::vector< Coordinate > &  coordinates)

Member Function Documentation

◆ Group()

std::vector<std::vector<std::size_t> > dp3::common::ProximityClustering::Group ( NumType  max_distance)

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