Commit Graph

  • 56ac9dc948 unnecessary type-conversion. master glax 2023-05-17 19:19:40 +0200
  • 9ef63c9886 Make it more clear what is being returned as string. glax 2023-05-17 19:14:36 +0200
  • 2b5dd91335 floating point comparison glax 2023-05-17 19:13:31 +0200
  • 9f0d47ed59 Combine statements glax 2023-05-17 19:08:10 +0200
  • 371989b34d Make GetRegion more readable / Less convoluted and complicated due to multithreading. glax 2023-05-17 19:06:48 +0200
  • e53d1086cc TKey can not be null. glax 2023-05-17 19:01:00 +0200
  • dc98fb51b1 Make RPriorityQueue.Count point directly to the queue.Count instead of manually updating every operation. glax 2023-05-17 19:00:47 +0200
  • 3077b4d8b8 Added abstract Renderer class that SVGRenderer and PNGRenderer inherit from. This way standardized rendering methods can be implemented. glax 2023-05-16 20:00:18 +0200
  • 7c5d87ca76 Moved Bounds to seperate Class glax 2023-05-15 14:07:04 +0200
  • a5f272dfb9 Removed commented Code Added Logging to see progress glax 2023-05-15 13:16:41 +0200
  • f84aa82186 Rename Method "FromRandomCoords" -> FromCoords glax 2023-05-15 13:16:11 +0200
  • 6d59253a0b Bounds serialization glax 2023-04-24 20:48:23 +0200
  • af821a761f added extraTime Variable to api glax 2023-04-24 19:47:54 +0200
  • 9b88996439 added extratime variable glax 2023-04-24 19:39:19 +0200
  • 5733b0edb3 Adjusted priority render glax 2023-04-24 19:39:04 +0200
  • 923cbee280 Removed result from getshortestroute glax 2023-04-24 19:38:51 +0200
  • f19aa0007e Testsetup for time glax 2023-04-24 19:38:23 +0200
  • f525b88a3a Best factors for current heurisitc: roadPriority 0.0215, extraTime: 3 glax 2023-04-24 19:38:09 +0200
  • d497196f9f Added methods RemoveExcept(Ienumberable) and Clear() glax 2023-04-24 19:37:25 +0200
  • c705fdb63a Throw exception instead of returning null when file not found. glax 2023-04-24 18:53:20 +0200
  • aa05aad5b3 Added missing maxspeed:max glax 2023-04-24 18:53:02 +0200
  • 7d33d11a03 shortest path glax 2023-04-23 16:23:49 +0200
  • edd931bca5 logging format glax 2023-04-23 16:23:06 +0200
  • 6b5dddb1e3 Prevent method from returning before all threads are finished. Include calculating threads in output. glax 2023-04-23 16:03:39 +0200
  • fea0ecf17b remove exisiting results. glax 2023-04-23 16:02:55 +0200
  • 30b29aa25c whitespace and readability glax 2023-04-23 15:27:23 +0200
  • 73e7daffd7 Formatting of finding best variables glax 2023-04-23 15:27:06 +0200
  • 7b88616373 Preload Regions glax 2023-04-23 15:26:29 +0200
  • 2799db162d readability glax 2023-04-23 15:09:22 +0200
  • 9301e948b0 Filename-formatting glax 2023-04-23 15:09:04 +0200
  • ec6725a5c5 Removed unnecessary factors glax 2023-04-23 15:07:26 +0200
  • 886ccaa8dc removed nodeAngleFactor glax 2023-04-23 15:00:22 +0200
  • af1d9baf4f Testsetup for cariable testing glax 2023-04-23 14:51:13 +0200
  • e2332847cd Adjust priority in weight calculation with factor. glax 2023-04-23 14:50:45 +0200
  • dca4d56866 Keep searching for the same amount of time already search to get shorter path. glax 2023-04-23 14:50:16 +0200
  • 5f6cccd17d Added priority queue with changable priority. glax 2023-04-23 14:49:09 +0200
  • 97a8c2ea6f Maximum turn angle variable glax 2023-04-23 14:48:00 +0200
  • b89a3715a1 Created variable for maximum turn angle. glax 2023-04-23 14:47:26 +0200
  • 6bc1d3c7ce Adjusted API to new Pathfinder calls. glax 2023-04-23 14:06:19 +0200
  • 5b8a1d1e10 cleanup glax 2023-04-23 13:43:01 +0200
  • 7856f1c66c Changed factors to globalfields to reduce parametersin methodcall glax 2023-04-23 13:42:46 +0200
  • 97a057a3d4 Fixed gScore with MaxValue due to Vector Angle returning NaN glax 2023-04-23 13:41:22 +0200
  • bc39785f6f Start of complete rethinking of Heuristic function and approach to get shortest path. glax 2023-04-23 13:11:52 +0200
  • 18822e2152 Changed ColorInterp glax 2023-04-23 13:06:47 +0200
  • 68cb0ee3fd Filter MaxValueWeights glax 2023-04-23 13:06:29 +0200
  • 465d40a475 Cleanup variable rename glax 2023-04-23 12:58:32 +0200
  • 7fd9047ac4 Changed Colors for weights and created variable for pointsize glax 2023-04-22 18:34:12 +0200
  • 601200a8d6 Changed imageformat glax 2023-04-22 18:33:34 +0200
  • a758c8c63e Changed Color and thickness values glax 2023-04-22 17:49:59 +0200
  • ed46a419e3 Moved fields for serialization. glax 2023-04-22 17:49:27 +0200
  • a1d9ccad46 Added deserialization of PathResult glax 2023-04-21 18:35:02 +0200
  • 914731c8a3 Prevent other thread from changing collection /multithreading) glax 2023-04-21 18:34:49 +0200
  • d8ce6e4ce5 Mutlithreaded RegionManager glax 2023-04-21 15:14:02 +0200
  • 976108569b Threadsafe for masstesting variables. glax 2023-04-21 15:13:42 +0200
  • 6373874495 Added function to render a base-area-image. glax 2023-04-21 14:44:50 +0200
  • c43c6dc985 Cleanup Added "sequential read" to fileoptions on deserialization. glax 2023-04-21 14:44:18 +0200
  • 33232a7eb7 Roads are now painted according to priority. glax 2023-04-21 14:37:38 +0200
  • cf5b1e9945 Masstesting new var: Threadcount corrected capitalization glax 2023-04-21 14:29:52 +0200
  • aa8b1e4451 Inverse Angle glax 2023-04-21 14:28:02 +0200
  • 95c0088b73 Added function to mass-test the heuristic variables. glax 2023-04-21 13:49:48 +0200
  • cd3905915b Cleanup glax 2023-04-21 13:43:50 +0200
  • dd37430761 Moved RoadPriority Function to RegionManager glax 2023-04-21 13:41:01 +0200
  • 42e915ee05 Added distance and duration to PathResult. glax 2023-04-21 11:40:26 +0200
  • 7d769a064f Parallel reading of regionfiles. glax 2023-04-21 11:40:15 +0200
  • 93a448e189 Made Conversion-methods public glax 2023-04-21 11:01:50 +0200
  • 750ba5c624 Fixed angle calculation glax 2023-04-21 11:01:31 +0200
  • 1facca84ba Prevent multiple processes from reading same file. glax 2023-04-21 11:01:05 +0200
  • 8b7cfcbd77 Method for mass-testing all factors. glax 2023-04-21 00:43:58 +0200
  • 28ab2b2bb8 Added angleFactor variable glax 2023-04-21 00:43:38 +0200
  • 7201b9c993 Add turn-angle to Weight calculation. For that added Vector-class. Highways now have much higher priority. glax 2023-04-21 00:42:21 +0200
  • d1f311a76b Cleanup glax 2023-04-21 00:41:18 +0200
  • 2b252e2b06 Cleanup of unnecessary code glax 2023-04-20 23:02:38 +0200
  • d456275fc1 private field naming _cameFromDict glax 2023-04-20 22:58:50 +0200
  • 2bd6c5d9c4 Replaced local vars with fields. glax 2023-04-20 22:58:27 +0200
  • 90a09e84c5 Removed/Replaced unnecessary checks in AStar. glax 2023-04-20 22:53:23 +0200
  • b87d8a0300 Changed calls to new backend. Pathfinder now finds the result and returns itself. Pathfinder includes PathResult for later usage. glax 2023-04-20 19:41:40 +0200
  • 23429c8a00 Renderer now renders 3 different layers over each other: Area (Regions), gScore-Weights (as blobs) and PathResult path. glax 2023-04-20 19:40:50 +0200
  • 946fa0206b Made Pathfinder non-static to enable field-usage in other methods/classes. Added fields RegionManager, workingDirectory, PathResult (result of AStar), gScore (result of AStar). Fields later used in Renderer. glax 2023-04-20 19:39:18 +0200
  • 5a1dce9883 PathResult now only includes Path and calcTime. Other fields have been moved to Pathfinder glax 2023-04-20 19:37:34 +0200
  • 619cad61ee Adjusted to new Functions and return values. Now renders complete result with path and all loaded regions. glax 2023-04-19 22:55:49 +0200
  • bfb117164e Added Area-render (Renders all loaded nodes and edges) Route can now be drawn over other pictures (e.g. the area-render) Increased resolution to 20.000 Added Bounds-Class for information exchange with image. glax 2023-04-19 22:53:49 +0200
  • 208c000577 Changed values for heuristic and weight functions, as well as increased priority for type1-roads (motorways). glax 2023-04-19 22:51:47 +0200
  • 5212e43897 Add regionManager to PathResult for internal use glax 2023-04-19 22:15:57 +0200
  • 6fb88b5c9c Include RegionManager in result for internal use glax 2023-04-19 22:15:43 +0200
  • 9e0c4f65db appropriate names in PathResult for nodes gSCoreNodes glax 2023-04-19 22:02:15 +0200
  • 055a751c9d Save Pathfinding result to file. Load result for render. glax 2023-04-13 19:18:25 +0200
  • 08ebc9a26b Changed some display values glax 2023-04-13 01:12:29 +0200
  • d35aab9c39 More logging glax 2023-04-13 01:12:16 +0200
  • 08e3da6fe3 Render result to png after every routing glax 2023-04-13 01:00:56 +0200
  • 367e9cfde0 Removed API glax 2023-04-13 01:00:38 +0200
  • a70284aa87 Added visualization to confirm paths glax 2023-04-13 00:24:33 +0200
  • 13915c9773 No more use of "track" or "service" for cars. glax 2023-04-13 00:24:03 +0200
  • c373451007 fixed missing oneway streets without "forward" tag glax 2023-04-13 00:18:30 +0200
  • 308579279b Working. Weight calculation is still wonky, as well as heuristic needing tuning. glax 2023-04-11 01:04:19 +0200
  • 2131ac4afe Still requires tuning glax 2023-04-10 01:33:18 +0200
  • 428fcb9bf8 fixed return type for tagtypes name, tagref glax 2023-04-10 01:33:07 +0200
  • 6b496957d7 Fixes for oneway-change glax 2023-04-09 23:55:24 +0200
  • 874d60992e Try improving priority glax 2023-04-09 22:10:58 +0200
  • c1557b7678 cleanup glax 2023-04-09 22:10:41 +0200
  • 14533c150f Fixing one-way issue glax 2023-04-09 22:10:23 +0200