Commit Graph

12 Commits

Author SHA1 Message Date
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
ea7ce1f630 Changed/Fixed Namespaces 2023-04-09 17:06:45 +02:00
05ae0bff6e Fixed invalid json-type 2023-04-09 16:49:22 +02:00
8bd0c5a4d4 Added Pathfinding Time
Renamed GetRoute -> GetRouteTime and GetRouteDistance
2023-04-09 16:47:33 +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
585a9213ce Fixed result to correct time and no path error handling 2023-04-09 16:29:09 +02:00
bf08f38a1e fixed pathfinding namespace 2023-04-09 16:24:43 +02:00
58d1031524 Splitting Pathfinding into separate files for each type of routing.
Removing timetracking again from routing-algos (not in scope)
2023-04-09 16:17:15 +02:00
dfc9ffeb2c CustomAStar now returns ValueTuple with calctime and path as result 2023-04-06 14:46:08 +02:00
9c53c67763 Added /getClosestNode lat lon API 2023-04-06 14:33:00 +02:00
8813023cd6 Created seperate PathNode class for Json Serialization 2023-04-06 14:27:25 +02:00
ed8558049c Added first API. 2023-04-06 01:29:45 +02:00