22 #ifndef __CLUSTERING_H__
23 #define __CLUSTERING_H__
28 #include <yarp/os/Property.h>
29 #include <yarp/sig/Vector.h>
52 virtual std::map<size_t,std::set<size_t>>
cluster(
const std::vector<yarp::sig::Vector> &
data,
53 const yarp::os::Property &options) = 0;
83 std::map<size_t,std::set<size_t>>
cluster(
const std::vector<yarp::sig::Vector> &
data,
84 const yarp::os::Property &options)
override;
Abstract class for clustering.
virtual ~Clustering()
Virtual destructor.
virtual std::map< size_t, std::set< size_t > > cluster(const std::vector< yarp::sig::Vector > &data, const yarp::os::Property &options)=0
Cluster the provided data.
Data clustering based on DBSCAN algorithm.
std::map< size_t, std::set< size_t > > cluster(const std::vector< yarp::sig::Vector > &data, const yarp::os::Property &options) override
Cluster the provided data.
virtual ~DBSCAN()
Virtual destructor.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.