Commit Graph

7004 Commits

Author SHA1 Message Date
Daniel J. Hofmann
51fbb4fcbd Fixes Table not checking for valid phantom nodes
We failed to check if we could actually find phantom nodes for all
coordinates in the table plugin, leading to corrupt internal state.

```
curl 'http://localhost:5000/table/v1/car/7.4151,43.7305;7.4222,43.7368?radiuses=0;'
```

```
[assert][140505627227904] /tmp/osrm-backend/include/engine/routing_algorithms/routing_base.hpp:68
in: void osrm::engine::routing_algorithms::insertNodesInHeap(osrm::engine::SearchEngineData<osrm::engine::routing_algorithms::ch::Algorithm>::ManyToManyQueryHeap&, const osrm::engine::PhantomNode&) [with bool DIRECTION = false; osrm::engine::SearchEngineData<osrm::engine::routing_algorithms::ch::Algorithm>::ManyToManyQueryHeap = osrm::util::BinaryHeap<unsigned int, unsigned int, int, osrm::engine::ManyToManyHeapData, osrm::util::UnorderedMapStorage<unsigned int, int> >]: phantom_node.IsValid()
terminate called without an active exception
```
2017-05-19 12:22:31 +02:00
Michael Krasnyk
f618531cbb Add response code to test result values 2017-05-19 12:22:31 +02:00
Patrick Niklaus
3f737fce46 Update changelog 2017-05-16 16:21:36 +00:00
Patrick Niklaus
11df411da7 Fix weight value for alley 2017-05-16 16:20:46 +00:00
Patrick Niklaus
5f208b913c Add regression test 2017-05-16 16:20:46 +00:00
Patrick Niklaus
3131bffe11 Fix bicycle turn penalties 2017-05-16 16:20:46 +00:00
Michael Krasnyk
4f3a7c1ec3 Adjust method and function names 2017-05-11 09:36:04 +00:00
Michael Krasnyk
321d1988a0 Disable nodes with invalid segments 2017-05-11 09:36:02 +00:00
Michael Krasnyk
b707fcdadc Add response codes of trip and routability queries 2017-05-11 09:16:01 +00:00
Patrick Niklaus
4285660c72 Update changelog 2017-05-05 22:14:50 +00:00
Michael Krasnyk
111e689b09 Added test with an empty CSV file 2017-05-05 22:13:57 +00:00
Michael Krasnyk
ebbb497af2 Hide qi namespace alias 2017-05-05 22:13:57 +00:00
Michael Krasnyk
dd9ad9fa08 Remove generate-edge-lookup argument in feature tests 2017-05-05 22:13:57 +00:00
Michael Krasnyk
dc55edbeb1 Add zero file size check 2017-05-05 22:13:57 +00:00
Michael Krasnyk
1c59563c9c Print diagnostic information to avoid boost cryptic errors 2017-05-05 22:13:57 +00:00
Michael Krasnyk
f4e1f6a752 Use mapped_file_source for CSV files 2017-05-05 22:13:57 +00:00
Patrick Niklaus
8c1e014d42 For the cyclability profile add alley penalties 2017-05-05 17:05:37 +00:00
Patrick Niklaus
b27fa42b0a Add failing test case for alleys 2017-05-05 17:05:28 +00:00
Patrick Niklaus
73e008e1b0 Regenerate docs 2017-05-05 08:50:22 +00:00
Patrick Niklaus
45fe4b80dd Fix docs for radius 2017-05-05 08:50:07 +00:00
Patrick Niklaus
65732db266 Fix overloaded parameter docs 2017-05-05 08:49:51 +00:00
Patrick Niklaus
55a7e1082f Disable TOC 2017-05-05 08:49:42 +00:00
Patrick Niklaus
34d5ba8fdd Update changelog 2017-05-04 21:08:28 +00:00
Michael Krasnyk
ec26756084 Updated assertions to catch negative duration values for weights > 0
but still clamping negative duration values at 0 without checking weights
2017-05-04 21:02:28 +00:00
Michael Krasnyk
0f55f24bfe Use rectified linear unit to prevent negative duration values 2017-05-04 21:02:17 +00:00
Patrick Niklaus
07f2c8fd4c Regenerate API docs 2017-05-03 15:22:28 +00:00
Patrick Niklaus
3289d53617 Update nodejs docs to document the constructor better 2017-05-03 15:22:11 +00:00
Michael Krasnyk
1ea5e44094 Adjusted to PR comments 2017-05-03 15:21:47 +00:00
Michael Krasnyk
ee208cd450 Fix incorrect exit turn invalidation 2017-05-03 15:21:36 +00:00
Patrick Niklaus
4370fd126d Final version bump 2017-04-21 08:49:00 +00:00
Patrick Niklaus
15a2fdd1f8 Update changelog 2017-04-20 13:58:29 +00:00
Patrick Niklaus
0eedcf69bc Fix checking columns if route is not specified 2017-04-20 13:52:23 +00:00
Patrick Niklaus
62abea30f5 Apply traffic light penalty also for non-turns 2017-04-20 13:52:11 +00:00
Michael Krasnyk
3364be1860 Fix incorrect weight fallback for distance-based weights 2017-04-20 13:51:59 +00:00
Patrick Niklaus
a5eeca9b51 Bump version to RC3 2017-04-18 17:09:49 +00:00
Michael Krasnyk
1a09ff6005 Don't remove the last original coordinate during tiding 2017-04-18 13:36:28 +00:00
Patrick Niklaus
2794a52902 Remove boost::make_unique to fix travis node builds 2017-04-13 21:18:08 +00:00
Patrick Niklaus
cb796e4cfc Use .gitignore default instead of .npmignore 2017-04-13 21:17:58 +00:00
Patrick Niklaus
522ec4fc2e Restructure travis build 2017-04-13 21:17:45 +00:00
Michael Krasnyk
15dc5899b0 Use total angle for turn instruction if entry step has large distance 2017-04-12 23:32:12 +00:00
Patrick Niklaus
7e932ffbc3 Bump package version 2017-04-12 22:58:58 +00:00
Patrick Niklaus
810596bb83 Install node version as well 2017-04-12 20:28:19 +00:00
Patrick Niklaus
acabf0075c Only use three jobs for node builds 2017-04-12 20:28:05 +00:00
Patrick Niklaus
1ed72db210 Use nvm instead of travis node_js key
This fixes issues on container builds that would always use
node 6 even when 4 was specified.
2017-04-12 20:27:53 +00:00
Patrick Niklaus
6bdf95dfb4 Change version to RC1 2017-04-12 14:58:51 +00:00
Patrick Niklaus
785ae89cd8 Update changelog 2017-04-12 14:58:25 +00:00
Patrick Niklaus
16680191de Enable 5.7 branch in travis 2017-04-12 14:28:37 +00:00
Michael Krasnyk
59b70c4d11 Make CoreCH SearchEngineData inherited from CH one
this allows to keep a single Algorithm template parameter in internal
interfaces as

template <typename Algorithm>
search(SearchEngineData<Algorithm> &,
       const datafacade::ContiguousInternalMemoryDataFacade<Algorithm> &, ...)
2017-04-12 10:54:09 +00:00
Michael Krasnyk
f96bae40ac Remove unused {forward,reverse}_heap_2 in MLD engine data 2017-04-12 10:54:09 +00:00
Michael Krasnyk
ba974c73bf Remove CoreCH heaps 2017-04-12 10:54:09 +00:00