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