Patrick Niklaus
77641a9fce
Port StaticRTree to use TBB
2014-05-21 21:49:22 +02:00
Dennis Luxen
493b13364f
move geographical distance computation to floats
2014-05-21 12:33:54 +02:00
Dennis Luxen
9117b45899
move more distance calculations to float
2014-05-21 10:03:30 +02:00
Dennis Luxen
b3ec9c9323
reformat
2014-05-09 16:48:58 +02:00
Dennis Luxen
84ffedd95d
replace boost::shared_ptr
2014-05-09 16:47:42 +02:00
Dennis Luxen
bed5c8002f
pass parameter by ref instead of by val:
...
- fixes coverity issue 1212009 Big parameter passed by value
2014-05-08 08:48:55 +02:00
Dennis Luxen
e12ad48822
migrate DataStructures to C++11
2014-05-07 18:39:16 +02:00
Dennis Luxen
dd4461d473
remove broken assert
2014-05-07 10:39:34 +02:00
Dennis Luxen
2706a0bec1
revert:
...
- GCC <4.8 does not support thread_local keyword.
- sticking with boost::thread_specific_ptr<> for now
2014-05-07 10:39:34 +02:00
Dennis Luxen
46b207e08e
mega-patch:
...
- fix regression that turned tree into binary search
- use C++11 emplace and thread local facility
- sort out includes
- use much faster approximations to save on trigonometry
- use higher fan-out but make leafs a little more compact
- replace raw C-style array by C++11's std::array
2014-05-07 10:39:34 +02:00
Dennis Luxen
e3cc896a42
consolidate duplicated distance calculations
2014-05-07 10:38:28 +02:00
Dennis Luxen
7b0b378abc
fix a performance regression
2014-05-07 10:35:56 +02:00
Dennis Luxen
4bb5270f25
cut back debug verbosity
2014-04-24 13:06:55 +02:00
Dennis Luxen
5b8d8a83dd
fix mangled offsets and edge weights on compressed edges (all tests passing)
2014-04-24 13:06:55 +02:00
Dennis Luxen
8ec3d549a6
further fixes but forward/reverse edge weights are reversed
2014-04-24 13:06:55 +02:00
Dennis Luxen
394e369b54
fix edge-expanded offsets
2014-04-24 13:06:55 +02:00
Dennis Luxen
752fb880be
switch edge-expanded street name indexes to be first segment names (18 failed tests left)
2014-04-24 12:55:53 +02:00
Dennis Luxen
87f036e538
fixing sentinel nodes in adjacency list graph data structure
2014-04-24 12:54:24 +02:00
Dennis Luxen
fdebec6448
correct partial distances
2014-04-24 12:51:18 +02:00
Dennis Luxen
eca09e6c81
unpacking of target segment works
2014-04-24 12:47:00 +02:00
Dennis Luxen
874c579f86
correctly unpacking the first segment
2014-04-24 12:15:48 +02:00
Dennis Luxen
b679a94930
first segment needs to be properly cut
2014-04-24 12:15:04 +02:00
Dennis Luxen
5bde545ce3
All good, but needs unpacking of start and end
2014-04-24 12:07:46 +02:00
Dennis Luxen
f7d5b0db9c
uncompressed edges get serialized correctly'ish
2014-04-24 12:05:43 +02:00
Dennis Luxen
d0349d9b0d
further copy edits
2014-04-24 12:05:42 +02:00
Dennis Luxen
c71c8b0047
Unpacking of intermediate paths
2014-04-24 12:03:19 +02:00
Dennis Luxen
d67c3f36ff
call function object instead of static function
2014-03-17 15:28:42 +01:00
Dennis Luxen
b5b4280c3b
remove c-style calls to fabs
2014-01-27 11:26:34 +01:00
Dennis Luxen
ce60af5029
fixes issues #770 and #856
2014-01-08 17:18:59 +01:00
DennisOSRM
41f3f53540
move includes to include/osrm
2013-12-20 13:12:56 +01:00
Dennis Luxen
fd2f000075
install lib header files with make install target
2013-12-17 17:59:44 +01:00
Dennis Luxen
b030fe7db2
break out Coordinate in compile unit
2013-12-13 17:26:57 -05:00
Dennis Luxen
997dcad799
make rtree query do O(1) allocations only
2013-12-08 15:52:21 +01:00
Dennis Luxen
e35efd001c
move implementation details out of templat'ized container code
2013-12-08 15:52:21 +01:00
Dennis Luxen
50d6b10be4
move distance computation from r-tree to element type class
2013-12-08 15:52:21 +01:00
Dennis Luxen
0103b59e61
close previously allocated filestream
2013-10-28 14:21:31 +01:00
Dennis Luxen
b87a98bbda
street name file is now more canonical
2013-10-15 14:32:43 +02:00
Dennis Luxen
bbf03e3060
Load r-tree search data structure from shared memory
2013-10-15 14:32:40 +02:00
Dennis Luxen
37e3ead8e9
use flexible shared mem interfaces
2013-10-15 14:31:31 +02:00
Dennis Luxen
7951795ea4
Implementation of internal data storage
2013-10-15 14:19:53 +02:00
Dennis Luxen
29499f21c5
License change to (simplified) 2-clause BSD. Good riddance, AGPL
2013-10-14 13:42:28 +02:00
DennisOSRM
411bcbcbde
remove debug output
2013-10-11 14:55:34 +02:00
Dennis Luxen
d3804d2c2c
replacing hard coded values by literal
2013-10-02 14:39:52 +02:00
Dennis Luxen
bf8505a285
removing all FLT_EPSILONs
2013-10-02 13:05:54 +02:00
Dennis Luxen
770a07cc28
replacing all occurrences of DBL_MAX
2013-10-02 12:00:25 +02:00
Dennis Luxen
52f6e149ec
removing debug output
2013-10-02 11:40:05 +02:00
Dennis Luxen
6893df9103
replacing c-style numeric limits with proper C++ style
2013-10-02 11:38:09 +02:00
Dennis Luxen
2b077d140f
Fixing #726 , rounding woes and machine epsilon
2013-10-02 11:22:42 +02:00
DennisOSRM
6f3e7f9e56
Fixes #721
2013-08-26 14:16:34 +02:00
Dennis Luxen
4748bca8a4
Refactoring _Coordinate class
2013-08-14 13:12:28 +02:00