Skip to content

Commit 2c07213

Browse files
committed
comment revisions
1 parent 39c550f commit 2c07213

35 files changed

+10
-2081
lines changed

Tools/GraphGeneration/README.md renamed to Tools/Graph Generation/README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,28 @@ The main objective is to create synthetic star graphs representing emergency res
1010
- Special handling for prime numbers of PSAPs and other specific cases.
1111
- The `visualize_generation.py` script specifically focuses on visualizing the generation of a synthetic network graph from parameterized GraphML data, highlighting different node types and their positions within defined regions.
1212

13-
## graph_generation folder
14-
15-
### `graph_generation.py`
13+
## `graph_generation.py`
1614
Generates synthetic star graphs based on input parameters. The script handles various scenarios, including special cases such as prime numbers of PSAPs, to ensure appropriate distribution of graph elements. It includes logic for:
1715
- Distributing PSAPs, responders, and callers within defined regions.
1816
- Handling prime numbers of PSAPs by creating an extra region and combining it appropriately.
1917
- Ensuring each region contains a star-shaped graph centered on a PSAP.
2018

21-
### `visualize_generation.py`
19+
## `visualize_generation.py`
2220
Visualizes the graphs generated by `graph_generation.py` from the GraphML file. It displays the graph with color-coded nodes for PSAPs, callers, and responders. It outlines the rectangular boundary, PSAP regions, and caller regions, allowing for easy analysis and verification of the graph structure.
2321

24-
### `format_graphml.py`
25-
Converts the original synthetic GraphML file to a format that can be used within the cluster-point call generation and Graphitti simulations. This script ensures the GraphML file is compatible with the tools and configurations used in subsequent simulation steps.
22+
## `format_graphml.py`
23+
Converts the `graph_generation.py` synthetic GraphML file to a format that can be used within the cluster-point call generation and Graphitti simulations. This script ensures the GraphML file is compatible with the tools and configurations used in subsequent simulation steps.
2624

27-
## call_generation folder
28-
Contains scripts for generating call data from the GraphML files created in the `graphml_generation` folder. These scripts use the structured graphs to simulate call events, providing data for emergency response simulations.
25+
## 'examples' folder
26+
call_generation: Contains XML call scripts generated using `format_graphml.py` graphml files and python clusterpoint process. These scripts use the structured graphs to simulate call events, providing data for emergency response simulations.
2927

30-
## config_files folder
31-
Holds configuration files for GraphGeneration Graphitti simulations. These files use the generated graphs and call data to configure and run various simulation scenarios, testing different aspects of emergency response systems.
28+
config_files: Holds the configuration files for Graphitti simulations that test GraphGeneration scalability. These files use the generated graphs and call data to configure and run various simulation scenarios, testing different aspects of emergency response systems.
3229

33-
## graphml_generation folder
34-
Stores the generated graph models from `graph_generation.py`, formatted through `format_graphml.py`. These GraphML files serve as the basis for further simulations and call generation, ensuring consistency and compatibility across different simulation tools.
30+
graphml_generation: Stores the generated graph models from `graph_generation.py`, formatted through `format_graphml.py`. These GraphML files serve as the basis for further simulations and call generation, ensuring consistency and compatibility across different simulation tools.
3531

36-
## output_files folder
37-
Contains the output files from the simulations run using the configuration files in the `config_files` folder. These outputs include results and logs from the simulation runs, which can be analyzed to evaluate the performance and effectiveness of the generated graphs and configurations.
32+
output_files: Contains the output files from the simulations run using the configuration files. These outputs include results and logs from the simulation runs, which can be analyzed to evaluate the performance and effectiveness of the generated graphs and configurations.
3833

39-
## test_visualization folder
40-
Holds visualization PNGs of various cases from the `graph_generation.py` script, visualized using `visualize_generation.py`. These visualizations provide a graphical representation of the generated graphs, highlighting the structure and distribution of PSAPs, callers, and responders.
34+
test_visualization: Holds visualization PNGs of various cases from the `graph_generation.py` script, visualized using `visualize_generation.py`. These visualizations provide a graphical representation of the generated graphs, highlighting the structure and distribution of PSAPs, callers, and responders.
4135

4236
## Install Dependencies
4337
Ensure you have all required libraries installed. Use `pip` or `conda` for installation.

0 commit comments

Comments
 (0)