OmniSciDB
a5dc49c757
|
#include <quantile.h>
Public Member Functions | |
DEVICE | CentroidsMerger (Centroids< RealType, IndexType > *buf, Centroids< RealType, IndexType > *centroids, bool const forward) |
DEVICE Centroids< RealType, IndexType > * | getNextCentroid () const |
DEVICE bool | hasNext () const |
DEVICE void | merge (IndexType const max_count) |
DEVICE void | next () |
DEVICE IndexType | prefixSum () const |
DEVICE IndexType | totalWeight () const |
Private Member Functions | |
DEVICE void | mergeMinMax () |
DEVICE void | setCurrCentroid () |
Private Attributes | |
Centroids< RealType, IndexType > * | buf_ |
Centroids< RealType, IndexType > * | centroids_ |
Centroids< RealType, IndexType > * | curr_centroid_ |
IndexType | prefix_sum_ {0} |
IndexType const | total_weight_ |
bool const | forward_ |
Definition at line 134 of file quantile.h.
DEVICE quantile::detail::CentroidsMerger< RealType, IndexType >::CentroidsMerger | ( | Centroids< RealType, IndexType > * | buf, |
Centroids< RealType, IndexType > * | centroids, | ||
bool const | forward | ||
) |
Definition at line 441 of file quantile.h.
References quantile::detail::CentroidsMerger< RealType, IndexType >::buf_, quantile::detail::CentroidsMerger< RealType, IndexType >::centroids_, quantile::detail::CentroidsMerger< RealType, IndexType >::forward_, quantile::detail::CentroidsMerger< RealType, IndexType >::mergeMinMax(), and quantile::detail::CentroidsMerger< RealType, IndexType >::setCurrCentroid().
DEVICE Centroids< RealType, IndexType > * quantile::detail::CentroidsMerger< RealType, IndexType >::getNextCentroid | ( | ) | const |
Definition at line 457 of file quantile.h.
|
inline |
Definition at line 153 of file quantile.h.
References quantile::detail::CentroidsMerger< RealType, IndexType >::buf_, and quantile::detail::CentroidsMerger< RealType, IndexType >::centroids_.
DEVICE void quantile::detail::CentroidsMerger< RealType, IndexType >::merge | ( | IndexType const | max_count | ) |
Definition at line 568 of file quantile.h.
Referenced by quantile::detail::TDigest< RealType, IndexType >::mergeCentroids().
|
private |
Definition at line 597 of file quantile.h.
Referenced by quantile::detail::CentroidsMerger< RealType, IndexType >::CentroidsMerger().
DEVICE void quantile::detail::CentroidsMerger< RealType, IndexType >::next | ( | ) |
Definition at line 608 of file quantile.h.
|
inline |
Definition at line 161 of file quantile.h.
References quantile::detail::CentroidsMerger< RealType, IndexType >::prefix_sum_.
|
private |
Definition at line 614 of file quantile.h.
Referenced by quantile::detail::CentroidsMerger< RealType, IndexType >::CentroidsMerger().
|
inline |
Definition at line 163 of file quantile.h.
References quantile::detail::CentroidsMerger< RealType, IndexType >::total_weight_.
|
private |
Definition at line 135 of file quantile.h.
Referenced by quantile::detail::CentroidsMerger< RealType, IndexType >::CentroidsMerger(), and quantile::detail::CentroidsMerger< RealType, IndexType >::hasNext().
|
private |
Definition at line 136 of file quantile.h.
Referenced by quantile::detail::CentroidsMerger< RealType, IndexType >::CentroidsMerger(), and quantile::detail::CentroidsMerger< RealType, IndexType >::hasNext().
|
private |
Definition at line 137 of file quantile.h.
|
private |
Definition at line 140 of file quantile.h.
Referenced by quantile::detail::CentroidsMerger< RealType, IndexType >::CentroidsMerger().
|
private |
Definition at line 138 of file quantile.h.
Referenced by quantile::detail::CentroidsMerger< RealType, IndexType >::prefixSum().
|
private |
Definition at line 139 of file quantile.h.
Referenced by quantile::detail::CentroidsMerger< RealType, IndexType >::totalWeight().