Patrick Niklaus
1b5d332e93
Add regression test for FixedpointCoordinate
2015-01-16 00:49:43 +01:00
Patrick Niklaus
356dfc806d
Fix ComputePerpendicularDistance convinience function
...
This function is used by StaticRTree and returns wrong results.
The other variation is correct. To reduce code duplication
the correct version is used instead, as the implementation is nearly
identical.
2015-01-16 00:34:07 +01:00
Dennis Luxen
f2b556adfd
umbenannt: UnitTests/* -> unit_tests/*
2015-01-15 18:39:26 +01:00
Dennis Luxen
1bbfced61a
reorder includes
2015-01-15 18:10:22 +01:00
Dennis Luxen
800cb8c6dd
renamed: ../UnitTests/data_structures/BinaryHeapTest.cpp -> ../UnitTests/data_structures/binary_heap.cpp
...
renamed: ../UnitTests/data_structures/RangeTableTest.cpp -> ../UnitTests/data_structures/range_table.cpp
renamed: ../UnitTests/data_structures/StaticGraphTest.cpp -> ../UnitTests/data_structures/static_graph.cpp
renamed: ../UnitTests/data_structures/StaticRTreeTest.cpp -> ../UnitTests/data_structures/static_rtree.cpp
2015-01-15 18:07:47 +01:00
Dennis Luxen
6b1d672dc1
fix signed/unsigned comparison
2015-01-15 13:11:25 +01:00
Dennis Luxen
6e138bbf54
fixes data structure tests:
...
- MapStorage: fix returned index in peek_index() on fail
- UnorderedMapStorage: fix returned index in peek_index() on fail
- BinaryHeap: auto-deduce Index type
- ArrayStorage: replace raw array with std::vector
2015-01-15 12:59:08 +01:00
Dennis Luxen
6dabf4507a
implement peek_index() functions for all binary heap storage classes
2015-01-15 11:15:48 +01:00
Dennis Luxen
527e6cbc72
xor fast hash storage: reorder initialization of elements, delete default c'tor, resetting of table may be expensive as it is rare
2015-01-14 18:14:55 +01:00
Dennis Luxen
39edbcbabd
after profiling with intel vtune, mitigate some performance hotspots. may give a 10-20% performance boost during preprocessing
2015-01-14 17:26:59 +01:00
Dennis Luxen
0077856d2f
Merge commit 'b65f1d7df0b997eac085da7f5a3344a86b812916' as 'Include/variant'
2015-01-14 09:36:20 +01:00
Dennis Luxen
b65f1d7df0
Squashed 'Include/variant/' content from commit 00ab881
...
git-subtree-dir: Include/variant
git-subtree-split: 00ab88117ed25f78cdca2faa00beea0061271e85
2015-01-14 09:36:20 +01:00
Dennis Luxen
201afbbeec
rm hard copy of variant.
2015-01-14 09:32:43 +01:00
Dennis Luxen
f5caf96d2e
add new include dir of libosmium
2015-01-13 17:14:54 +01:00
Dennis Luxen
73efcc6b0c
Squashed 'third_party/libosmium/' content from commit 910f8f1
...
git-subtree-dir: third_party/libosmium
git-subtree-split: 910f8f1e992402e0f1acd0132eaffa7539ca83d2
2015-01-13 16:54:25 +01:00
Dennis Luxen
d69510f997
Merge commit '73efcc6b0ccedf8c1b6d95abdba8340cc9adf100' as 'third_party/libosmium'
2015-01-13 16:54:25 +01:00
Dennis Luxen
d6946a8aae
remove copy of libosmium, to be replaced by a subtree
2015-01-13 16:50:31 +01:00
Dennis Luxen
ebbc168f3f
fix implicit integer cast, reorder includes
2015-01-13 16:46:44 +01:00
Dennis Luxen
347cbd37ca
fix include guard naming in plugin base
2015-01-13 16:15:51 +01:00
Dennis Luxen
d190e0b771
Merge pull request #1343 from Project-OSRM/feature/static_graph_components
...
use static graph for component exploration, closes #1288
2015-01-13 16:06:48 +01:00
Dennis Luxen
5f28a7db0d
add some whitespace
2015-01-13 15:52:24 +01:00
Dennis Luxen
d0c99f1999
fix linking of benchmarks and tests
2015-01-13 15:45:27 +01:00
Dennis Luxen
bf71781ee9
new file: Util/mercator.cpp
...
renamed: Util/MercatorUtil.h -> Util/mercator.hpp
2015-01-13 14:57:23 +01:00
Dennis Luxen
fbce104f3b
use static graph for component exploration, closes #1288
2015-01-13 14:24:56 +01:00
Dennis Luxen
ef9074f8e4
renamed: Util/finger_print.* -> Util/fingerprint.*
...
thx @emiltin
2015-01-13 11:16:13 +01:00
Dennis Luxen
67f3111cc0
renamed: Util/FingerPrint.h -> Util/finger_print.hpp
2015-01-13 11:05:22 +01:00
Dennis Luxen
56d2101b1a
Merge pull request #1339 from Project-OSRM/test_appveyor_default_os
...
remove explicit appveyor os spec to get scheduled on hyper-v
2015-01-12 16:28:27 +01:00
Emil Tin
a28395b116
remove accidentally added files
2015-01-12 13:58:32 +01:00
Emil Tin
eebf3a54e2
cuke: abort if bins are missing, closes #1341
2015-01-12 13:56:43 +01:00
Dennis Luxen
7e70fa63d7
Merge pull request #1338 from frodrigo/develop
...
Black list access=psv for car profile
2015-01-09 23:39:49 +01:00
Dennis Luxen
bea4b520c0
Revert "Revert "fix #1255 assume lift gates are passable""
...
This reverts commit cec3d1488a
.
*sigh*
2015-01-09 19:15:00 +01:00
Dennis Luxen
64c17c4ecd
remove explicit appveyor os spec to get scheduled on hyper-v
2015-01-09 18:53:15 +01:00
Frederic Rodrigo
26f7ac9ca1
Black list access=psv for car profile
2015-01-09 17:14:16 +00:00
Dennis Luxen
b1a12768e1
fix parameter name for maximum number of location in distance table plugin
2015-01-08 17:41:19 +01:00
Dennis Luxen
0e5a448d04
Merge pull request #1335 from Project-OSRM/feature/frodrigo-max_locations_distance_table
...
Feature/frodrigo max locations distance table
2015-01-08 16:07:17 +01:00
Dennis Luxen
91a89399f8
fix copyright year
2015-01-08 15:07:01 +01:00
Dennis Luxen
c6bb7c5993
renamed: Include/osrm/ServerConfig.h -> Include/osrm/libosrm_config.hpp
...
pass lib config object by reference
2015-01-08 15:05:54 +01:00
Dennis Luxen
48b131eb5c
Merge branch 'max_locations_distance_table' of https://github.com/frodrigo/osrm-backend into frodrigo-max_locations_distance_table
...
Conflicts:
Library/OSRM.h
Library/OSRM_impl.cpp
Library/OSRM_impl.h
2015-01-08 14:49:10 +01:00
Dennis Luxen
1328be2b61
move structs into anon namespace, move containers in function scope
2015-01-07 12:30:01 +01:00
Dennis Luxen
88c1e622dd
fix copyright year
2015-01-07 12:29:13 +01:00
Dennis Luxen
10672786a1
fix copyright year and include guard
2015-01-07 12:28:26 +01:00
Dennis Luxen
d896a9efec
remove superflous inline keywords as this DeallocatingVector is header-defined, also remove ignored const keywords
2015-01-07 12:26:49 +01:00
Dennis Luxen
0ccdd4b6ad
fix implicit conversion that _may_ lose integer precision
2015-01-07 12:26:09 +01:00
Dennis Luxen
66fc676858
remove unused parameter, move previously templated function into compile unit
2015-01-06 20:05:33 +01:00
Frederic Rodrigo
12f2acc9ff
Order ServerPaths members by memory size, pass ServerPaths by ref
2015-01-06 15:33:57 +00:00
Dennis Luxen
b53e8bf501
remove implicit conversion
2015-01-06 15:31:55 +01:00
Dennis Luxen
e296264ea6
Merge pull request #1292 from Project-OSRM/feature/json_lib_interface
...
Feature/json lib interface
2015-01-06 15:27:40 +01:00
Frédéric Rodrigo
598f5519d1
Remove setters from structures server_config
2015-01-06 14:11:09 +00:00
Frédéric Rodrigo
ced64d7a09
Move server configuration from method parameter to a struct
2015-01-06 14:11:09 +00:00
Frédéric Rodrigo
7075a8a8ef
Fix tests for new option --max_locations_distance_table
2015-01-06 14:11:09 +00:00