Go to the documentation of this file.
69 int main( int argc, char **arg)
82 unsigned int i,nv,nvs;
119 fprintf(stderr, "Reading samples from : %s\n", GetFileFullName(&fsamples));
122 Error( "Could not open the file with the samples");
129 fprintf(stderr, "Writing solutions to : %s\n", GetFileFullName(&fboxes));
132 Error( "Could no open the file to store the solutions");
138 token=fscanf(fs, "%lf",&s);
139 if ((token==EOF)||(token==0))
148 if (fscanf(fs, "%lf",&s)==EOF)
149 Error( "Not enough values in the sample");
173 fprintf(stderr, "Use:\n");
174 fprintf(stderr, " cuiksamples2sols <problem_name> [<sol_file>]\n");
175 fprintf(stderr, " <problem_name> the name from which to define the .world,\n");
176 fprintf(stderr, " <sol_name> [optional] file where to store the solutions\n");
177 fprintf(stderr, " if not given they are stored in <problem_name>_samples.sols\n");
180 return(EXIT_SUCCESS);
|
Follow us!