public static void main(String[] args) {


if(args.length<0)
{
System.out.println("Provide input!!");
}
else
{
if(args.length==2)
{
String filename=args[1];
if(args[0].equals("-s"))
{
//System.out.println("Simple scheme output");
dijikstra graph= new dijikstra();
graph.createGraph(filename);
new Simple(graph,graph.source);

}
else
{
//System.out.println(filename);
dijikstra graph= new dijikstra();
graph.createGraph(filename);
FibonacciHeap fhip= new FibonacciHeap();
fhip.dijkstra_fheap(graph,graph.source);
}
}
else if(args.length==4)
{
int n= Integer.parseInt(args[1]);
Double d=Double.parseDouble(args[2]);
int source=Integer.parseInt(args[3]);
Random_Graph rg= new Random_Graph(n, d);
rg.createGraph();
new Simple(rg,source);
FibonacciHeap fhip= new FibonacciHeap();
fhip.dijkstra_fheap(rg,source);


}
}


}