int main(int argc,char *argv[]) { Tree t; int num; num=dealwithargs(argc,argv); chatting("Building tree of size %d\n",num); t=build_tree(num,0,0,NumNodes,0.0,1.0,0.0,1.0); if (!flag) chatting("Past build\n"); if (flag) chatting("newgraph\n"); if (flag) chatting("newcurve pts\n"); printf("Call tsp(t, %d, %d)\n", conquer_thresold, NumNodes); tsp(t,conquer_thresold, NumNodes); if (flag) print_list(t); if (flag) chatting("linetype solid\n"); return 0; }
int main(void) { Tree___0 t ; int num ; struct tree *tmp ; int tmp___0 ; struct tree *__cil_tmp5 ; { { #line 74 num = dealwithargs(); #line 76 chatting("Building tree of size %d\n", num); #line 77 tmp = build_tree(num, 0, 0, __NumNodes, 0.0, 1.0, 0.0, 1.0); #line 77 t = (struct tree___0 *)tmp; } #line 81 if (! flag) { { #line 81 chatting("Past build\n"); } } else { } #line 82 if (flag) { { #line 82 chatting("newgraph\n"); } } else { } #line 83 if (flag) { { #line 83 chatting("newcurve pts\n"); } } else { } { #line 86 timer_start(0); #line 87 __cil_tmp5 = (struct tree *)t; #line 87 tsp(__cil_tmp5, 150, __NumNodes); #line 88 timer_stop(0); } #line 89 if (flag) { { #line 89 print_list(t); } } else { } #line 90 if (flag) { { #line 90 chatting("linetype solid\n"); } } else { } { #line 91 tmp___0 = timer_elapsed(0); #line 91 chatting("Time for TSP = %f\n", tmp___0); #line 99 exit(0); } } }