Patrick Niklaus
48d1a5ec5d
Make sure to terminate when the core heaps are empty
2015-08-19 12:27:44 +02:00
Patrick Niklaus
2ff2ce460c
Add .core to cucumber renaming
2015-08-19 12:27:44 +02:00
Patrick Niklaus
7cc875b8db
Initial version of core based search
2015-08-19 12:27:44 +02:00
Patrick Niklaus
9387f583fa
Add loading of .core file to InternalDataFacade
2015-08-19 12:27:44 +02:00
Patrick Niklaus
707dd700b0
Write number of markers to .core file
2015-08-19 12:27:44 +02:00
Patrick Niklaus
ddff9b612f
Serialize out .core file containing core node markers
2015-08-19 12:27:44 +02:00
Patrick Niklaus
338ac5d4a3
Rename map to describe what it actually does
2015-08-19 12:27:44 +02:00
Patrick Niklaus
ca7abd727a
Merge pull request #1603 from Project-OSRM/refactor/clang_modernize
...
Modernize the code base to C++11 standards and beyond.
2015-08-19 12:26:58 +02:00
Daniel J. Hofmann
62b20769ee
Modernize the code base to C++11 standards and beyond.
...
Apply `clang-modernize` (based on Clang 3.6) transformations to the
codebase while making sure to support Clang>=3.4 and GCC>=4.8.
We apply the transformations in parallel to speed up the quite
time consuming process, and use our `clang-format` style file
to automatically format the code respecting our coding conventions.
We use the following self-explanatory transformations:
* AddOverride
* LoopConvert
* PassByValue
* ReplaceAutoPtr
* UseAuto
* UseNullptr
This required a `compile_commands.json` compilation database, e.g.
ccmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1
for CMake or check Bear for a Makefile based solution (or even Ninja).
git ls-files -x '*.cpp|*.h' | \
xargs -I{} -P $(nproc) clang-modernize -p build -final-syntax-check -format -style=file -summary -for-compilers=clang-3.4,gcc-4.8 -include . -exclude third_party {}
Boom!
References:
* http://clang.llvm.org/extra/clang-modernize.html
* http://clang.llvm.org/extra/ModernizerUsage.html
2015-08-18 12:56:34 +02:00
Patrick Niklaus
84e72ede72
Warn if an edge references a missing node
2015-08-14 23:57:01 +02:00
Patrick Niklaus
bd37c48596
Add test for mode change
2015-08-12 13:02:18 +02:00
Patrick Niklaus
e30f0e8e11
Always announce a turn on mode change
...
Fixes #1558
2015-08-12 13:02:18 +02:00
Patrick Niklaus
c43a2513a8
Rename tiny_components.hpp to tarjan_scc.hpp
...
Fixes #1561
2015-08-12 13:02:18 +02:00
Patrick Niklaus
4b4bc0dde2
Fix postgis lua example
...
Fixes #1573 .
2015-08-12 13:02:18 +02:00
Patrick Niklaus
49adf2192a
Move calculate_coordinate to algorithms/
...
Fixes #1367
2015-08-12 13:02:18 +02:00
Andreas Gruß
a7eabeb73f
gps_precision and matching_beta can be used as a float value
2015-08-11 11:06:11 +02:00
Patrick Niklaus
f838f3427b
Fix static graph test
2015-08-06 15:09:28 +02:00
Patrick Niklaus
1cc75ca636
Only swap nodes if it contains a big component
2015-08-06 13:20:29 +02:00
Patrick Niklaus
d4356b0453
Move comparators to struct
2015-08-06 11:13:25 +02:00
Patrick Niklaus
35542e5823
Change interface of Tarjan get_component_size to take component id
2015-08-06 11:13:25 +02:00
Patrick Niklaus
c80c2233c5
Find components on edge-expanded graph
2015-08-06 11:13:25 +02:00
Patrick Niklaus
c2f0e4f683
Implement correct const iterator for DeallocatingVector
2015-08-06 11:13:25 +02:00
Patrick Niklaus
2621f4a2fa
Allow any input format for StaticGraph and check if edge list is sorted
2015-08-06 11:13:25 +02:00
Patrick Niklaus
3c055642d5
Remove reference to restrictions and bollard nodes because it does not work
2015-08-06 11:13:25 +02:00
Patrick Niklaus
43b881d0cd
Simplify test.sh
2015-08-02 14:45:27 +02:00
Patrick Niklaus
8b7b32e225
Added ccmake to docker image
2015-08-02 14:45:27 +02:00
Patrick Niklaus
00b0ff50f3
Add clang and README
2015-08-02 14:45:27 +02:00
Patrick Niklaus
1acde593b5
Fix docker run step
2015-08-02 14:45:27 +02:00
Patrick Niklaus
c43c043521
Add docker port of build instructions
2015-08-02 14:45:26 +02:00
MoKob
b526cadebd
Initial version of core ch
...
This improves preprocessing times in favour of worse query performance.
Core size can be set over the --core parameater, default is the old
behaviour to fully contract the graph.
2015-08-01 18:00:48 +02:00
Patrick Niklaus
94f44e1d5d
Make sure to capture floating point return values from lua
2015-08-01 17:46:47 +02:00
bergwerkgis
0352d9c99e
AppVeyor: wrong paths when creating artifacts
2015-07-13 14:49:30 +00:00
bergwerkgis
0cd3f37e1b
AppVeyor: create artifacts
2015-07-13 16:03:18 +02:00
Patrick Niklaus
486d7b6d62
Fix typo in foot profile that removed traffic lights
2015-07-09 21:24:07 +02:00
Patrick Niklaus
8f4e332409
Link restrictions to datastore test
2015-07-08 20:26:54 +02:00
Patrick Niklaus
f0389c0b2f
Restructure CMakeFile to fix shared library linking errors
2015-07-08 18:26:25 +02:00
Patrick Niklaus
922e8a4912
Return the correct size
2015-07-01 18:07:29 +02:00
Patrick Niklaus
021a1c7a39
Restructure the construction of the undirected graph
2015-07-01 18:07:29 +02:00
Patrick Niklaus
4a7451682b
Fix data_structure test thanks to new assertion
2015-07-01 18:07:29 +02:00
Patrick Niklaus
faa880d60a
Remove unused memebers and rename to currrent style convention
2015-07-01 18:07:29 +02:00
Patrick Niklaus
fd30e82836
Add graph compressor unit tests
2015-07-01 18:07:29 +02:00
Patrick Niklaus
3ef34fbb56
Rename GeometryCompressor and add unit tests
2015-07-01 18:07:29 +02:00
Patrick Niklaus
7345dc6861
Move graph compression code outside of EBGF
2015-07-01 18:07:29 +02:00
Patrick Niklaus
9958937fd1
At least check 4*LEAF_SIZE edges before returning none.
2015-07-01 17:57:03 +02:00
Patrick Niklaus
f19c57200d
Fix endless loop
2015-06-30 00:22:40 +02:00
Patrick Niklaus
8a2652f53d
Only penaltize bidirectional ways if they have 1 lane
2015-06-27 16:26:18 +02:00
Patrick Niklaus
dddde4ddab
Fix backwards speed on oneway=-1 streets
2015-06-27 16:26:18 +02:00
Patrick Niklaus
1cb72acd27
Remove unused header
2015-06-22 08:36:21 +02:00
Patrick Niklaus
a17776cb5f
Check if FingerPrint is trivial. TODO: Add this for all other data that is going to be serialized
2015-06-19 18:10:49 +02:00
Patrick Niklaus
94b749ab00
Fix magic number check for fingerprint
2015-06-19 17:51:35 +02:00