24 #ifndef SKA_CHEETAH_SPS_CLUSTERING_FOF_H 25 #define SKA_CHEETAH_SPS_CLUSTERING_FOF_H 27 #include "cheetah/sps_clustering/Config.h" 28 #include "cheetah/data/SpCcl.h" 29 #include <boost/geometry/geometry.hpp> 34 namespace sps_clustering {
44 static constexpr std::size_t ClusteringParams = 3;
45 typedef boost::geometry::model::point<double, ClusteringParams, boost::geometry::cs::cartesian> PointType;
51 void linking_length(
double const& l);
53 double linking_length()
const;
61 template<
typename NumRepType>
66 double _linking_length;
67 double _linking_length_2;
74 #include "cheetah/sps_clustering/detail/Fof.cpp" 75 #endif // SKA_CHEETAH_SPS_CLUSTERING_FOF_H Some limits and constants for FLDO.
Friend Of Friends Clustering Algorithm for SpCandidates.
std::vector< std::vector< size_t > > operator()(data::SpCcl< NumRepType > const &cands)
Group the candidates using the fof algorithm.