Go to the documentation of this file.
53 int main( int argc, char **arg)
70 unsigned int total,good;
75 fprintf(stderr, "Reading parameter file : %s\n", GetFileFullName(&fparam));
84 Error( "The file with the solution boxes can not be opened");
87 fprintf(stderr, "Writing collisions file : %s\n", GetFileFullName(&fcollisions));
91 Error( "The file for the collision information can not be opened");
117 fprintf(fout, "0.1\n");
129 fprintf(stderr, "Collision-free ratio : %g\n",( double)good/( double)total);
143 fprintf(stdout, " Wrong number of parameters.\n");
144 fprintf(stdout, " Use:\n");
145 fprintf(stdout, " cuikcollisions <world>.world <solutions>.sol\n");
146 fprintf(stdout, " Where:\n");
147 fprintf(stdout, " <world>: File describing the problem\n");
148 fprintf(stdout, " <solutions>: Solutions for which to extract the axes.\n");
149 fprintf(stdout, " File extensions are not required\n");
152 return(EXIT_SUCCESS);
|
Follow us!