CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
Cluster Struct Reference

This data structure represents a cluster. Each cluster in the t-digest contains a mean and a weight (number of samples). More...

Data Fields

uint32_t mean
 The average value of samples in this cluster. This is a cached value that is updated whenever clusters are merged. Mean is used during the sorting of clusters and this cached value greatly improves sort speed.
 
uint64_t sum
 The sum of all values in this cluster.
 
int samples
 The number of samples in this cluster.
 

Detailed Description

This data structure represents a cluster. Each cluster in the t-digest contains a mean and a weight (number of samples).


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