Patrick Niklaus
a21fb5fc89
Use append operator instead of function, because function is inplace.
2014-05-21 21:49:22 +02:00
Patrick Niklaus
bbc0424563
Set number of threads in TBB
2014-05-21 21:49:22 +02:00
Patrick Niklaus
f487845e9d
Port Contractor to TBB
2014-05-21 21:49:22 +02:00
Patrick Niklaus
77641a9fce
Port StaticRTree to use TBB
2014-05-21 21:49:22 +02:00
Patrick Niklaus
56d93eb18b
Replace omp atomic with std variant
2014-05-21 21:49:22 +02:00
Patrick Niklaus
da1fd96d4e
Port extractor to TBB
2014-05-21 21:49:22 +02:00
Dennis Luxen
d1fdc7061f
fix signed/unsigned comparison
2014-05-21 14:23:09 +02:00
Dennis Luxen
2822382797
Merge pull request #1030 from DennisOSRM/features/json-generator
...
Distance tables and JSON generator
2014-05-21 14:10:03 +02:00
Dennis Luxen
35c9021bdf
reduce debug verbosity in RestrictionMap
2014-05-21 12:39:52 +02:00
Dennis Luxen
493b13364f
move geographical distance computation to floats
2014-05-21 12:33:54 +02:00
Dennis Luxen
a8ff3231a8
reduce debug verbosity
2014-05-21 12:33:14 +02:00
Dennis Luxen
c2a750a690
use 100 locations at max for dist table
2014-05-21 12:29:45 +02:00
Dennis Luxen
6a9541833a
add a leg to roundabout to remove edge case
2014-05-21 10:47:34 +02:00
Dennis Luxen
9117b45899
move more distance calculations to float
2014-05-21 10:03:30 +02:00
Dennis Luxen
812cf36d52
use floats instead of doubles for distance computations
2014-05-20 19:29:09 +02:00
Dennis Luxen
4aa7420d6a
remove unneeded includes
2014-05-20 18:54:03 +02:00
Dennis Luxen
1802839a22
add approximator for perpendicular distance
2014-05-20 16:23:47 +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
69ad3f3365
add curly braces to one line if
2014-05-20 15:37:18 +02:00
Dennis Luxen
d53eb881c2
revert to old boost based regex as GCC does not properly implement it prior to GCC 4.90
2014-05-20 14:33:03 +02:00
Dennis Luxen
e28e45f38e
remove unused variable
2014-05-20 14:33:03 +02:00
Dennis Luxen
bf6ca22b00
fix #1021 , always check if files exist
2014-05-20 14:33:03 +02:00
Dennis Luxen
b8acbae3e8
fix #1021 , always check if files exist
2014-05-20 14:33:03 +02:00
Dennis Luxen
4ec9f2c00f
fix #1021 , always check if files exist
2014-05-20 14:33:03 +02:00
Dennis Luxen
4fc329a1eb
remove superflous way in test setup
2014-05-20 14:33:02 +02:00
Dennis Luxen
0574a60bc2
replace boost::unordered_map, move hash function for pairs into its own header
2014-05-20 14:33:02 +02:00
Dennis Luxen
e490c4afed
use consistent typedef'ed types
2014-05-20 14:33:02 +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
75a2d4d00a
minor code refactoring, wip
2014-05-20 14:33:02 +02:00
Dennis Luxen
a122a1e8c7
remove comment
2014-05-20 14:33:02 +02:00
Dennis Luxen
8fe09c85b6
move atan2 lookup into trig header
2014-05-20 14:33:02 +02:00
Dennis Luxen
bc951de2a5
use trig functions from std namespace
2014-05-20 14:33:01 +02:00
Dennis Luxen
c970cd13cc
flip bearings by 180
2014-05-20 14:33:01 +02:00
Dennis Luxen
8983c0f927
move GetBearing(.) function into FixedPointCoordinate
2014-05-20 14:33:01 +02:00
Dennis Luxen
a47467f29b
store facade ptr in c'tor, save a param in sub-sequent function calls
2014-05-20 14:33:01 +02:00
Dennis Luxen
ef206eb4d9
clean up code a bit
2014-05-20 14:33:01 +02:00
Dennis Luxen
da5eec1c5f
refactor route name extraction into its own class, fix name extraction
2014-05-20 14:33:01 +02:00
Dennis Luxen
a69b3535a5
fix typo
2014-05-20 14:33:01 +02:00
Dennis Luxen
f4c23f3259
fix comparison
2014-05-20 14:33:01 +02:00
Dennis Luxen
e36e9fd629
make comparsion explicitly unsigned
2014-05-20 14:33:00 +02:00
Dennis Luxen
d2f19353ed
remove some debug output
2014-05-20 14:33:00 +02:00
Dennis Luxen
2d498cb88b
adapt JSON parsing in tests to allow for omitted fields
2014-05-20 14:33:00 +02:00
Dennis Luxen
a80815d57a
implements output generation through a dedicated JSON container:
...
- JSON syntax is not scattered over several files, but one place
- Reduces code duplication
- breaking changes:
- new property in json(p) formatted response: "found_alternative": True/False
- returned filenames now response.js(on) or route.gpx
- /hello plugin returns JSON now
2014-05-20 14:33:00 +02:00
Dennis Luxen
acab77f4f8
add simple isValid() function to PhantomNodes
2014-05-20 14:33:00 +02:00
Emil Tin
bddad0c57c
add test for roundabout with oneone links
2014-05-20 13:27:32 +02:00
Dennis Luxen
3968349480
deactivate LTO on debug build
2014-05-16 15:00:31 +02:00
Dennis Luxen
3ae17761b3
rename variables
2014-05-14 08:54:36 +02:00
Dennis Luxen
9a28bdbf76
reorder some includes
2014-05-14 08:53:26 +02:00
Dennis Luxen
e769821e0f
use range based for loops to traverse graphs
2014-05-13 16:56:30 +02:00
Dennis Luxen
9b68821f05
move common code into its own header
2014-05-13 13:30:52 +02:00