9 #ifndef P3D_GRAPH_CONVERTER_HPP
10 #define P3D_GRAPH_CONVERTER_HPP
12 #include "API/Roadmap/graph.hpp"
24 graph*
convert(
const Graph& g,
bool deleteGraphStruct =
true )
const;
31 p3d_list_node* copyNodeList(std::map<p3d_node*,p3d_node*>& NodeMap, p3d_list_node* ln, p3d_list_node* end = NULL)
const;
32 p3d_list_edge* copyEdgeList(std::map<p3d_edge*,p3d_edge*>& EdgeMap, p3d_list_edge* le, p3d_list_edge* end = NULL)
const;
34 p3d_list_edge* createEdgeList(std::map<Edge*,p3d_edge*>& EdgeMap,
const std::vector<Edge*>& edges, p3d_list_edge* end = NULL)
const;
35 p3d_list_node* createNodeList(std::map<Node*,p3d_node*>& NodeMap,
const std::vector<Node*>& nodes, p3d_list_node* end = NULL)
const;
graph * exportGraphStruct(const Graph &g) const
Fonction exports a copy of the p3d_graph contained in the Graph class suposing that it is valid regar...
Definition: graphConverter.cpp:76
Definition: graphConverter.hpp:18
graph * convert(const Graph &g, bool deleteGraphStruct=true) const
Updates the list of connected components from the p3d_graph structure.
Definition: graphConverter.cpp:393