![]() |
#include <clizSorter.h>
Public Member Functions | |
| Cluster (float *&iRepresentative, int iID, float *&iFeatures, unsigned int *&iIndices, uint64_t *&iTimestamps, unsigned int iNspk) | |
| void | destroy (MemoryManager &memMan) |
Public Attributes | |
| int | ID |
| unsigned int | nspk |
| unsigned int * | indices |
| float * | features |
| float * | representative |
| uint64_t * | timestamps |
Cluster Class that holds all features of its spikes, their mean (representative), their timestamps and its identification number (ID).
| cliz::Cluster::Cluster | ( | float *& | iRepresentative, |
| int | iID, | ||
| float *& | iFeatures, | ||
| unsigned int *& | iIndices, | ||
| uint64_t *& | iTimestamps, | ||
| unsigned int | iNspk | ||
| ) |
Cluster Constructor
| void cliz::Cluster::destroy | ( | MemoryManager & | memMan | ) |
Cluster "Destructor" Don't make a real destructor out of it...it will free memory after push_back which makes the ptr copy in an std::vector unvalid. Todo: Nicer solution

| float* cliz::Cluster::features |
| int cliz::Cluster::ID |
| unsigned int* cliz::Cluster::indices |
| unsigned int cliz::Cluster::nspk |
| float* cliz::Cluster::representative |
| uint64_t* cliz::Cluster::timestamps |