Dennis Luxen
cd6874ca60
remove remnants of C-Style includes
2014-04-24 11:28:12 +02:00
Dennis Luxen
7083978f9d
remove remnants of C-Style includes
2014-04-24 11:28:12 +02:00
Dennis Luxen
4d132489c1
remove remnants of C-Style includes
2014-04-24 11:28:11 +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
03f4aaa2d6
make functions const, make short variable name more telling
2014-03-17 15:31:13 +01:00
Dennis Luxen
d67c3f36ff
call function object instead of static function
2014-03-17 15:28:42 +01:00
Dennis Luxen
e199d30beb
move static function into funtion object
2014-03-17 15:27:33 +01:00
Dennis Luxen
8a6d07342e
remove redundant local variable
2014-03-17 15:14:29 +01:00
Dennis Luxen
ab39457fe1
move bit-wise operator out of conditions
2014-03-17 15:13:36 +01:00
Dennis Luxen
e6933ea413
avoid private static member functions
2014-03-17 15:12:13 +01:00
Dennis Luxen
422e0c44d5
reverse inverted logic
2014-03-17 14:55:33 +01:00
Dennis Luxen
e07423f260
minor copy-edits to PR #946
2014-03-12 13:56:25 +01:00
Daniel Karch
ecfda146b2
minor change
2014-03-12 10:48:54 +01:00
Daniel Karch
f923f508f5
applied requested changes to EdgeBasedNode.h
2014-03-12 10:24:35 +01:00
Daniel Karch
b465dabe77
Refactored the EdgeBasedNode class.
...
This includes more robust computations in ComputePerpendicularDistance.
There were cases where ComputePerpendicularDistance divided by zero and had
to handle special cases, even though this was not necessary.
2014-03-11 16:40:20 +01:00
Dennis Luxen
4c48cda4cd
refactor HashTable facade class
2014-02-14 18:18:26 +01:00
Dennis Luxen
b5b4280c3b
remove c-style calls to fabs
2014-01-27 11:26:34 +01:00
Dennis Luxen
22c2efded9
Some mild refactoring of the BinaryHeap code. style only
2014-01-24 11:24:23 +01:00
Dennis Luxen
058219528d
fix floating point accuracy woes on certain hardware platforms
2014-01-22 19:35:30 +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
ce60af5029
fixes issues #770 and #856
2014-01-08 17:18:59 +01:00
DennisOSRM
41f3f53540
move includes to include/osrm
2013-12-20 13:12:56 +01:00
Dennis Luxen
a26d982f52
deactivate dead code
2013-12-19 19:19:26 +01:00
Dennis Luxen
ffd36b5489
add missing include
2013-12-18 12:00:58 +01:00
Dennis Luxen
095a58b1bd
remove deleted files from repo
2013-12-17 18:01:42 +01:00
Dennis Luxen
fd2f000075
install lib header files with make install target
2013-12-17 17:59:44 +01:00
Dennis Luxen
96aff57275
fixes #731 , perpendicular projection to nearest location
2013-12-16 17:36:36 +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
e0dd4848b0
add function to set edge target
2013-12-12 18:32:12 -05:00
Dennis Luxen
cef01f5dbc
remove superflous blank padding
2013-12-12 18:31:08 -05:00
Dennis Luxen
fb13e3ddb8
add new include
2013-12-09 11:47:42 -05:00
Dennis Luxen
ca17efd764
break out OriginalEdgeData class into its own include
2013-12-09 11:45:45 -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
Dennis Luxen
997dcad799
make rtree query do O(1) allocations only
2013-12-08 15:52:21 +01:00
Dennis Luxen
e35efd001c
move implementation details out of templat'ized container code
2013-12-08 15:52:21 +01:00
Dennis Luxen
50d6b10be4
move distance computation from r-tree to element type class
2013-12-08 15:52:21 +01:00
Dennis Luxen
5ef7ea794a
move Hilbert curve computation in compile unit
2013-12-08 15:52:20 +01:00
Dennis Luxen
8c16686150
remove dead code
2013-11-21 00:05:37 +01:00
Dennis Luxen
7cbadfbd12
remove dead code
2013-11-21 00:05:28 +01:00
Dennis Luxen
5fe24cb689
report a warning if shared memory segment cannot be locked into RAM
2013-11-19 10:38:59 +01:00
Dennis Luxen
2bd1e46ab9
Remove left-over merge hunk
2013-11-18 11:54:39 +01:00
Dennis Luxen
7ceab5c88c
lock data into RAM on Linux
2013-11-14 12:33:09 -05:00
Dennis Luxen
30b2c1ad61
refactor input restrictions class
2013-11-13 15:23:44 -05:00
Dennis Luxen
510cc22484
Refactor name of legacy class _Node into more telling name ExternalMemoryNode
2013-11-12 18:23:09 -05:00
Dennis Luxen
58ef7db5d6
allow 64 bit sizes for shared memory regions
2013-11-12 15:01:40 -05:00
Dennis Luxen
c87c843308
fix coverity issue 1121926, Uninitialized pointer field
2013-10-31 13:16:46 +01:00
Dennis Luxen
6453cdf0d6
replace all casserts with Boost.Assert
2013-10-30 18:52:23 +01:00
Dennis Luxen
faaf97ef62
return if removal of shmem segment was successful
2013-10-29 18:43:11 +01:00
Dennis Luxen
0103b59e61
close previously allocated filestream
2013-10-28 14:21:31 +01:00
Dennis Luxen
ed215657e6
remove deprecatedd swap method
2013-10-25 17:43:01 +02:00
Dennis Luxen
3e63b14192
add ability to _not_ destroy prev allocated memory
2013-10-25 14:00:34 +02:00
Dennis Luxen
d0198649f2
use doubles in mercartor projection functions
2013-10-21 17:13:02 +02:00
Dennis Luxen
cf69f43166
add proper licence header to newly added files
2013-10-21 11:45:16 +02:00
Dennis Luxen
f21fe81e16
remove superflous include guard
2013-10-15 17:06:22 +02:00
Dennis Luxen
593dfd0108
Merging and rebasing of develop into shared_memory
...
Conflicts:
DataStructures/SearchEngine.h
DataStructures/StaticRTree.h
Descriptors/DescriptionFactory.cpp
Library/OSRM.cpp
Library/OSRM.h
RoutingAlgorithms/BasicRoutingInterface.h
RoutingAlgorithms/ShortestPathRouting.h
Server/DataStructures/BaseDataFacade.h
Server/DataStructures/InternalDataFacade.h
Server/DataStructures/QueryObjectsStorage.cpp
Server/DataStructures/SharedDataFacade.h
routed.cpp
2013-10-15 17:04:53 +02:00
Dennis Luxen
424055c04e
fix iterator concept implementation
2013-10-15 14:35:36 +02:00
Dennis Luxen
02daf17326
fix iterator concept implementation
2013-10-15 14:35:36 +02:00
DennisOSRM
27a760c58c
Move edge-based node out ouf surrounding class
2013-10-15 14:35:36 +02:00
Dennis Luxen
e989e38cc2
further compile fixes for clang 3.3 (OS X 10.9)
2013-10-15 14:35:35 +02:00
Dennis Luxen
2641408d53
fail gracefully when lock file is not present
2013-10-15 14:35:34 +02:00
Dennis Luxen
5b79226183
add static function to remove shared memory
2013-10-15 14:35:34 +02:00
Dennis Luxen
98f9f0cd48
make shmem swappable by ref and ptr
2013-10-15 14:35:34 +02:00
Dennis Luxen
cf7e107ad1
check if shmem segment exists
2013-10-15 14:35:34 +02:00
Dennis Luxen
2221a0a908
removing extra ;
2013-10-15 14:32:44 +02:00
Dennis Luxen
79e1c87a01
swapping correct vectors
2013-10-15 14:32:44 +02:00
Dennis Luxen
b87a98bbda
street name file is now more canonical
2013-10-15 14:32:43 +02:00
Dennis Luxen
f25bab9555
create lock file if it does not exist
2013-10-15 14:32:42 +02:00
Dennis Luxen
ba4290340d
removing debug output and calling it a day
2013-10-15 14:32:41 +02:00
Dennis Luxen
5a04700bae
create sentinel to adjancency array during preprocessing
2013-10-15 14:32:41 +02:00
Dennis Luxen
37e8ab8de1
implement operator()+ for shared memory iterator
2013-10-15 14:32:40 +02:00
Dennis Luxen
bbf03e3060
Load r-tree search data structure from shared memory
2013-10-15 14:32:40 +02:00
Dennis Luxen
687e58e9d4
removing dead code
2013-10-15 14:32:39 +02:00
Dennis Luxen
c8025bf004
moving fwd decl of static members to root of include graph
2013-10-15 14:31:32 +02:00
Dennis Luxen
2dd2d3dd7b
adjust facade to pass compilation
2013-10-15 14:31:32 +02:00
Dennis Luxen
37e3ead8e9
use flexible shared mem interfaces
2013-10-15 14:31:31 +02:00
Dennis Luxen
a09d150b47
Further stl interface implementation
2013-10-15 14:31:31 +02:00
Dennis Luxen
35dffe43d9
further implementation of the vector interface for shared memory
2013-10-15 14:31:30 +02:00
Dennis Luxen
19c26f0733
removing old data facade, good riddance
2013-10-15 14:31:30 +02:00
Dennis Luxen
1b3e924450
added auxiliary Empty() function
2013-10-15 14:19:54 +02:00
DennisOSRM
a33e08e299
superflous typedef changed meaning of name for GCC
2013-10-15 14:19:53 +02:00
Dennis Luxen
7951795ea4
Implementation of internal data storage
2013-10-15 14:19:53 +02:00
Dennis Luxen
fb1361b00d
Reworking data access to go always through facades
2013-10-15 14:19:52 +02:00
Dennis Luxen
7d52c82c3b
Moving DataStructures to new data facade pattern
2013-10-15 14:14:54 +02:00
Dennis Luxen
a9ac0ac725
Mockups for data facades
2013-10-15 14:12:30 +02:00
Dennis Luxen
b51d3da7e5
Mockups for data facades
2013-10-15 14:04:11 +02:00
Dennis Luxen
12bb4d75fd
Adding shared memory data types
2013-10-15 13:45:45 +02:00
Dennis Luxen
411d8d4d98
fix iterator concept implementation
2013-10-15 12:00:20 +02:00
Dennis Luxen
748df0b21a
fix iterator concept implementation
2013-10-15 11:56:27 +02:00
Dennis Luxen
29499f21c5
License change to (simplified) 2-clause BSD. Good riddance, AGPL
2013-10-14 13:42:28 +02:00
DennisOSRM
18d8968ae7
add C include for NULL
2013-10-13 17:55:50 +02:00
DennisOSRM
dee7c339b3
Move edge-based node out ouf surrounding class
2013-10-11 16:14:59 +02:00
DennisOSRM
411bcbcbde
remove debug output
2013-10-11 14:55:34 +02:00
Dennis Luxen
75f77783ff
further compile fixes for clang 3.3 (OS X 10.9)
2013-10-09 18:58:37 +02:00
Dennis Luxen
a7449c913c
fail gracefully when lock file is not present
2013-10-08 16:25:02 +02:00
Dennis Luxen
aaec0e641b
add static function to remove shared memory
2013-10-08 15:47:43 +02:00
Dennis Luxen
5afed2d396
make shmem swappable by ref and ptr
2013-10-08 15:26:19 +02:00
Dennis Luxen
843348338a
check if shmem segment exists
2013-10-08 14:40:49 +02:00