我要评分
获取效率
正确性
完整性
易理解

GetDim

API Definition

int GetDim() const;

Function

Returns 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 dim. 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.