cuikrrtnodes.c File Reference

Detailed Description

dot_inline_dotgraph_30.png

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 cuikrrtnodes.c.

Functions

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

Function Documentation

int main ( int  argc,
char **  arg 
)

Main body of the cuikrrtnodes application.

Use:

  • cuikrrtnodes problem_name.world [dummies]

where

  • 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).

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

Definition at line 65 of file cuikrrtnodes.c.

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