LoadGraph
API Definition
int LoadGraph(const char *path, int level);
Function
Load a searcher from a specified path.
Parameters
Parameter |
Description |
Data Type |
Value Range |
|---|---|---|---|
path |
Path for loading the searcher. |
const char * |
The length must be less than 199 characters. |
level |
Quantization level. |
int |
[-1,5]
|
Return Value
Data Type |
Description |
|---|---|
int |
If the parameter value exceeds the value range or an I/O problem such as incorrect read path occurs, -1 is returned. Otherwise, 0 is returned. |
Parent topic: C++