Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update
  • Loading branch information
akr18001 committed Sep 20, 2019
1 parent a0504c9 commit 71b872e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions README.md
@@ -1,10 +1,12 @@



Compile
#Compile#

g++ time_graph_gen.cc -o time_graph_gen -lrt -lpthread -O3
g++ time_graph_gen.cc -o time_graph_gen -O3


Usage
./time_graph_gen <.gr format graph> <Temporal_Degree> <Max_Time>
#Usage#

./time_graph_gen <Path to graph in DIMACS 9th gr format> <Temporal Degree> <Max Time> <Path to Output file>
./time_graph_gen ~/hetro_map_graphs/USA-road-t.CAL.gr 10 1895126 CAL_t.gr
4 changes: 2 additions & 2 deletions time_graph_gen.cc
Expand Up @@ -87,8 +87,8 @@ int main(int argc, char** argv)
char *filename = argv[1];
int temporal_edges = atoi(argv[2]);
int max_time = atoi(argv[3]);
int min_time = atoi(argv[4]);
char *outfile = argv[5];
int min_time = 0; //atoi(argv[4]);
char *outfile = argv[4];
int number0,number1,weig;

int step_size = (int)max_time/temporal_edges;
Expand Down

0 comments on commit 71b872e

Please sign in to comment.