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.