-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexperiment.h
39 lines (31 loc) · 1.01 KB
/
experiment.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
//
// Created by 86173 on 2022/2/8.
//
#ifndef TRAJCSIMILAR_EXPERIMENT_H
#define TRAJCSIMILAR_EXPERIMENT_H
#include <sys/time.h>
#include "mostSimilar.h"
extern string matricsType;
extern string pruningType;
extern string gatherType;
extern string dataType;
extern long evaluateTime;
extern long algorithmTime;
extern int datasize;
extern int maxLen;
extern int minLen;
extern double gridSize;
extern double keyNum;
extern double fixRate;
extern double filterNum;
void showResult(const string& algorithm, const path& p1, const path& p2);
void findMostSimilar(const vector<path>& paths, int query, const string& algorithm, const string& targetFile, int limit=1);
void findMultiMostSimilar(const vector<path>& paths, vector<int>& querys, const string& algorithm, string targetFile, int limit);
void varyLength(int l, int r, string dataset);
void varyDataLength(int l, int r);
void varyDataSize(int size);
void varyQuerySize(int size);
void varyGridSize();
void varyRate();
void varyKeyNum();
#endif //TRAJCSIMILAR_EXPERIMENT_H