iCub-main
Public Member Functions | List of all members
iCub::ctrl::Clustering Class Referenceabstract

Abstract class for clustering. More...

#include <clustering.h>

+ Inheritance diagram for iCub::ctrl::Clustering:

Public Member Functions

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. More...
 
virtual ~Clustering ()
 Virtual destructor. More...
 

Detailed Description

Abstract class for clustering.

Definition at line 42 of file clustering.h.

Constructor & Destructor Documentation

◆ ~Clustering()

virtual iCub::ctrl::Clustering::~Clustering ( )
inlinevirtual

Virtual destructor.

Definition at line 58 of file clustering.h.

Member Function Documentation

◆ cluster()

virtual std::map<size_t,std::set<size_t> > iCub::ctrl::Clustering::cluster ( const std::vector< yarp::sig::Vector > &  data,
const yarp::os::Property &  options 
)
pure virtual

Cluster the provided data.

Parameters
datacontains points to be clustered.
optionscontains clustering options.
Returns
clusters as a mapping between classes and the sets of elements indexes wrt the original data.

Implemented in iCub::ctrl::DBSCAN.


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