Skip to content
Snippets Groups Projects
Commit c0e1da71 authored by gianlucarossi15's avatar gianlucarossi15
Browse files

minor changes

parent 6f06be83
No related branches found
No related tags found
No related merge requests found
......@@ -71,10 +71,11 @@ int main(int argc, char *argv[]) {
double elapsed_time = 0;
auto[g, e_s] = read_graph_from_file(file_name, var["directed"].as<bool>());
auto start = chrono::steady_clock::now();
string execMode=var["algorithm"].as<string>();
for (int i=0; i<NUM_TRIALS; i++) {
auto start = chrono::steady_clock::now();
pthread_create(&threads[i], NULL, handler, NULL);
if (execMode == "Random") {
g2 = compress_graph_basic(g, var["depth"].as<int>(), var["proportions"].as<vector<double>>(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment