29 #include "../../common/STLUtils.h"
30 #include "../core/Edge.h"
31 #include "../core/Vertex.h"
bool isDirty()
Used to check the graph data state.
void setDirty(bool status)
Flag used to define the graph data state.
int getId()
Get data identifier.
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...
std::map< int, Vertex * > VertexMap
typedef for vertex map
GraphData(int id)
Default constructor.
void setVertexMap(const VertexMap &map)
Used to set a map of vertex elements.
~GraphData()
Default destructor.
This class define a important struct used to group a map of vertex and edges. A flag is used to indic...
std::map< int, Edge * > EdgeMap
typedef for edge map
void setEdgeMap(const EdgeMap &map)
Used to set a map of edge elements.
EdgeMap & getEdgeMap()
It returns the the edge map.
VertexMap & getVertexMap()
It returns the the vertex map.