blob: 7c7d5293b3b307a4eb37153cc005badc5ac6ecc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include <fstream>
#include <iostream>
#include "parse.h"
#include "graph.h"
int main(int argc, char *argv[]) {
if (argc < 4) {
std::cerr
<< "USAGE: ./brandes <number-threads> <input-file> <output-file>"
<< std::endl;
return 1;
}
int threads = std::stoi(argv[1]);
std::string input_file = argv[2];
std::string output_file = argv[3];
Parser parser(input_file);
Graph graph = parser.get_graph();
return 0;
}
|