From 324b6d79f05cb42f41f76f28a25195bed9be61b9 Mon Sep 17 00:00:00 2001 From: Akif Date: Mon, 30 Dec 2019 18:44:37 -0500 Subject: [PATCH] update --- README.md | 9 +++++++-- time_helper.py | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6c645ed..3b4e851 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,17 @@ # Configurations # -time_helper.py contains the 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. ``` diff --git a/time_helper.py b/time_helper.py index 9c4a3e3..dd98d82 100644 --- a/time_helper.py +++ b/time_helper.py @@ -7,7 +7,7 @@ time_step = 1 temporal_edges = 10 spatial_partition = 2 temporal_partition = 2 -p = 3 +p = 3 # Vary from 0-100 def prob_distribution_1(): mu, sigma = 0, 10