cuikplotatlas.c File Reference

Detailed Description


Plots a 3d projection of an atlas generated with cuikatlas.

See Also

Definition in file cuikplotatlas.c.


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

Function Documentation

int main ( int  argc,
char **  arg 

Main body of the cuikplotatlas application.


  • cuikplotatlas problem_name cost_file xID yID zID


  • problem_name is used to load the .world and .atlas files necessary to generate the .cgl plot.
  • cost_file [Optional] A file with one cost for each one of the charts in the atlas. This is used when we want a colored atlas.
  • xID yID zID are the identifier of the variables on which to project. These are indices of system variables, numbered consecutively and without considering dummy ones (these are the ones stored, for instance, in the solution path files).

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 cuikplotatlas 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 71 of file cuikplotatlas.c.

References ATLAS_EXT, COST_EXT, CreateFileName(), CS_WD_DELETE, CS_WD_GET_SYSTEM_VARS, CS_WD_INIT, DeleteAtlas(), DeleteFileName(), DeleteParameters(), Error(), GetFileFullName(), InitParametersFromFile(), LoadAtlas(), PARAM_EXT, PLOT3D_EXT, and PlotAtlas().