next up previous contents index
Next: Reading/writing an environment Up: Motion planning Previous: Optimizing a trajectory

Deleting a graph

A graph can be entierly deleted with the function int p3d_del_graph(p3d_graph *G)  , that liberates all the nodes, connected components and edges, and the graph, but the user can also decide to delete only one node at the time withe the function void p3d_del_node(p3d_node *N, p3d_graph *G)  . This function deletes the node N and updates the structure of the graph G.



Nicola Simeon
Fri Oct 27 09:07:38 MET DST 2000