Rate This Document
Findability
Accuracy
Completeness
Readability

GetDim

API Definition

int GetDim() const;

Function

Return the data dimension in the current graph index.

Parameters

None

Return Value

Data Type

Description

int

For parametrized constructors, the value is the same as that of K_features. For no-argument constructors or the parametrized constructors after Load/Deserialize/LoadGraph is called, the value is the dimension of the data read from the searcher or the graph index.