-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
147 lines (135 loc) · 9.92 KB
/
CMakeLists.txt
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
cmake_minimum_required(VERSION 3.10)
project(project_1)
set(CMAKE_CXX_STANDARD 14)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
set(CMAKE_CXX_FLAGS "")
set(CMAKE_CXX_FLAGS_DEBUG "-g3 -Wall -Wextra -Wno-unknown-pragmas -Wno-unused-parameter")
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
add_executable(lsh tests/main_lsh.cpp src/util/files/file_reader.cpp src/util/files/file_reader.hpp src/lsh/lsh.cpp src/lsh/lsh.hpp src/util/dataset/dataset.cpp src/util/dataset/dataset.hpp src/lsh/hash_functions/hash_function.cpp src/lsh/hash_functions/hash_function.hpp src/lsh/hash_functions/amplified_hf.cpp src/lsh/hash_functions/amplified_hf.hpp src/util/utilities.cpp src/util/utilities.hpp src/bruteforce/brute_force_nn.cpp src/bruteforce/brute_force_nn.hpp src/lsh/hashtable/hashtable.hpp src/lsh/hashtable/hashtable.cpp src/util/metrics/metrics.cpp src/util/metrics/metrics.hpp
src/util/dataset/dataset.cpp src/util/dataset/dataset.hpp src/util/files/file_reader.cpp src/util/files/file_reader.hpp src/util/utilities.cpp src/util/utilities.hpp src/util/metrics/metrics.cpp src/util/metrics/metrics.hpp src/curve/grid.cpp src/curve/grid.hpp src/curve/curve.cpp src/curve/curve.hpp src/curve/point.hpp
cont_frechet_repo/Fred/include/curve.hpp cont_frechet_repo/Fred/src/curve.cpp
cont_frechet_repo/Fred/include/point.hpp cont_frechet_repo/Fred/src/point.cpp
cont_frechet_repo/Fred/include/simplification.hpp cont_frechet_repo/Fred/src/simplification.cpp
cont_frechet_repo/Fred/include/config.hpp cont_frechet_repo/Fred/src/config.cpp
cont_frechet_repo/Fred/include/frechet.hpp cont_frechet_repo/Fred/src/frechet.cpp
src/lsh/lsh.cpp src/lsh/lsh.hpp)
# add_executable(cube tests/main_hc.cpp src/hypercube/hypercube.cpp src/hypercube/hypercube.hpp src/util/files/file_reader.cpp src/util/files/file_reader.hpp src/util/dataset/dataset.cpp src/util/dataset/dataset.hpp src/lsh/hash_functions/hash_function.cpp src/lsh/hash_functions/hash_function.hpp src/util/utilities.cpp src/util/utilities.hpp src/bruteforce/brute_force_nn.cpp src/bruteforce/brute_force_nn.hpp src/util/metrics/metrics.cpp src/util/metrics/metrics.hpp)
add_executable(unit_tests tests/unit_tests.cpp
src/util/metrics/metrics.cpp
src/util/metrics/metrics.hpp
src/util/utilities.cpp
src/util/utilities.hpp
src/curve/grid.cpp
src/curve/grid.hpp
src/curve/curve.cpp
src/curve/curve.hpp
src/curve/point.hpp
cont_frechet_repo/Fred/include/curve.hpp cont_frechet_repo/Fred/src/curve.cpp
cont_frechet_repo/Fred/include/point.hpp cont_frechet_repo/Fred/src/point.cpp
cont_frechet_repo/Fred/include/simplification.hpp cont_frechet_repo/Fred/src/simplification.cpp
cont_frechet_repo/Fred/include/config.hpp cont_frechet_repo/Fred/src/config.cpp
cont_frechet_repo/Fred/include/frechet.hpp cont_frechet_repo/Fred/src/frechet.cpp
)
add_executable(cluster tests/main_cluster.cpp
src/clustering/cluster.cpp
src/clustering/cluster.hpp
src/clustering/cluster_template.cpp
src/clustering/cluster_template.hpp
src/clustering/complete_binary_tree.hpp
src/lsh/hashtable/hashtable.hpp
src/lsh/hashtable/hashtable.cpp
src/lsh/hash_functions/hash_function.cpp
src/lsh/hash_functions/hash_function.hpp
src/lsh/hash_functions/amplified_hf.cpp
src/lsh/hash_functions/amplified_hf.hpp
src/lsh/lsh.cpp
src/lsh/lsh.hpp
src/hypercube/hypercube.cpp
src/hypercube/hypercube.hpp
src/util/dataset/dataset.cpp
src/util/dataset/dataset.hpp
src/util/files/file_reader.cpp
src/util/files/file_reader.hpp
src/util/utilities.cpp
src/util/utilities.hpp
src/util/metrics/metrics.cpp
src/util/metrics/metrics.hpp
src/curve/grid.cpp
src/curve/grid.hpp
src/curve/curve.cpp
src/curve/curve.hpp
src/curve/point.hpp
cont_frechet_repo/Fred/include/curve.hpp cont_frechet_repo/Fred/src/curve.cpp
cont_frechet_repo/Fred/include/point.hpp cont_frechet_repo/Fred/src/point.cpp
cont_frechet_repo/Fred/include/simplification.hpp cont_frechet_repo/Fred/src/simplification.cpp
cont_frechet_repo/Fred/include/config.hpp cont_frechet_repo/Fred/src/config.cpp
cont_frechet_repo/Fred/include/frechet.hpp cont_frechet_repo/Fred/src/frechet.cpp
)
# add_custom_target(cluster_test ./cluster -i ../data/nasd_input_small.csv -c ../data/cluster.conf -o ../data/out_cluster_test.txt -update Mean_Vector -assignment Classic)
add_executable(cont_frechet tests/main_cont_frechet.cpp src/util/dataset/dataset.cpp src/util/dataset/dataset.hpp src/util/files/file_reader.cpp src/util/files/file_reader.hpp src/util/utilities.cpp src/util/utilities.hpp src/util/metrics/metrics.cpp src/util/metrics/metrics.hpp src/curve/grid.cpp src/curve/grid.hpp src/curve/curve.cpp src/curve/curve.hpp src/curve/point.hpp
cont_frechet_repo/Fred/include/curve.hpp cont_frechet_repo/Fred/src/curve.cpp
cont_frechet_repo/Fred/include/point.hpp cont_frechet_repo/Fred/src/point.cpp
cont_frechet_repo/Fred/include/simplification.hpp cont_frechet_repo/Fred/src/simplification.cpp
cont_frechet_repo/Fred/include/config.hpp cont_frechet_repo/Fred/src/config.cpp
cont_frechet_repo/Fred/include/frechet.hpp cont_frechet_repo/Fred/src/frechet.cpp
src/lsh/lsh.cpp src/lsh/lsh.hpp
src/lsh/hash_functions/hash_function.cpp src/lsh/hash_functions/hash_function.hpp src/lsh/hash_functions/amplified_hf.cpp src/lsh/hash_functions/amplified_hf.hpp
src/bruteforce/brute_force_nn.cpp src/bruteforce/brute_force_nn.hpp
src/lsh/hashtable/hashtable.hpp src/lsh/hashtable/hashtable.cpp
)
add_executable(discr_frechet tests/main_discr_frechet.cpp src/util/dataset/dataset.cpp src/util/dataset/dataset.hpp src/util/files/file_reader.cpp src/util/files/file_reader.hpp src/util/utilities.cpp src/util/utilities.hpp src/util/metrics/metrics.cpp src/util/metrics/metrics.hpp src/curve/grid.cpp src/curve/grid.hpp src/curve/curve.cpp src/curve/curve.hpp src/curve/point.hpp
cont_frechet_repo/Fred/include/curve.hpp cont_frechet_repo/Fred/src/curve.cpp
cont_frechet_repo/Fred/include/point.hpp cont_frechet_repo/Fred/src/point.cpp
cont_frechet_repo/Fred/include/simplification.hpp cont_frechet_repo/Fred/src/simplification.cpp
cont_frechet_repo/Fred/include/config.hpp cont_frechet_repo/Fred/src/config.cpp
cont_frechet_repo/Fred/include/frechet.hpp cont_frechet_repo/Fred/src/frechet.cpp
src/lsh/lsh.cpp src/lsh/lsh.hpp
src/lsh/hash_functions/hash_function.cpp src/lsh/hash_functions/hash_function.hpp src/lsh/hash_functions/amplified_hf.cpp src/lsh/hash_functions/amplified_hf.hpp
src/bruteforce/brute_force_nn.cpp src/bruteforce/brute_force_nn.hpp
src/lsh/hashtable/hashtable.hpp src/lsh/hashtable/hashtable.cpp
)
add_executable(euclidean_lsh tests/main_euclidean_lsh.cpp src/util/dataset/dataset.cpp src/util/dataset/dataset.hpp src/util/files/file_reader.cpp src/util/files/file_reader.hpp src/util/utilities.cpp src/util/utilities.hpp src/util/metrics/metrics.cpp src/util/metrics/metrics.hpp src/curve/grid.cpp src/curve/grid.hpp src/curve/curve.cpp src/curve/curve.hpp src/curve/point.hpp
cont_frechet_repo/Fred/include/curve.hpp cont_frechet_repo/Fred/src/curve.cpp
cont_frechet_repo/Fred/include/point.hpp cont_frechet_repo/Fred/src/point.cpp
cont_frechet_repo/Fred/include/simplification.hpp cont_frechet_repo/Fred/src/simplification.cpp
cont_frechet_repo/Fred/include/config.hpp cont_frechet_repo/Fred/src/config.cpp
cont_frechet_repo/Fred/include/frechet.hpp cont_frechet_repo/Fred/src/frechet.cpp
src/lsh/lsh.cpp src/lsh/lsh.hpp
src/lsh/hash_functions/hash_function.cpp src/lsh/hash_functions/hash_function.hpp src/lsh/hash_functions/amplified_hf.cpp src/lsh/hash_functions/amplified_hf.hpp
src/bruteforce/brute_force_nn.cpp src/bruteforce/brute_force_nn.hpp
src/lsh/hashtable/hashtable.hpp src/lsh/hashtable/hashtable.cpp )
add_executable(search tests/main_search.cpp
src/search/search.hpp
src/search/search.cpp
src/lsh/hashtable/hashtable.hpp
src/lsh/hashtable/hashtable.cpp
src/lsh/hash_functions/hash_function.cpp
src/lsh/hash_functions/hash_function.hpp
src/lsh/hash_functions/amplified_hf.cpp
src/lsh/hash_functions/amplified_hf.hpp
src/lsh/lsh.cpp
src/lsh/lsh.hpp
src/hypercube/hypercube.cpp
src/hypercube/hypercube.hpp
src/util/dataset/dataset.cpp
src/util/dataset/dataset.hpp
src/util/files/file_reader.cpp
src/util/files/file_reader.hpp
src/util/utilities.cpp
src/util/utilities.hpp
src/util/metrics/metrics.cpp
src/util/metrics/metrics.hpp
src/curve/grid.cpp
src/curve/grid.hpp
src/curve/curve.cpp
src/curve/curve.hpp
src/curve/point.hpp
src/bruteforce/brute_force_nn.cpp src/bruteforce/brute_force_nn.hpp
cont_frechet_repo/Fred/include/curve.hpp cont_frechet_repo/Fred/src/curve.cpp
cont_frechet_repo/Fred/include/point.hpp cont_frechet_repo/Fred/src/point.cpp
cont_frechet_repo/Fred/include/simplification.hpp cont_frechet_repo/Fred/src/simplification.cpp
cont_frechet_repo/Fred/include/config.hpp cont_frechet_repo/Fred/src/config.cpp
cont_frechet_repo/Fred/include/frechet.hpp cont_frechet_repo/Fred/src/frechet.cpp
)