All Classes Namespaces Files Functions Variables Typedefs Macros
cliz::Cluster Class Reference

#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
 

Detailed Description

Cluster Class that holds all features of its spikes, their mean (representative), their timestamps and its identification number (ID).

Constructor & Destructor Documentation

cliz::Cluster::Cluster ( float *&  iRepresentative,
int  iID,
float *&  iFeatures,
unsigned int *&  iIndices,
uint64_t *&  iTimestamps,
unsigned int  iNspk 
)

Cluster Constructor

Member Function Documentation

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

Here is the call graph for this function:

Member Data Documentation

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

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