Merge branch 'master' of ssh://apples.lambdacomplex.org/git/bus
[bus.git] / origin-src / loadgraph.cc
1 #include <stdlib.h>
2 #include "tripgraph.h"
3
4 using namespace std;
5
6
7 int main(int argc, char *argv[])
8 {
9 // this example does nothing other than simply load a graph into memory
10 // useful for profiling memory usage
11
12 if (argc < 2)
13 {
14 printf("Usage: %s <graph file> ", argv[0]);
15 return 1;
16 }
17
18 printf("Loading graph...\n");
19 TripGraph g;
20 g.load(argv[1]);
21
22 return 0;
23 }
24