Public Member Functions | List of all members
iCub::ctrl::DBSCAN Class Reference

#include <clustering.h>

+ Inheritance diagram for iCub::ctrl::DBSCAN:

Public Member Functions

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. More...
virtual ~DBSCAN ()
 Virtual destructor. More...
- Public Member Functions inherited from iCub::ctrl::Clustering
virtual ~Clustering ()
 Virtual destructor. More...

Detailed Description

Data clustering based on DBSCAN algorithm.

This implementation is based on the code available at

Definition at line 70 of file clustering.h.

Constructor & Destructor Documentation


virtual iCub::ctrl::DBSCAN::~DBSCAN ( )

Virtual destructor.

Definition at line 89 of file clustering.h.

Member Function Documentation

◆ cluster()

map< size_t, set< size_t > > DBSCAN::cluster ( const std::vector< yarp::sig::Vector > &  data,
const yarp::os::Property &  options 

Cluster the provided data.

datacontains points to be clustered.
optionscontains clustering options. The available options are: "epsilon" representing the proximity sensitivity; "minpts" representing the minimum number of neighbours.
clusters as a mapping between classes and the sets of elements indexes wrt the original data.

Implements iCub::ctrl::Clustering.

Definition at line 152 of file clustering.cpp.

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