edsger 0.1.2__cp311-cp311-macosx_11_0_arm64.whl → 0.1.4__cp311-cp311-macosx_11_0_arm64.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.
- edsger/_version.py +1 -1
- edsger/commons.c +146 -146
- edsger/dijkstra.c +7058 -2696
- edsger/dijkstra.cpython-311-darwin.so +0 -0
- edsger/dijkstra.pyx +507 -5
- edsger/path.py +145 -37
- edsger/path_tracking.c +146 -146
- edsger/pq_4ary_dec_0b.c +146 -146
- edsger/spiess_florian.c +146 -146
- edsger/star.c +146 -146
- {edsger-0.1.2.dist-info → edsger-0.1.4.dist-info}/METADATA +21 -14
- {edsger-0.1.2.dist-info → edsger-0.1.4.dist-info}/RECORD +16 -16
- {edsger-0.1.2.dist-info → edsger-0.1.4.dist-info}/WHEEL +0 -0
- {edsger-0.1.2.dist-info → edsger-0.1.4.dist-info}/licenses/AUTHORS.rst +0 -0
- {edsger-0.1.2.dist-info → edsger-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {edsger-0.1.2.dist-info → edsger-0.1.4.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: edsger
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.4
|
4
4
|
Summary: Graph algorithms in Cython.
|
5
5
|
Author-email: François Pacull <francois.pacull@architecture-performance.fr>
|
6
6
|
Maintainer-email: François Pacull <francois.pacull@architecture-performance.fr>
|
@@ -42,7 +42,8 @@ Dynamic: license-file
|
|
42
42
|
|
43
43
|

|
44
44
|
[](https://codecov.io/gh/aetperf/edsger)
|
45
|
-
[](https://edsger.readthedocs.io/en/latest/?badge=latest)
|
46
|
+
[](https://pypi.org/project/edsger/)
|
46
47
|
[](https://pepy.tech/project/edsger)
|
47
48
|
[](https://pypi.org/project/edsger/)
|
48
49
|
[](https://github.com/psf/black)
|
@@ -75,14 +76,14 @@ edges = pd.DataFrame({
|
|
75
76
|
edges
|
76
77
|
```
|
77
78
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
79
|
+
| | tail | head | weight |
|
80
|
+
|---:|-------:|-------:|---------:|
|
81
|
+
| 0 | 0 | 1 | 1.0 |
|
82
|
+
| 1 | 0 | 2 | 4.0 |
|
83
|
+
| 2 | 1 | 2 | 2.0 |
|
84
|
+
| 3 | 2 | 3 | 1.5 |
|
85
|
+
| 4 | 2 | 4 | 3.0 |
|
86
|
+
| 5 | 3 | 4 | 1.0 |
|
86
87
|
|
87
88
|
```python
|
88
89
|
# Initialize the Dijkstra object
|
@@ -97,13 +98,19 @@ print("Shortest paths:", shortest_paths)
|
|
97
98
|
|
98
99
|
We get the shortest paths from the source node 0 to all other nodes in the graph. The output is an array with the shortest path length to each node. A path length is the sum of the weights of the edges in the path.
|
99
100
|
|
100
|
-
##
|
101
|
+
## Installation
|
102
|
+
|
103
|
+
### Standard Installation
|
101
104
|
|
102
|
-
|
105
|
+
```bash
|
106
|
+
pip install edsger
|
107
|
+
```
|
108
|
+
|
109
|
+
## Why Use Edsger?
|
103
110
|
|
104
|
-
|
111
|
+
Edsger is designed to be **dataframe-friendly**, providing seamless integration with pandas workflows for graph algorithms. Also it is rather efficient on Linux. Our benchmarks on the USA road network (23.9M vertices, 57.7M edges) demonstrate nice performance:
|
105
112
|
|
106
|
-
|
113
|
+
<img src="https://raw.githubusercontent.com/aetperf/edsger/release/docs/source/assets/dijkstra_benchmark_comparison.png" alt="Dijkstra Performance Comparison" width="700">
|
107
114
|
|
108
115
|
## Contributing
|
109
116
|
|
@@ -1,24 +1,24 @@
|
|
1
|
-
edsger-0.1.
|
2
|
-
edsger-0.1.
|
3
|
-
edsger-0.1.
|
4
|
-
edsger-0.1.
|
5
|
-
edsger-0.1.
|
6
|
-
edsger-0.1.
|
7
|
-
edsger/spiess_florian.c,sha256=
|
8
|
-
edsger/dijkstra.c,sha256=
|
9
|
-
edsger/_version.py,sha256=
|
1
|
+
edsger-0.1.4.dist-info/RECORD,,
|
2
|
+
edsger-0.1.4.dist-info/WHEEL,sha256=qxQkdhERtGxJzqnVOBnucx1aUmU2n3HmuzYdln_LyOw,109
|
3
|
+
edsger-0.1.4.dist-info/top_level.txt,sha256=QvhzFORJIIot6GzSnDrtGa9KQt9iifCbOC5ULlzY5dg,7
|
4
|
+
edsger-0.1.4.dist-info/METADATA,sha256=W7VnBFB3jCX77cLnj1naJ-1BGzYatHsQ2DGoBk6Gbkk,5369
|
5
|
+
edsger-0.1.4.dist-info/licenses/LICENSE,sha256=eNjfz5CInLrVdczJbhazCKtb8-0qB0UaXZ3bXN0zio0,1111
|
6
|
+
edsger-0.1.4.dist-info/licenses/AUTHORS.rst,sha256=9lqpqjiC4XukK7jdxXwKJJrddqwCV2DjpYTqhpP6znA,105
|
7
|
+
edsger/spiess_florian.c,sha256=rkz11lkANig6lSuQ6pFBWtMdOXuM2uOYvx7VmwRQJ6w,1355775
|
8
|
+
edsger/dijkstra.c,sha256=_yF4vvqlSo00GQK1mTkqZFn0VmtILVECpBXOO3DcoT0,1657403
|
9
|
+
edsger/_version.py,sha256=JMD28FXYHc_TM03visyUSd3UA9FZAaJMRStnfZoq50Y,21
|
10
10
|
edsger/spiess_florian.cpython-311-darwin.so,sha256=Jh7BUGAa1vcLq6gqRxD1V_Y7SIA89KiZU9k2tLxfZkU,276312
|
11
|
-
edsger/commons.c,sha256=
|
12
|
-
edsger/star.c,sha256=
|
11
|
+
edsger/commons.c,sha256=tdBzW_gCuLRoKR8kpvLLA25kKzA3e-_2xc8Nq-nPXo0,343009
|
12
|
+
edsger/star.c,sha256=i92m8J2fiypXVKRuWo3uPvLZfns5YynagtrYlLPewis,1319073
|
13
13
|
edsger/path_tracking.cpython-311-darwin.so,sha256=1rEt-_0dfUHeDT4rPXdn5O019WaclPrfaiotJWaZcgs,191200
|
14
14
|
edsger/commons.pyx,sha256=rPWrq1zfN_IuTgLgvvQe8ma7bU1e3V8lWbBEFH5Vaw8,805
|
15
15
|
edsger/pq_4ary_dec_0b.pxd,sha256=MbQuP1y1t6_2fJRkpqRPV2lmatwfqOxjsrb1GLfEudA,1065
|
16
16
|
edsger/__init__.py,sha256=CoqO_GHq5NC94S2JrYjf6dVGOKnxJ2TRBDOjikyscOY,40
|
17
17
|
edsger/prefetch_compat.h,sha256=6HfoyHI0dQE_MDsYHjUiX77Hg_z8eH6kRwN_5RAhbYo,806
|
18
|
-
edsger/path_tracking.c,sha256=
|
18
|
+
edsger/path_tracking.c,sha256=CfibJn9D2rhfHKJsYJuGBETRhNNS4mAlQ0llS6mJGB0,1143939
|
19
19
|
edsger/spiess_florian.pyx,sha256=9CrcMyzwSXaC_EdSl1uiD9yhFH6ACtooZOMfYw6vhvA,9566
|
20
|
-
edsger/pq_4ary_dec_0b.c,sha256=
|
21
|
-
edsger/dijkstra.cpython-311-darwin.so,sha256=
|
20
|
+
edsger/pq_4ary_dec_0b.c,sha256=NKUN0BMgirhv5zCyLjyuMhq7HaxkvI6mjBitxPFcuBU,1367251
|
21
|
+
edsger/dijkstra.cpython-311-darwin.so,sha256=sU7ItPPr393zN_E5y0uSCQgUfJSnyKmvU7sal0GUQ1M,367040
|
22
22
|
edsger/networks.py,sha256=o_dKC6fcxsqWr3fE0m5sUQkpZO-0B2x-w51l_1fyzAc,10316
|
23
23
|
edsger/commons.pxd,sha256=P9-n7ChbSIMSBRRY_lY3gBwXYUSvqJG-S_6e0dZTYU8,439
|
24
24
|
edsger/.gitignore,sha256=tWvEr3sBkY2ODntRp4_IUz3cidH-xu1efiOQK9DfK04,12
|
@@ -27,7 +27,7 @@ edsger/pq_4ary_dec_0b.pyx,sha256=fRJCT79GsCocZgpostfn7t5nkNQALK0A93OJK4fxJR0,177
|
|
27
27
|
edsger/commons.cpython-311-darwin.so,sha256=fGR441o1wyvlV1uOOcWLVOyP91J7D0pxWF3mbT7Ncko,58016
|
28
28
|
edsger/path_tracking.pyx,sha256=uO06fzL8V5KeI3w5FPVJJ13ZtdFGTol6oUjVX4Jjxxs,1807
|
29
29
|
edsger/star.cpython-311-darwin.so,sha256=xe-xzBtEBWmLN00fk-JdVcyBpY5FrywQ8I3bbVguyGc,250696
|
30
|
-
edsger/path.py,sha256=
|
31
|
-
edsger/dijkstra.pyx,sha256=
|
30
|
+
edsger/path.py,sha256=4hwoXiaepp_twwEQMmlygFsYy1HcxtZmR1HSvNStUC4,34874
|
31
|
+
edsger/dijkstra.pyx,sha256=R8DM9LlHXUOZ38t7qINaB1t_QBP_aeWBOqIHHVN9W10,36513
|
32
32
|
edsger/star.pyx,sha256=MVS4kylmMAXOHm8liTfTMLzrr0jhA3cRU3-KCfVjNNM,9246
|
33
33
|
edsger/pq_4ary_dec_0b.cpython-311-darwin.so,sha256=OS3RHv-FKNQQmfFzdg4Khf-wfBbAC1WtHMGZTNUc5yY,214488
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|