comparison audioDB-internals.h @ 589:9119f2fa3efe

Header file rearrangement Make it so that lshlib.h is slightly more like a header file to include to use the LSH ("class G") class, and slightly less a header file for developing that class, by removing all the #includes and moving them to the one-file lshlib.cpp instead. Make audioDB-internals.h slightly more of a project header file, by including there all the headers we actually need. Remove some assert()s (which do nothing) and some Uns32Ts (-> uint32_t)
author mas01cr
date Tue, 11 Aug 2009 21:42:13 +0000
parents 638e1647b199
children 4eedc18634f5
comparison
equal deleted inserted replaced
588:638e1647b199 589:9119f2fa3efe
1 #include <sys/mman.h>
1 #include <sys/types.h> 2 #include <sys/types.h>
3
4 #include <errno.h>
5 #include <fcntl.h>
6 #include <limits.h>
7 #include <math.h>
8 #include <string.h>
2 #include <unistd.h> 9 #include <unistd.h>
3 10
11 #include <algorithm>
12 #include <iostream>
13 #include <map>
14 #include <queue>
4 #include <set> 15 #include <set>
5 #include <queue>
6 #include <map>
7 #include <string> 16 #include <string>
8 #include <algorithm> 17 #include <vector>
9 18
19 #include "accumulator.h"
10 #include "pointpair.h" 20 #include "pointpair.h"
11 #include "accumulator.h"
12 #include "lshlib.h" 21 #include "lshlib.h"
22
23 using namespace std;
13 24
14 /* this struct is for writing polymorphic routines as puns. When 25 /* this struct is for writing polymorphic routines as puns. When
15 * inserting, we might have a "datum" (with actual numerical data) or 26 * inserting, we might have a "datum" (with actual numerical data) or
16 * a "reference" (with strings denoting pathnames containing numerical 27 * a "reference" (with strings denoting pathnames containing numerical
17 * data), but most of the operations are the same. This struct, used 28 * data), but most of the operations are the same. This struct, used