updated text files
[RBC.git] / rbc.h
1 /* This file is part of the Random Ball Cover (RBC) library.
2 * (C) Copyright 2010, Lawrence Cayton [lcayton@tuebingen.mpg.de]
3 */
4
5 #ifndef RBC_H
6 #define RBC_H
7
8 #include "defs.h"
9
10
11 void buildRBC(const matrix,rbcStruct*,unint, unint);
12 void queryRBC(const matrix,const rbcStruct,unint*,real*);
13 void kqueryRBC(const matrix,const rbcStruct,intMatrix,matrix);
14 void destroyRBC(rbcStruct*);
15 void distSubMat(matrix,matrix,matrix,unint,unint);
16 void computeReps(matrix,matrix,unint*,real*);
17 void computeRadii(unint*,real*,real*,unint,unint);
18 void computeCounts(unint*,unint,unint*);
19 void buildQMap(matrix,unint*,unint*,unint,unint*);
20 void idIntersection(charMatrix);
21 void fullIntersection(charMatrix);
22 void initCompPlan(compPlan*,charMatrix,unint*,unint*,unint);
23 void freeCompPlan(compPlan*);
24 void computeNNs(matrix,intMatrix,matrix,unint*,compPlan,unint*,real*,unint);
25 void computeKNNs(matrix,intMatrix,matrix,unint*,compPlan,intMatrix,matrix,unint);
26 void setupReps(matrix,rbcStruct*,unint);
27
28 #endif