-
Notifications
You must be signed in to change notification settings - Fork 0
/
constant.h
29 lines (23 loc) · 966 Bytes
/
constant.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
//
// Created by 86173 on 2022/2/3.
//
#ifndef TRAJCSIMILAR_CONSTANT_H
#define TRAJCSIMILAR_CONSTANT_H
#include "distance.h"
#include "map"
using namespace std;
typedef pair<double,double> point;
typedef vector<point> path;
typedef pair<pair<int, int>, double> subResult;
static map<string , pair<vector<double>, vector<double>>> range{
{"xian", {{34.20, 34.29}, {108.91, 109.00}}},
{"chengdu", {{30.65, 30.73}, {104.04, 104.13}}},
{"porto", {{41.11, 41.19}, {-8.67, -8.57}}}
};
static bool generateResult = false;
static double MaxSimilar = 100000000000;
static string filepath = "/home/jiabaojin/project/trajectorySimilarity/data/result/";
static const char *datasource = "/home/jiabaojin/project/trajectorySimilarity/data/data/%s/trajectory_data";
static pair<double, double> nullPoint = pair<double, double>{-1000,-1000};
static pair<double, double> centerPoint = pair<double, double>{34.44, 109.95}; // 西安
#endif //TRAJCSIMILAR_CONSTANT_H