System.out.println("started.");
File graphDir = new File(args[0]);//new File(System.getProperty("user.dir")+System.getProperty("file.separator")+"resources"+
//System.getProperty("file.separator")+"TestGraphs"+System.getProperty("file.separator") +args[0]);
String wholePath = graphDir.getAbsolutePath()+System.getProperty("file.separator");
GraphMLFile graphmlFile = new GraphMLFile();
graphmlFile.setGraphMLFileHandler(new ExperimentGraphMLHandler());
DirectedSparseGraph dg = new DirectedSparseGraph();
dg.getEdgeConstraints().clear();
dg = (DirectedSparseGraph)graphmlFile.load(wholePath+args[1]);
int size = dg.getEdges().size()*4;
RandomPathGenerator rpg = new RandomPathGenerator(dg, new Random(1),size, 5);