ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Tree-M/PMT.h
(Generate patch)

Comparing Tree-M/PMT.h (file contents):
Revision 1.1 by root, Sun May 6 00:45:51 2001 UTC vs.
Revision 1.2 by root, Sun May 6 01:35:15 2001 UTC

24 void open(const char *path); 24 void open(const char *path);
25 void insert(double *k, int data); 25 void insert(double *k, int data);
26 double distance(double *k1, double *k2) const; 26 double distance(double *k1, double *k2) const;
27 void range(double *k, double r) const; 27 void range(double *k, double r) const;
28 void top(double *k, int n) const; 28 void top(double *k, int n) const;
29 int maxlevel() const;
29 //bulkload(PKey *o, int count); 30 //bulkload(PKey *o, int count);
30}; 31};
31 32
32#define ACC (current_pmt) 33#define ACC (current_pmt)
33#define NDIMS (ACC->ndims) 34#define NDIMS (ACC->ndims)
34 35
35extern const PMT *current_pmt; 36extern const PMT *current_pmt;
36 37
37extern void add_result(double distance, int data, double *k, int ndims); 38extern void add_result(int data, double *k, int ndims);
38 39
39#endif 40#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines