Dennis Luxen
c03aec364c
add comparison tool for graph classes
2015-04-16 11:25:43 +02:00
Patrick Niklaus
a372ade7ce
Mark suspicious transitions
2015-04-13 22:39:55 +02:00
Dennis Luxen
8ee82d1e03
replace old-style typefs with using
2015-03-23 17:06:10 +01:00
Patrick Niklaus
028fad94af
Fix overflows when handling size_t
2015-03-08 00:53:15 +01:00
Dennis Luxen
b9922bc90b
replace C-style comments
2015-03-03 17:43:37 +01:00
Dennis Luxen
133e382aae
remove constexpr qualifier as numeric_limits is not yet constexpr on MSVC compiler
2015-03-03 14:43:38 +01:00
Dennis Luxen
5af0ceb2d2
use range based for loop
2015-03-03 14:22:27 +01:00
Dennis Luxen
6460fdc62b
use std::size_t for timestamps to avoid implicit casts, use range-based for loops
2015-03-03 13:03:00 +01:00
Dennis Luxen
a9c3b343fc
separate model and computation in HMM matching
2015-03-03 12:48:33 +01:00
Patrick Niklaus
e5830b0116
Add parameters for map matching
2015-03-03 00:48:57 +01:00
Patrick Niklaus
70703c39f3
Add timestamp parameters and reset to beginning of breakage
2015-03-03 00:48:57 +01:00
Patrick Niklaus
f092fc3fc6
Fix minimum number of candidates
2015-03-03 00:48:56 +01:00
Patrick Niklaus
3a5e41ed91
Implement missing matching pieces
2015-03-03 00:48:55 +01:00
Dennis Luxen
2259bce05f
Add skeleton code for matching
2015-03-03 00:48:55 +01:00
Dennis Luxen
73a2a938b4
use CRTP instead of virtual functions in routing plugins
2015-03-02 11:55:55 +01:00
Dennis Luxen
dc08c516bf
use std::tie() to simplify lexicographic comparisons
2015-02-19 19:15:16 +01:00
Dennis Luxen
b0f9a0feb4
rename variable name to be a little more telling
2015-02-19 10:11:49 +01:00
Dennis Luxen
3bd27ae8c5
change copyright line from personal names to project
2015-02-19 09:19:51 +01:00
Dennis Luxen
e5f12347bd
simplify code by using new phantom node ctor
2015-02-13 14:26:19 +01:00
Dennis Luxen
86d3556c6d
add ctor that converts from rtree segment to phantom node
2015-02-13 14:24:05 +01:00
Dennis Luxen
56b6d928b6
add include to be self-sufficient
2015-02-10 12:34:13 +01:00
Dennis Luxen
b865bea482
fix floating point comparison, remove superflous inline keywords
2015-02-10 12:29:52 +01:00
Dennis Luxen
00e8caa0e3
fix signed/unsigned comparisons and casts
2015-02-10 12:08:17 +01:00
Dennis Luxen
858245db7d
fix warning: implicit signed/unsigned warning
2015-02-10 11:58:56 +01:00
Dennis Luxen
09bea2ad5b
fix warning: implicit float/double cast
2015-02-10 11:32:39 +01:00
Dennis Luxen
5a1ff4b50d
fix warning: implicit conversion changes signedness: 'int' to 'unsigned int'
2015-02-10 11:09:51 +01:00
Dennis Luxen
e0f8acf733
make constant a float to avoid implicit cast
2015-02-10 11:04:49 +01:00
Dennis Luxen
f67eeb66aa
untangle includes using iwyu
2015-02-09 17:38:40 +01:00
Dennis Luxen
bf76465029
use C++11s std::hypot() instead of hand-rolled code
2015-02-05 11:22:46 +01:00
Dennis Luxen
b20b7e65bf
renamed: Util/* -> util/*
2015-01-27 17:47:23 +01:00
Dennis Luxen
b89304a24b
add enum class based tribool implementation
2015-01-23 17:46:23 +01:00
Dennis Luxen
a15450af91
manually revert previous change as g++ doesnt convert bitfields properly
2015-01-23 14:24:02 +01:00
Dennis Luxen
efbcce0ffe
use bitfields to reduce struct size of segment information. size goes down from 28->24 bytes
2015-01-23 13:53:02 +01:00
Dennis Luxen
d6e76fd1c0
add whitespace
2015-01-23 11:38:47 +01:00
Dennis Luxen
9135c56ac6
fix implicit float/double conversion, use casts
2015-01-23 11:26:47 +01:00
Dennis Luxen
796cbafde4
add missing include in release build
2015-01-22 17:57:38 +01:00
Dennis Luxen
29354a1586
fix bearing computation
2015-01-22 17:07:04 +01:00
Dennis Luxen
90f17c2140
remove is_set() and reset() functions from coordinate
2015-01-22 16:55:34 +01:00
Dennis Luxen
2e5cc1e6ae
remove redundant code and streamline coordinate interface
2015-01-22 16:48:53 +01:00
Dennis Luxen
0ea7fd9c3d
remove more dead/unused functions
2015-01-22 16:41:04 +01:00
Dennis Luxen
814d9aa01b
reformat code source file
2015-01-22 16:33:27 +01:00
Dennis Luxen
3fa12445a5
rename coordinate calculation functions, remove code clutter
2015-01-22 16:28:40 +01:00
Dennis Luxen
547a2aec09
remove dead/redundant code
2015-01-22 15:50:04 +01:00
Dennis Luxen
cfa83658dc
Use early exit/continue to simplify code and reduce indentation
2015-01-22 12:39:41 +01:00
Dennis Luxen
baacd0e50c
reformat source files
2015-01-22 12:24:54 +01:00
Dennis Luxen
044271a55c
specialize insert function to pass by reference for non-fundamental types by using type traits
2015-01-22 11:02:49 +01:00
Dennis Luxen
01f3237416
speed up nearest neighbor query by pruning, move coordinate calculations away from library interface
2015-01-20 16:24:49 +01:00
Dennis Luxen
959d9a3ad9
explicitly implement check if is_only turn is restricted
2015-01-16 15:52:41 +01:00
Dennis Luxen
8d6d7d1f20
remove superflous inline keywords
2015-01-16 11:27:46 +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
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
bf71781ee9
new file: Util/mercator.cpp
...
renamed: Util/MercatorUtil.h -> Util/mercator.hpp
2015-01-13 14:57:23 +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
a11a8429bb
remove unneeded header file
2015-01-06 13:27:51 +01:00
Dennis Luxen
6da33cafe5
rebase branch onto latest develop, report changes. hurt a little
2015-01-06 13:27:50 +01:00
Dennis Luxen
1b10f53eff
DataStructures/RawRouteData.h -> DataStructures/internal_route_result.hpp, implements #1238
2015-01-06 13:22:12 +01:00
Dennis Luxen
b50a907ca3
fix changed include paths
2015-01-06 13:17:12 +01:00
Dennis Luxen
59e9a67abd
rename and remove include header files for stabilized lib API
2015-01-06 13:09:44 +01:00
Liu Jiaming
1d2f06df6d
Fix std::list splice usage error
2015-01-06 13:02:05 +01:00
Dennis Luxen
25326b571b
renamed: Util/OSRMException.h -> Util/osrm_exception.hpp
2015-01-05 15:40:05 +01:00
Dennis Luxen
b6eea9a880
fix unintended implicit cast from unsigned to signed
2015-01-05 14:38:24 +01:00
Dennis Luxen
2caeb4008c
renamed: Util/GitDescription.cpp.in -> Util/git_sha.cpp.in
...
renamed: Util/GitDescription.h -> Util/git_sha.h
2015-01-05 14:32:04 +01:00
Dennis Luxen
a4919ffb45
re-enable hintin mechanism
2015-01-05 12:59:29 +01:00
Dennis Luxen
b384340cbb
Revert "remove remnants of hinting mechanism"
...
This reverts commit 7de428233e
.
2015-01-05 12:57:34 +01:00
Dennis Luxen
fe1f11b071
renamed: Util/StringUtil.h -> Util/string_util.hpp
2015-01-05 10:22:11 +01:00
Dennis Luxen
24943ccee6
fix use of old-style cast
2015-01-02 17:43:46 +01:00
Dennis Luxen
bcaaf34fa7
implicit conversion loses integer precision
2015-01-02 17:41:11 +01:00
Dennis Luxen
7de428233e
remove remnants of hinting mechanism
2015-01-02 17:10:47 +01:00
Dennis Luxen
9722f56be8
remove more debug code
2015-01-02 16:41:36 +01:00
Dennis Luxen
55d47b3e31
reimplement incremental nearest neighbor query
2015-01-02 09:36:27 +01:00
Dennis Luxen
5bb96fd477
reformat code of phantom node c'tor for legibility
2015-01-02 09:36:27 +01:00
Dennis Luxen
22b404a1b4
add is_in_tiny_cc() util function
2015-01-02 09:36:27 +01:00
Dennis Luxen
95d1e8a4f1
adapt viaroute plugin to query NN search for vector of phantom nodes
2015-01-02 09:36:26 +01:00
Dennis Luxen
d7215ad185
fix tests, temporarily disable one test case
2014-12-24 13:03:05 +01:00
Dennis Luxen
2b63eb8243
remove zoom level from nearest neighbor calls
2014-12-24 10:40:03 +01:00
Dennis Luxen
1bb3da0332
expose component_id in phantom node
2014-12-24 10:25:27 +01:00
Dennis Luxen
c7d3d635f6
fix test compile
2014-12-23 17:18:32 +01:00
Dennis Luxen
f4c8db6105
- serialize component_id
...
- remove calls to deprecated NN function in facades
2014-12-23 16:14:28 +01:00
Dennis Luxen
13bf4fab32
make implementation of restriction map independent of graph type
2014-12-19 16:46:12 +01:00
Dennis Luxen
7e0b19c43d
renamed Util/StdHashExtensions.h -> Util/std_hash.hpp
2014-12-18 10:09:31 +01:00
Dennis Luxen
2ebe2faa74
renamed Util/TimingUtil.h -> Util/timing_util.hpp
2014-12-17 17:33:31 +01:00
Dennis Luxen
00d3676a20
renamed: RoutingAlgorithms/* routing_algorithms/
2014-11-28 15:33:41 +01:00
Dennis Luxen
58de37e822
renamed: DataStructures/* -> data_structures/*
2014-11-28 12:15:31 +01:00