Dennis Luxen
6091248493
fix range initialization on Windows
2014-07-15 15:06:34 +02:00
Dennis Luxen
32fd507ad9
apply more emplace_backs and range based for loops to Contractor
2014-07-15 12:06:52 +02:00
Dennis Luxen
8e3484b873
rename ContractorEdgeData members
2014-07-14 17:35:02 +02:00
Dennis Luxen
2a19ded9d5
reformat Prepare.h/cpp with clang-format
2014-07-10 15:24:30 +02:00
Dennis Luxen
bda9de0775
use boost::irange and range based for loop
2014-07-10 15:22:02 +02:00
Dennis Luxen
7047610a45
header untangling
2014-07-10 15:17:57 +02:00
Dennis Luxen
def7164cad
Merge branch 'feature/prepare' of https://github.com/dmbreaker/Project-OSRM into dmbreaker-feature/prepare
2014-07-10 15:07:15 +02:00
Dennis Luxen
ba0c17e287
make sure all node-based edges are serialized in forward fashion
2014-07-04 17:33:18 +02:00
dmbreaker
a2951659ac
prepare.cpp refactoring
2014-07-03 15:29:15 +04:00
Dennis Luxen
3f85b30d4a
remove some unneeded includes
2014-06-27 10:38:28 +02:00
Dennis Luxen
de7c56c6bc
remove remaining NULL pointers by nullptrs
2014-06-24 16:50:00 +02:00
Dennis Luxen
da33d02461
reformat to cut long line
2014-06-20 16:47:09 +02:00
Dennis Luxen
011910811b
use float consistently in Contractor
2014-06-18 10:43:26 +02:00
Dennis Luxen
4e6bdf28cc
fixes #1041 , some only_ turn restrictions are inverted under certain conditions
2014-06-10 17:26:22 +02:00
Dennis Luxen
1163417722
Merge branch 'patch-timing' of https://github.com/alex85k/Project-OSRM into alex85k-patch-timing
...
Conflicts:
extractor.cpp
2014-06-05 11:22:26 +02:00
alex85k
75dabb75e2
Use TimingUtil.h for all time measurement,
...
and make TimingUtil.h Windows-compatible
2014-06-04 19:52:34 +06:00
alex85k
e98ba99331
add a safe-guard against bad input
...
do not write empty original_edge_data_vector to file
2014-06-04 16:02:18 +06:00
Dennis Luxen
11fed4c06c
remove variable name lint
2014-06-02 16:05:19 +02:00
Dennis Luxen
9416a983c6
rename one char variable names
2014-06-02 16:04:44 +02:00
Dennis Luxen
c21b40bebc
further renaming of variable names, reduces legacy lint
2014-05-29 19:25:17 +02:00
Dennis Luxen
2f203ac22c
rename start->source
2014-05-28 18:19:27 +02:00
Dennis Luxen
f8ba4b9312
use C++11 shrinktofit() instead of swap tricks
2014-05-27 12:16:53 +02:00
Dennis Luxen
c35211b2f6
add some const keywords where applicable
2014-05-26 17:37:44 +02:00
Dennis Luxen
5057ae920c
replace a couple of std::sort calls with tbb::parallel_sort
2014-05-22 19:07:29 +02:00
Dennis Luxen
6a03f13d55
fixes #1032 :
...
- remove left-overs from OpenMP
- replace omp_* calls with TBB equivalents
2014-05-22 18:39:11 +02:00
Patrick Niklaus
e2daf5c2fc
Make some temporary variables const
2014-05-21 21:49:22 +02:00
Patrick Niklaus
a21fb5fc89
Use append operator instead of function, because function is inplace.
2014-05-21 21:49:22 +02:00
Patrick Niklaus
f487845e9d
Port Contractor to TBB
2014-05-21 21:49:22 +02:00
Dennis Luxen
9a2d701e2e
fix issue #1025 :
...
- add function to count directed outgoing edges
- generate correct instruction for staying on a roundabout
- move test from @bug namespace to the general one
2014-05-20 15:40:14 +02:00
Dennis Luxen
d028a30f87
fixes issue #1019 :
...
- fix ignored turn restriction on chains of degree-2 nodes
- add a cucumber test to test for potential regressions
2014-05-20 14:33:02 +02:00
Dennis Luxen
e769821e0f
use range based for loops to traverse graphs
2014-05-13 16:56:30 +02:00
Patrick Niklaus
4f37270300
Simple fix that improves runtime of edge based egde generation by 26%
2014-05-13 01:00:24 +02:00
Dennis Luxen
fcf3eb6193
fix yet another missing include on GCC 4.7 (again)
2014-05-09 19:55:27 +02:00
Dennis Luxen
5226b200e7
fix yet another missing include on GCC 4.7
2014-05-09 19:50:16 +02:00
Dennis Luxen
5f57152156
fix missing include
2014-05-09 19:46:37 +02:00
Dennis Luxen
5e26e4c22d
replacing all boost unordereds
2014-05-09 18:40:07 +02:00
Dennis Luxen
7e639d6bc1
remove white space
2014-05-09 16:16:51 +02:00
Dennis Luxen
c98eed612a
C++11-fy Contractor/
2014-05-09 14:21:33 +02:00
Dennis Luxen
5f0ee417b1
move BFS component exploration into Algorithms/
2014-05-09 14:21:02 +02:00
Patrick Niklaus
845972daa5
Add timing to EBGF
2014-05-09 00:56:07 +02:00
Patrick Niklaus
e00ef38305
Apply clang-format on BFSComponentExplorer and RestrictionMap
2014-05-09 00:37:05 +02:00
Patrick Niklaus
22d0861f6d
Move BFSComponentExplorer to Contractor/
2014-05-09 00:37:05 +02:00
Patrick Niklaus
5265f38c35
Switched to std::shared_ptr in Contractor/
2014-05-09 00:37:05 +02:00
Patrick Niklaus
d13cd4d4b3
Apply clang-format on Contractor/
2014-05-09 00:31:52 +02:00
Patrick Niklaus
79d33d669c
Apply clang-modernize to Contractor/
2014-05-09 00:06:25 +02:00
Patrick Niklaus
439f6e62bc
Replace numeric_limits with SPECIAL_NODEID / SPECIAL_EDGEID
2014-05-09 00:06:25 +02:00
Patrick Niklaus
3ef054bbac
Split EBGF::Run into smaller sub-functions
...
I'm not too happy with this yet. It is not really clear cut.
Also, I would like to move the logging in ::Run, seems messy in the
sub-functions.
2014-05-09 00:05:27 +02:00
Patrick Niklaus
5a13c6cc3f
Move BFSComponentExplorer to own header.
2014-05-09 00:05:27 +02:00
Patrick Niklaus
b7750ff742
Reorder initialization to fix warnings
2014-05-09 00:05:27 +02:00
Patrick Niklaus
2c0fa2a9f6
Split RestrictionMap and NodeBasedGraph from EdgeBasedGraphFactory
...
First step in an effort to simplify EdgeBasedGraphFactory.
2014-05-09 00:05:27 +02:00
Dennis Luxen
f060dfda40
refactor list of const static int into scoped enum
2014-05-08 18:04:05 +02:00
Dennis Luxen
9710f39cad
remove (almost) all BOOST_FOREACH calls
2014-05-07 16:17:47 +02:00
Dennis Luxen
9c2926ef8a
remove boost/integer include
2014-05-07 14:44:18 +02:00
Dennis Luxen
5d8cfa465b
flush less often to disk
2014-05-07 10:38:28 +02:00
Dennis Luxen
b6ca4a7a46
fix potential resource leak
2014-05-07 10:38:28 +02:00
Dennis Luxen
a45508a96b
fix coverity issues
2014-05-07 10:38:28 +02:00
Dennis Luxen
e44ebe0743
minor refactoring of code layout
2014-04-28 19:37:42 +02:00
Dennis Luxen
0eed39cdf1
rebase branch onto develop
2014-04-24 18:13:50 +02:00
Dennis Luxen
ace59411cb
fix and/or remove unused variables
2014-04-24 13:31:04 +02:00
Dennis Luxen
ef7619d664
fix signed/unsigned comparison
2014-04-24 13:31:04 +02:00
Dennis Luxen
0f8a32f38c
shape up code
2014-04-24 13:31:04 +02:00
Dennis Luxen
5d93c68790
remove further debug things
2014-04-24 13:06:56 +02:00
Dennis Luxen
fa04706484
remove debug code, add C++11 todo
2014-04-24 13:06:56 +02:00
Dennis Luxen
a4d6e5c9cc
reformat geometry compressor according to new guidelines
2014-04-24 13:06:56 +02:00
Dennis Luxen
4f85fd28cf
add todo for the switch to C++11
2014-04-24 13:06:56 +02:00
Dennis Luxen
4bb5270f25
cut back debug verbosity
2014-04-24 13:06:55 +02:00
Dennis Luxen
0f06c71796
remove debug output
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
44077cb007
refactor and streamline use of TurnInstructionsClass members
2014-04-24 12:55:53 +02:00
Dennis Luxen
26397e4692
remove debug output
2014-04-24 12:55:52 +02:00
Dennis Luxen
48d23194af
fix traffic signal penalty in compressed graph
2014-04-24 12:55:52 +02:00
Dennis Luxen
bcaea1a617
remove debug output
2014-04-24 12:54:25 +02:00
Dennis Luxen
87f036e538
fixing sentinel nodes in adjacency list graph data structure
2014-04-24 12:54:24 +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
f16cb3c52d
compressed geometries get serialized in R-tree
2014-04-24 12:05:43 +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
b5170ed1fd
remove trivial geometry nodes
2014-04-24 11:28:11 +02:00
Dennis Luxen
64720c2d2e
several lints fixed that were detected by facebook's flint
2014-04-21 17:40:07 +02:00
Dennis Luxen
7b14de13ec
assign complete edge data if duplicate shortcut edge has lower weight
2014-03-03 14:08:34 +01:00
alex85k
275961f088
Fix assertion in debug version
...
When running tests on FreeBSD 10 on debug verion I got boost assertion errors in mutex.hpp:79 .
It seems that mutex unlock is not needed (it is already unlocked and behavior is undefined).
2014-02-04 19:56:23 +06:00
Dennis Luxen
ce784e0491
distinguish between left and right, thx @emiltin
2014-01-27 12:58:23 +01:00
Dennis Luxen
65ad3bb941
fix test regression
2014-01-27 12:55:17 +01:00
Dennis Luxen
b5b4280c3b
remove c-style calls to fabs
2014-01-27 11:26:34 +01:00
Dennis Luxen
0649f6e607
preparing call of turn penalty function
2014-01-27 11:18:26 +01:00
Dennis Luxen
046fe93f1f
refactor ExtractorStructs.h for faster compiles. achieves approx. 10 secs
2014-01-09 16:13:35 +01:00
Dennis Luxen
8acf081be3
remove dead function decl
2013-12-27 15:47:51 +01:00
Dennis Luxen
758027e2e0
untangling includes to cut down compile time
2013-12-13 18:49:05 -05:00
Dennis Luxen
b030fe7db2
break out Coordinate in compile unit
2013-12-13 17:26:57 -05:00
Dennis Luxen
d5eee3138f
fixes issues #768 , #794 , #812
2013-12-11 15:36:32 -05:00
Dennis Luxen
ca17efd764
break out OriginalEdgeData class into its own include
2013-12-09 11:45:45 -05:00
Dennis Luxen
dc9db06cc8
reverting skeleton, introducing later
2013-12-08 15:52:23 +01:00
Dennis Luxen
cb5931aaeb
add skeleton for geometry compression
2013-12-08 15:52:23 +01:00