Dennis Luxen
d00f4afb84
replace C limits with STL-defined and typedef'ed limits
2014-08-05 17:20:01 +02:00
Dennis Luxen
d4bf02c882
replace boost integer range
2014-08-05 17:19:09 +02:00
Dennis Luxen
284e671163
add convenience class for integer range
2014-08-04 17:27:34 +02:00
Dennis Luxen
0f112e5c9d
untangle includes
2014-08-04 13:23:37 +02:00
Dennis Luxen
759449b4be
remove an unneeded check in JSONDescriptor
2014-08-01 15:59:45 +02:00
Dennis Luxen
9c03f919a3
Merge pull request #1138 from dmbreaker/fix/alter_route_end
...
Fixes alternative route end-point (http://imgur.com/ZQhwTZi )
2014-07-31 17:07:08 +02:00
Dennis Luxen
c9afd9a281
make dummy date in generated test files valid
2014-07-31 16:41:38 +02:00
dmbreaker
a999cb9db9
Fixes alternative route end-point ( http://imgur.com/ZQhwTZi )
2014-07-31 16:10:02 +04:00
Dennis Luxen
fdc5bd6195
add try catch, fixes coverity issues 1229132 and 1229133
2014-07-30 11:28:36 +02:00
Dennis Luxen
e1d94eee21
Merge branch 'Zhdanovich-scc_develop' into develop
2014-07-30 09:42:55 +02:00
Kirill Zhdanovich
885f237217
Apply diff https://github.com/Project-OSRM/osrm-backend/pull/1133 to develop branch
2014-07-29 22:12:59 +02:00
Dennis Luxen
5860a4e28e
clear external vector after use, closes #1131
2014-07-28 16:15:21 +02:00
Dennis Luxen
2bebed44ff
use stxxl as external data store instead of hand-rolled code in /tmp
2014-07-28 15:58:50 +02:00
Dennis Luxen
4990e544cf
add a distinct tool to check if hsgr file is valid, closes #1081
2014-07-28 14:51:33 +02:00
Dennis Luxen
8010506d4e
remove reverted include
2014-07-28 14:20:17 +02:00
Dennis Luxen
f2f7abb9a8
remove reverted include
2014-07-28 14:19:16 +02:00
Dennis Luxen
85f6ab869e
Revert "let ServerFactory return unique ptr instead of raw ptr"
...
This reverts commit cc7c6b9ece
.
2014-07-28 14:08:54 +02:00
Dennis Luxen
fc87b0a11e
enabling defaultctor for Server
2014-07-28 12:04:11 +02:00
Dennis Luxen
79bc071754
enabling default copy ctor for Server
2014-07-28 11:24:49 +02:00
Dennis Luxen
797243fc9c
return unique ptr instead of raw ptr
2014-07-28 11:03:53 +02:00
Dennis Luxen
cc7c6b9ece
let ServerFactory return unique ptr instead of raw ptr
2014-07-28 10:15:22 +02:00
Dennis Luxen
279071e5bb
re-add pairwise container traversal
2014-07-28 10:14:24 +02:00
Dennis Luxen
426374ff8a
register all classes at once in LUA environment
2014-07-24 18:26:40 +02:00
Dennis Luxen
1508874ebc
return early if way is not either highway=* or route=* in car profile. Estimated cost saving 10%
2014-07-24 18:00:37 +02:00
Dennis Luxen
bbe440cacd
fix implcit conversion in DynamicGraph
2014-07-24 11:29:03 +02:00
Dennis Luxen
e647e73af9
fix implcit conversion in RestrictionMap
2014-07-24 11:25:43 +02:00
Dennis Luxen
696ddfde0e
mark temporaries const
2014-07-24 11:23:33 +02:00
Dennis Luxen
37d6257524
fix implicit conversion in TemporaryStorage
2014-07-24 11:23:03 +02:00
Dennis Luxen
faee894052
add a couple of consts to range based for loops
2014-07-24 10:15:04 +02:00
Dennis Luxen
61f16b8c5e
remove code duplication
2014-07-24 09:56:20 +02:00
Dennis Luxen
85eb38e755
reformatting code according to guidelines
2014-07-23 19:28:04 +02:00
Dennis Luxen
a87cf60dfc
move common code into Util header
2014-07-23 19:25:09 +02:00
Dennis Luxen
3b135447f3
use typedef Edgeweight instead of raw int
2014-07-23 14:50:45 +02:00
Dennis Luxen
0c3713f7e5
Merge branch 'TheMarex-boost-test' into develop
2014-07-22 18:55:33 +02:00
Patrick Niklaus
4d0571fd73
Fix win32 linking and run test automatically in AppVayor
2014-07-22 18:23:43 +02:00
Patrick Niklaus
4722988bf0
Try including typedefs
2014-07-22 17:17:56 +02:00
Patrick Niklaus
61151535e6
Fix include in RangeTableTest
2014-07-22 17:17:56 +02:00
Patrick Niklaus
bcff6c192c
Remove template paramters and constexpr in test
...
Stops clang from complaining about non-constexpr.
2014-07-22 17:17:56 +02:00
Patrick Niklaus
020d0cfb49
Revert "Change StaticRTree serialization constructor to static function"
...
This makes clang 3.4 crash on ubuntu because it can not handle lambda
expressions + binding in static member functions correctly.
This reverts commit d6dd6693b18e042c0068da579dcc64d1e5a2e002.
2014-07-22 17:17:56 +02:00
Patrick Niklaus
d38e3bd729
Add tests and benchmarks to appveyor
2014-07-22 17:17:56 +02:00
Patrick Niklaus
84a604f70b
Add test for new GetMinDist
2014-07-22 17:17:56 +02:00
Patrick Niklaus
782baf54a3
Remove perpendicular distance call
...
Since we know that the MBB is axis aligned we can compute
the distance to the line segments a lot simpler.
2014-07-22 17:17:56 +02:00
Patrick Niklaus
d754e4eeca
Add benchmark for StaticRTree
...
Build with 'make benchmarks'
2014-07-22 17:17:56 +02:00
Patrick Niklaus
db98f6191e
Prepare alrady writes the correct number of nodes
2014-07-22 17:17:56 +02:00
Patrick Niklaus
b453a42f77
Fixed perpendicular distance calculation of segment endpoint is on equator
2014-07-22 17:17:56 +02:00
Patrick Niklaus
2a6585e664
Add regression test for 'gap' querry bug
2014-07-22 17:17:56 +02:00
Patrick Niklaus
bc013925b8
Consider points on the edge of the rectangle as inside
2014-07-22 17:17:56 +02:00
Patrick Niklaus
8108ecc4d3
Add test for StaticRTree
2014-07-22 17:17:56 +02:00
Patrick Niklaus
1c80584206
Fix GetMinDistance
2014-07-22 17:17:56 +02:00
Patrick Niklaus
a3dd9c3e57
Change StaticRTree serialization constructor to static function
...
Since the constructor does not satisfy the requirements for a
constructor (the RTree is not properly initialized) make it a
static function instead.
2014-07-22 17:17:56 +02:00