-
Notifications
You must be signed in to change notification settings - Fork 0
/
SystemTest.h
51 lines (37 loc) · 1.24 KB
/
SystemTest.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#pragma once
#include "ConstDefine.h"
#include "Trajectory.h"
#include "Grid.h"
#include "MBB.h"
#include "STIG.h"
#include "FSG.h"
#include "MortonGrid.h"
#include <vector>
using namespace std;
extern void* baseAddrGPU;
class SystemTest
{
public:
SystemTest();
~SystemTest();
Trajectory* tradb;
Grid* g;
STIG* stig;
FSG* fsg;
MortonGrid *mgrid;
MBB rangeQueryMBB;
int rangeQueryNum;
int similarityScale;
int similarityKValue;
SystemTest(Trajectory* tradb, Grid* g, STIG *stig, FSG* fsg, MortonGrid *mgrid);
int rangeQueryTest(MBB rangeQueryMBB, int rangeQueryNum);
int rangeQueryTestWithoutMorton(MBB rangeQueryMBB, int rangeQueryNum);
int STIGrangeQueryTest(MBB rangeQueryMBB, int rangeQueryNum);
int FSGrangeQueryTest(MBB rangeQueryMBB, int rangeQueryNum);
int MortonGridRangeQueryTest(MBB rangeQueryMBB, int rangeQueryNum);
int MortonGridRangeQueryTestV2(MBB rangeQueryMBB, int rangeQueryNum);
int MortonGridRangeQueryTestV3(MBB rangeQueryMBB, int rangeQueryNum);
int similarityQueryTest(Trajectory t, int similarityScale, int similarityKValue);
int similarityQueryTest2(Trajectory* t, int similarityScale, int similarityKValue);
int similarityQueryTest3(vector<Trajectory> &t, int similarityScale, int similarityKValue);
};