Rate This Document
Findability
Accuracy
Completeness
Readability

GetPQDistanceTableSdc

API Definition

int GetPQDistanceTableSdc(const PQParams *params, float *pqDistanceTable);

Function

Calculate the PQ SDC distance table, that is, calculate the distance between the cluster centroids in each subspace.

Parameters

Parameter

Description

Data Type

Value Range

pqDistanceTable

SDC distance table. It can also be used as an output value.

float*

The value cannot be null.

PQParams

For details, see the description of PQParams in Structure Description.

Return Value

Data Type

Description

int

The value 0 is returned when the system runs properly, and the value −1 is returned when the system exits abnormally.