cuikatlascenters.c File Reference

Detailed Description


Extracts the centers of the atlas and stores them in a file in the form of boxes (sols).

See Also

Definition in file cuikatlascenters.c.


int main (int argc, char **arg)
 Main body of the cuikatlascenters application. More...

Function Documentation

int main ( int  argc,
char **  arg 

Main body of the cuikatlascenters application.


  • cuikatlascenters [dummies] [inside] [middle]


  • problem_name is used to load .atlas file from where to extract the centres.
  • [dummies] optional. If 1, output has to include de dummies. This is necessary only if you plan to unsimplify the output points (default is 0).

The problem_name is without extension (if given it is removed).

argcNumber of elements in the command line that starts the application (i.e., the cuikatlascenters command itself and its arguments).
argStrings with the arguments.
EXIT_SUCCESS (0) if the execution worked out fine and EXIT_FAILURE if not.

Definition at line 66 of file cuikatlascenters.c.

References ATLAS_EXT, CreateFileName(), CS_WD_DELETE, CS_WD_EXT, CS_WD_INIT, DeleteAtlas(), DeleteFileName(), DeleteParameters(), FALSE, GetFileFullName(), InitParametersFromFile(), LoadAtlas(), PARAM_EXT, and SaveChartCenters().