Dennis Luxen
8d9f830c53
change includes to lower case algorithms/
2014-11-28 10:12:08 +01:00
Dennis Luxen
c0be751ef4
renamed: DataStructures/SegmentInformation.h -> DataStructures/segment_information.hpp
2014-11-27 18:54:20 +01:00
Dennis Luxen
032c21c545
fix mixed up include header <numeric> <-> <cmath>
2014-11-25 14:52:21 +01:00
Dennis Luxen
b391daac6d
use C++11's std::round from <numeric> instead of C-style round from cstdlib
2014-11-25 14:49:33 +01:00
Dennis Luxen
8cb6959e3f
untangle includes
2014-11-24 15:51:52 +01:00
Dennis Luxen
99e8fa70ba
renamed: Algorithms/DouglasPeucker.cpp -> Algorithms/douglas_peucker.cpp
...
renamed: Algorithms/DouglasPeucker.h -> Algorithms/douglas_peucker.hpp
2014-11-20 17:04:52 +01:00
Patrick Niklaus
3fe2b587cb
Revert "Revert "Bring general sketch commits upstream""
2014-10-29 00:33:43 +01:00
Dennis Luxen
c791188811
separate logic between polyline compression algorithm and JSON formatting.
...
fixes and closes #1245
2014-10-28 17:31:51 -04:00
Dennis Luxen
369f669227
break out PhantomNode.h into a header/impl combo, rename to new naming scheme.
2014-10-27 17:56:06 -04:00
Dennis Luxen
94288843f1
make entire_length variable a private member that cannot be set from the outside and only accessed thru a const getter.
2014-10-27 12:21:29 -04:00
Dennis Luxen
0fc944abf3
Revert "Bring general sketch commits upstream"
2014-10-27 10:07:07 -04:00
Patrick Niklaus
7d425aa76f
Use iterators for DouglasPeucker
2014-10-23 16:23:54 +02:00
Dennis Luxen
392c07951e
some renaming of member functions to remove ambiguity
2014-09-15 14:23:43 +02:00
Dennis Luxen
05b939760c
Revert "use more osrm::irange"
...
This reverts commit d6c6fbfe03
.
2014-08-20 15:47:48 +02:00
Dennis Luxen
d6c6fbfe03
use more osrm::irange
2014-08-20 15:34:10 +02:00
Dennis Luxen
d54a55c12b
implements announcement of waypoints, closes #584
2014-08-11 20:29:15 +02:00
Guillaume Beraudo
129f7b7441
Remove unused polyline method
2014-06-24 17:18:52 +02:00
Dennis Luxen
61f3d85af1
add even more cast sanity
2014-06-18 11:49:01 +02:00
Dennis Luxen
b8ea935424
cast bearing to unsigned
2014-06-18 11:17:51 +02:00
Dennis Luxen
58134200df
use float consistently in DescriptionFactory
2014-06-18 10:44:46 +02:00
Dennis Luxen
ba440550a6
make conversion explicit
2014-06-11 18:15:31 +02:00
Dennis Luxen
8aee371d81
further include untangling, chops 5sec compile time
2014-06-11 12:25:57 +02:00
Dennis Luxen
acefb5a5f3
remove debug output
2014-05-27 19:05:37 +02:00
Dennis Luxen
38ebdbb563
implements #949 , wrong duration on first segment
2014-05-27 16:54:10 +02:00
Dennis Luxen
49a1dfff60
fix off-by-one issue related to #1020
2014-05-27 12:09:05 +02:00
Dennis Luxen
f62515e13b
commented assertion that is triggered on trivial instances
2014-05-26 16:03:08 +02:00
Dennis Luxen
0325861ef3
remove an unneeded parameter
2014-05-26 15:31:30 +02:00
Dennis Luxen
75a2d4d00a
minor code refactoring, wip
2014-05-20 14:33:02 +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
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
24a61dc650
remove unused function parameters
2014-05-11 17:58:37 +02:00
Dennis Luxen
f060dfda40
refactor list of const static int into scoped enum
2014-05-08 18:04:05 +02:00
Dennis Luxen
17ed4f908c
(partially) migrate Descriptors to use C++11 syntax
2014-05-07 10:38:31 +02:00
Dennis Luxen
2ec952032a
fix rounding of travel times
2014-04-25 13:22:58 +02:00
Dennis Luxen
ede5cca2e7
fix unpacking of geometry for shared memory
2014-04-24 13:17:11 +02:00
Dennis Luxen
394e369b54
fix edge-expanded offsets
2014-04-24 13:06:55 +02:00
Dennis Luxen
9ccc8a7404
remove first segment if distance is 0 (down to 7 failed)
2014-04-24 12:55:53 +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
549bcb502b
minor renaming efforts
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
c71c8b0047
Unpacking of intermediate paths
2014-04-24 12:03:19 +02:00
Dennis Luxen
2855b94aa8
remove disabled debug output
2014-01-21 15:12:06 +01:00
Dennis Luxen
07509ba5c9
remove left-over debug output
2013-12-27 12:15:17 +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
d0b5929a9e
explicitly give the locations of all via locations in response
2013-12-12 18:35:23 -05:00
Dennis Luxen
009f08dca3
Refactoring PathData class
2013-12-08 19:10:10 +01:00
Dennis Luxen
2edf4906a4
refactoring SegmentInformation to fit into a cache line
2013-12-08 18:33:53 +01:00