Commit Graph

28 Commits

Author SHA1 Message Date
9f0d47ed59 Combine statements 2023-05-17 19:08:10 +02:00
371989b34d Make GetRegion more readable / Less convoluted and complicated due to multithreading. 2023-05-17 19:06:48 +02:00
c705fdb63a Throw exception instead of returning null when file not found. 2023-04-24 18:53:20 +02:00
914731c8a3 Prevent other thread from changing collection /multithreading) 2023-04-21 18:34:49 +02:00
976108569b Threadsafe for masstesting variables. 2023-04-21 15:13:42 +02:00
c43c6dc985 Cleanup
Added "sequential read" to fileoptions on deserialization.
2023-04-21 14:44:18 +02:00
cd3905915b Cleanup 2023-04-21 13:43:50 +02:00
dd37430761 Moved RoadPriority Function to RegionManager 2023-04-21 13:41:01 +02:00
7d769a064f Parallel reading of regionfiles. 2023-04-21 11:40:15 +02:00
1facca84ba Prevent multiple processes from reading same file. 2023-04-21 11:01:05 +02:00
2b252e2b06 Cleanup of unnecessary code 2023-04-20 23:02:38 +02:00
5289020d44 correct node for closest. 2023-04-09 21:02:32 +02:00
6e836db79b changed speeds and return type to byte 2023-04-09 19:22:34 +02:00
0f53ae579c Made speedtype any generic.
Will use any connection (highway), and return the same speed for all highways.
2023-04-09 18:27:53 +02:00
9ef0e421bc Moved Pathfinding ClosestNode and SpeedCalc to RegionManager (more appropriate).
Added validation if edge is valid connection for vehicle.
2023-04-09 16:41:42 +02:00
a54b189b08 Sorted Methods 2023-04-09 16:32:02 +02:00
bf08f38a1e fixed pathfinding namespace 2023-04-09 16:24:43 +02:00
fc5d388ecd Dispose of Region-filestream 2023-04-09 16:22:22 +02:00
5ebe843048 Added Logging for plausability 2023-04-01 18:08:48 +02:00
01deb02666 Adjusted to new Region Format 2023-04-01 14:43:05 +02:00
0bfc120ede Region no longer contains ways. Ways are Edges added to nodes.
Combined outputfiles into single Regionfile.
2023-04-01 13:18:54 +02:00
b621ff632b Rewrote XmlImporter to Write Region-files while reading from Stream 2023-03-31 21:56:27 +02:00
d7469aa190 Changed Regionhashing and OsmDatastructure with OsmDatastructure.Graph 2023-03-14 17:00:59 +01:00
4f0d5d4f30 RegionManager.cs:
More extensive logging
2023-02-08 19:05:29 +01:00
e265c56bce Datastructure rewrite 2023-02-06 17:32:55 +01:00
da9a99cf7c Better console documentation 2023-02-05 20:44:43 +01:00
3350d8e3b9 Added GetNode(Coordinates coordinates)
Added GetNode(ulong id)
Instead of returning null in LoadRegion now throw an exception when file is not found.
Added some Method descriptors
2023-02-05 20:02:22 +01:00
f7d9e511d7 Created Pathfinding 2023-02-03 23:35:22 +01:00