dijkstra-fast-cpp 0.1.0__cp314-cp314-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ """
2
+ dijkstra-fast-cpp: High-performance Dijkstra Shortest Path Solver for Map Routing
3
+ Comparing Pure Python against Cython-wrapped C++ std::priority_queue with JSON export.
4
+ """
5
+
6
+ from .dijkstra_pure import dijkstra_python, dijkstra_cover_waypoints_python
7
+ from .map_generator import RoadNetwork, generate_random_map, segment_intersection, euclidean_distance
8
+ from .json_exporter import export_path_to_json
9
+
10
+ try:
11
+ from ._dijkstra_cython import dijkstra_cython, dijkstra_cover_waypoints_cython, FastGraph
12
+ CYTHON_AVAILABLE = True
13
+ except ImportError:
14
+ dijkstra_cython = None
15
+ dijkstra_cover_waypoints_cython = None
16
+ FastGraph = None
17
+ CYTHON_AVAILABLE = False
18
+
19
+ __version__ = "0.1.0"
20
+ __all__ = [
21
+ "dijkstra_python",
22
+ "dijkstra_cover_waypoints_python",
23
+ "dijkstra_cython",
24
+ "dijkstra_cover_waypoints_cython",
25
+ "FastGraph",
26
+ "RoadNetwork",
27
+ "generate_random_map",
28
+ "export_path_to_json",
29
+ "CYTHON_AVAILABLE"
30
+ ]