Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
TemporalGraphGenerator/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (14 sloc)
834 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run Python Script # | |
```python gen_time_graph.py``` | |
# Configurations # | |
time_helper.py contains the configurations for generating temporal graph. Different parameters are described below: | |
``` | |
* static_graph => Path to static graph file in gr format (9th DIMACS) | |
* temporal_graph => Path where the temporal graph is to be created | |
* temporal_edges => Maximum number of temporal edges corresponding to single static edge | |
* time_step => For every static edge, the loop goes from 0 to temporal_edges with step size equal to time_step | |
* spatial_partition => Number of sets into which the vertices are divided | |
* temporal_partition => Number of set into which the time instants are divided | |
* p => A number between 0-100. p = 100 sets the probability of a temporal edges to be added | |
as 0 while p=0 sets the probability as 1. | |
``` | |