You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- rename arg work_dir to input_dir in read_demand();
- call read_demand() in test_find_shortest_path_for_agents() which
is essential to set up agents;
- terminate test_find_shortest_path_for_agents() if there are no
agents;
- fix bug in test_odme() on calling read_measurements();
- disable test_multimodal_dtalite() which will crash the testing process
as run_DTALite() requires a different settings.yml;
- update docstrings for run_DTALite();
- conduct minor changes to docstrings for perform_column_generation()
and perform_network_assignment();
- replace deprecated perform_column_generation() with find_ue() in
usecases.md;
- update Public API for colgen and io;
- change version number from v0.9.8 to v0.9.9.
[](https://pepy.tech/project/path4gmns)[](https://img.shields.io/badge/release-v0.8.2-brightgreen)
3
+
[](https://pepy.tech/project/path4gmns)[](https://img.shields.io/badge/release-v0.8.2-brightgreen)
Path4GMNS is an open-source, cross-platform, lightweight, and fast Python path engine for networks encoded in [GMNS](https://github.com/zephyr-data-specs/GMNS). Besides finding static shortest paths for simple analyses, its main functionality is to provide an efficient and flexible framework for column-based (path-based) modeling and applications in transportation (e.g., activity-based demand modeling). Path4GMNS supports, in short,
Transportation equity is accessibility with respect to different demographics. Path4GMNS provides the following simple info and statistics on equity given a time budget and a segmentation of zones (e.g., zones can be grouped into a set of bins according to income level and each zone will have a unique bin index). The current implementation takes bin index of each zone from node.csv under column "bin_index" (via node-to-zone mapping), which is error prone. As a zone might have more than one node, it may encounter inconsistent bin indices over a set of nodes corresponding to the same zone. In case of that, the first bin index encountered for each zone in loading node.csv is always used for evaluation. 0 is taken as default if column "bin_index" or the value of an entry is missing.
365
365
366
-
1. accessible zones.
367
-
2. min accessibility. Each zone has a list of accessible zones given a time budget and a transportation mode. This metric refers to the zone with the minimum number of accessible zones. This number and the zone ID will both be output. Note that there could be multiple zones with the same minimum number of accessible zones and only the first zone will be in the output.
368
-
3. max accessibility.
369
-
4. mean accessibility. The average number of accessible zones over a bin of zones (corresponding to a specific demographic) given a time budget and a transportation mode.
366
+
1.**accessible zones**.
367
+
2.**min accessibility**. Each zone has a list of accessible zones given a time budget and a transportation mode. This metric refers to the zone with the minimum number of accessible zones. This number and the zone ID will both be output. Note that there could be multiple zones with the same minimum number of accessible zones and only the first zone will be in the output.
368
+
3.**max accessibility**.
369
+
4.**mean accessibility**. The average number of accessible zones over a bin of zones (corresponding to a specific demographic) given a time budget and a transportation mode.
370
370
371
371
They can be obtained via Path4GMNS of v0.8.3 or higher in a way very similar to the process of evaluating accessibility.
372
372
@@ -426,7 +426,7 @@ simulation:
426
426
resolution: 6
427
427
```
428
428
429
-
perform_column_generation() shall be called in the first place to set up path for each agent before simulation.
429
+
find_ue() shall be called in the first place to set up path for each agent before simulation.
If you have route_assignment.csv (i.e.columns) from a previous run or DTALite, you can bypass perform_column_generation() and directly load it to conduct simulation.
448
+
If you have route_assignment.csv (i.e.columns) from a previous run or DTALite, you can bypass find_ue() and directly load it to conduct simulation.
0 commit comments