cuiksimplify.c File Reference

Detailed Description


A utility to simplify problems. It takes a set of equations and try to reduce the number of variables (removing variables with constant range,....).
The application produces an output _simp.cuik file with name with the simplified equations.
This utility is for minly for debug purposes since the simplification functionality is fully included in cuikplan and cuik.

See Also
cuiksystem.h cuiksystem.c

Definition in file cuiksimplify.c.


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

Function Documentation

int main ( int  argc,
char **  arg 

Main body of the cuiksimplify application.


  • cuiksimplify problem_name.cuik


  • problem_name contains the kinematic equations.

The .cuik extension is optional.

argcNumber of elements in the command line that starts the application (i.e., the cuiksimplify 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 72 of file cuiksimplify.c.

References ChangeParameter(), CreateFileName(), CT_DUMMIFY, CUIK_EXT, DeleteCuikSystem(), DeleteFileName(), DeleteParameters(), Error(), GetFileFullName(), InitCuikSystemFromFile(), InitParametersFromFile(), LinkFileNameWithExtension(), PARAM_EXT, and PrintCuikSystemWithSimplification().