cuikrrtcosts.c File Reference

Detailed Description


Extracts the nodes in a RRT in the form of a file of solutions.

See Also
cuikatlasrrt.c cuikcbirrt.c cuiktrrt.c cuikccrrt.c cuikcctrrt.c cuikatlasrrtstar.c cuikbiotrrt.c

Definition in file cuikrrtcosts.c.


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

Function Documentation

int main ( int  argc,
char **  arg 

Main body of the cuikrrtcosts application.


  • cuikrrtcosts [dummies]


  • problem_name is used to load .rrt file from where to extract the nodes.
  • [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 cuikrrtcosts 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 65 of file cuikrrtcosts.c.

References CreateFileName(), CS_WD_DELETE, CS_WD_EXT, CS_WD_INIT, DeleteFileName(), DeleteParameters(), DeleteRRT(), GetFileFullName(), InitParametersFromFile(), LoadRRT(), PARAM_EXT, RRT_EXT, and SaveRRTCosts().