added distance calculations for optimization

This commit is contained in:
toni
2018-09-14 16:32:30 +02:00
parent 9e2bb6fba9
commit 2522e2303c
6 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
2.84043227203263 2.58004584071581
3.75887475831662 4.15198319132614
2.35629264447803 3.77349222970729
7.21974910818898 2.60744461262152
2.14688347946214 2.55395697683647
4.29129967605098 3.52175277355811
2.96751269516755 2.03762393704760
1.70056078503688 0.89235614871530
1.78136505133364 1.67260433224162
2.60663648205787 1.69366758308275
2.02962776611162 1.98868192722629
4.21675570389946 2.81865344225522
3.82656601322002 3.79217107421657
18.3716286786425 25.2889586292081
5.59645690156682 6.58584603278711
1.11411494526204 1.05845000153434
4.62291095494095 9.84815488753804
14.0830081457440 14.0830160468429
17.5392167350320 5.16485959580277
7.71959400268935 3.02804394513954
2.64690883677759 2.30100190091603
1 2.84043227203263 2.58004584071581
2 3.75887475831662 4.15198319132614
3 2.35629264447803 3.77349222970729
4 7.21974910818898 2.60744461262152
5 2.14688347946214 2.55395697683647
6 4.29129967605098 3.52175277355811
7 2.96751269516755 2.03762393704760
8 1.70056078503688 0.89235614871530
9 1.78136505133364 1.67260433224162
10 2.60663648205787 1.69366758308275
11 2.02962776611162 1.98868192722629
12 4.21675570389946 2.81865344225522
13 3.82656601322002 3.79217107421657
14 18.3716286786425 25.2889586292081
15 5.59645690156682 6.58584603278711
16 1.11411494526204 1.05845000153434
17 4.62291095494095 9.84815488753804
18 14.0830081457440 14.0830160468429
19 17.5392167350320 5.16485959580277
20 7.71959400268935 3.02804394513954
21 2.64690883677759 2.30100190091603

View File

@@ -0,0 +1,23 @@
reset
set terminal x11 size 1000,500
#set terminal windows size 2000,1500
#set terminal epslatex size 3.5,2.0
#set output "plot.tex"
set xtics 1
#set xrange [0:10]
set yrange [0:10]
set ytics 1
set grid ytics
#set key left at screen 0.01, 0.98 samplen 0.75 box width -10 opaque
set key inside left top box opaque
plot \
'distance_real_global.csv' pt 1 ps 1 lc rgb '#00ff00' title 'Global' ,\
'distance_real_local.csv' pt 2 ps 1 lc rgb '#ff0000' title 'Local' ,\
pause -1

View File

@@ -0,0 +1,21 @@
2.58004584071581
4.15198319132614
3.77349222970729
2.60744461262152
2.55395697683647
3.52175277355811
2.0376239370476
0.892356148715305
1.67260433224162
1.69366758308275
1.98868192722629
2.81865344225522
3.79217107421657
25.2889586292081
6.58584603278711
1.05845000153434
9.84815488753804
14.0830160468429
5.16485959580277
3.02804394513954
2.30100190091603
1 2.58004584071581
2 4.15198319132614
3 3.77349222970729
4 2.60744461262152
5 2.55395697683647
6 3.52175277355811
7 2.0376239370476
8 0.892356148715305
9 1.67260433224162
10 1.69366758308275
11 1.98868192722629
12 2.81865344225522
13 3.79217107421657
14 25.2889586292081
15 6.58584603278711
16 1.05845000153434
17 9.84815488753804
18 14.0830160468429
19 5.16485959580277
20 3.02804394513954
21 2.30100190091603

Binary file not shown.

View File

@@ -0,0 +1,21 @@
2.84043227203263
3.75887475831662
2.35629264447803
7.21974910818898
2.14688347946214
4.29129967605098
2.96751269516755
1.70056078503688
1.78136505133364
2.60663648205787
2.02962776611162
4.21675570389946
3.82656601322002
18.3716286786425
5.59645690156682
1.11411494526204
4.62291095494095
14.083008145744
17.539216735032
7.71959400268935
2.64690883677759
1 2.84043227203263
2 3.75887475831662
3 2.35629264447803
4 7.21974910818898
5 2.14688347946214
6 4.29129967605098
7 2.96751269516755
8 1.70056078503688
9 1.78136505133364
10 2.60663648205787
11 2.02962776611162
12 4.21675570389946
13 3.82656601322002
14 18.3716286786425
15 5.59645690156682
16 1.11411494526204
17 4.62291095494095
18 14.083008145744
19 17.539216735032
20 7.71959400268935
21 2.64690883677759

Binary file not shown.