match.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef MATCH_H
00008 #define MATCH_H
00009
00010 #include "datatypes.h"
00011
00014 #define MATCH_FAIL -1
00015
00018 #define HANDSHAKE_FAIL -2
00019
00020
00024 int bfind(IndexedList list[], int low, int high, double key);
00025
00028 void getrange(IndexedList dec[], int nrecs, int idx, double tol,
00029 int *i1, int *i2, double dec0);
00030
00033 double calc_metric(double asvalue);
00034
00038 int* matchpairs(CartesianSet cartM[], IndexedList decM[], int nrecM,
00039 CartesianSet cartS[], IndexedList decS[], int nrecS,
00040 double matchradius);
00041
00044 void handshake(int* ppM, int nrecM, int* ppS, int nrecS);
00045
00046 #endif
00047
00048
00049
00050
00051
00052