Skip to content
Permalink
master
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
# 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.
```