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
Copy file name to clipboardExpand all lines: Tools/Graph Generation/README.md
+10-16Lines changed: 10 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,34 +10,28 @@ The main objective is to create synthetic star graphs representing emergency res
10
10
- Special handling for prime numbers of PSAPs and other specific cases.
11
11
- 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.
12
12
13
-
## graph_generation folder
14
-
15
-
### `graph_generation.py`
13
+
## `graph_generation.py`
16
14
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:
17
15
- Distributing PSAPs, responders, and callers within defined regions.
18
16
- Handling prime numbers of PSAPs by creating an extra region and combining it appropriately.
19
17
- Ensuring each region contains a star-shaped graph centered on a PSAP.
20
18
21
-
###`visualize_generation.py`
19
+
## `visualize_generation.py`
22
20
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.
23
21
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.
26
24
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.
29
27
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.
32
29
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.
35
31
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.
38
33
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.
41
35
42
36
## Install Dependencies
43
37
Ensure you have all required libraries installed. Use `pip` or `conda` for installation.
0 commit comments