cuiksmoothpath.c
Go to the documentation of this file.
189 parallel=(((mode==SMOOTH_GRADIENT)||(mode==SMOOTH_EFFORT)||(mode==SMOOTH_DISPERSION))? TRUE : FALSE);
221 fprintf(stderr," cuiksmoothpath <problem name> <path name> [<mode> <iterations> <parallel>]\n");
224 fprintf(stderr," <mode> [optional] is the algorithm to use: RANDOM, GRADIENT, SHORTCUT or EFFORT.\n");
228 fprintf(stderr," For the RANDOM method this number is scaled by the number of steps in the path.\n");
230 fprintf(stderr," <parallel> [optional] 1 if the smooth has to be exectued in parallel and 0 for serial execution.\n");
Data structure to hold the information about the name of a file. Definition: filename.h:271 Definition of the Tfilename type and the associated functions. int main(int argc, char **arg) Main body of the cuiksmoothpath application. Definition: cuiksmoothpath.c:81 void SaveSamples(char *fname, char *suffix, unsigned int nvs, unsigned int ns, double **path) Saves a set of samples to a file. Definition: samples.c:2879 Definition of the Tworld type and the associated functions. Error and warning functions. void SmoothSamples(Tparameters *pr, boolean parallel, int mode, unsigned int maxIterations, unsigned int ns, double **path, unsigned int *sns, double ***spath, TAtlasBase *w) Path smoothing. Definition: samples.c:2541 boolean LoadSamples(Tfilename *fname, unsigned int *nvs, unsigned int *ns, double ***path) Reads a set of samples from file. Definition: samples.c:2913 Definitions of constants and macros used in several parts of the cuik library. A table of parameters. void CreateFileName(char *path, char *name, char *suffix, char *ext, Tfilename *fn) Constructor. Definition: filename.c:22 void InitParametersFromFile(char *file, Tparameters *p) Constructor from a file. Definition: parameters.c:51 Definition of an atlas on a manifold. char * GetFileFullName(Tfilename *fn) Gets the file full name (paht+name+extension). Definition: filename.c:151 Auxiliary functions to deal with sets of samples. Definition of basic randomization functions. void DeleteSamples(unsigned int ns, double **path) Deletes the space used by a set of samples. Definition: samples.c:3159 Definition of the Tparameters type and the associated functions. |
Follow us!