Navigation
API > API/Runtime > API/Runtime/GeometryCore
Abstract array of positions for running the KMeans algorithm in serial or parallel.
| Name | TClusterCenterArray |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Clustering/KMeans.h |
| Include Path | #include "Clustering/KMeans.h" |
Syntax
template<typename TVectorType, bool bUseAtomicType>
struct TClusterCenterArray
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AtomicValues | TStaticArray< TArray< std::atomic< typename TVectorType::FReal > >, TVectorType::NumComponents > | Atomic values for parallel algorithm. | Clustering/KMeans.h | |
| Values | TArray< TVectorType > | Regular values for serial algorithm. | Clustering/KMeans.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Accumulate
(
int32 Index, |
Clustering/KMeans.h | ||
void Assign
(
int32 Index, |
Clustering/KMeans.h | ||
TVectorType DivideBy
(
int32 Index, |
Clustering/KMeans.h | ||
void RemoveAtSwap
(
size_t Index, |
Clustering/KMeans.h | ||
void SetNumZeroed
(
uint32 Num |
Clustering/KMeans.h |