forked from nmslib/nmslib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnmslib.h
36 lines (32 loc) · 1.25 KB
/
nmslib.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
* Non-metric Space Library
*
* Authors: Bilegsaikhan Naidan (https://github.com/bileg), Leonid Boytsov (http://boytsov.info).
* With contributions from Lawrence Cayton (http://lcayton.com/) and others.
*
* For the complete list of contributors and further details see:
* https://github.com/searchivarius/NonMetricSpaceLib
*
* Copyright (c) 2015
*
* This code is released under the
* Apache License Version 2.0 http://www.apache.org/licenses/.
*
*/
#ifndef _PY_NMSLIB_ALL_H_
#define _PY_NMSLIB_ALL_H_
extern "C" void initnmslib();
PyObject* init(PyObject* self, PyObject* args);
PyObject* addDataPoint(PyObject* self, PyObject* args);
PyObject* addDataPointBatch(PyObject* self, PyObject* args);
PyObject* setQueryTimeParams(PyObject* self, PyObject* args);
PyObject* createIndex(PyObject* self, PyObject* args);
PyObject* saveIndex(PyObject* self, PyObject* args);
PyObject* loadIndex(PyObject* self, PyObject* args);
PyObject* knnQuery(PyObject* self, PyObject* args);
PyObject* knnQueryBatch(PyObject* self, PyObject* args);
PyObject* getDataPoint(PyObject* self, PyObject* args);
PyObject* getDataPointQty(PyObject* self, PyObject* args);
PyObject* getDistance(PyObject* self, PyObject* args);
PyObject* freeIndex(PyObject* self, PyObject* args);
#endif