27 #ifndef __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPH_H 28 #define __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPH_H 31 #include "../Config.h" 38 namespace dt {
class Property; }
80 virtual void add(
Vertex* v) = 0;
91 virtual void update(
Vertex* v) = 0;
100 virtual void removeVertex(
int id) = 0;
127 virtual void removeVertexProperty(
int idx) = 0;
145 virtual int getVertexPropertySize() = 0;
163 virtual void add(
Edge* e) = 0;
174 virtual void update(
Edge* e) = 0;
183 virtual void removeEdge(
int id) = 0;
210 virtual void removeEdgeProperty(
int idx) = 0;
228 virtual int getEdgePropertySize() = 0;
247 virtual void flush() = 0;
253 #endif // __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPH_H It models a property definition.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
From the point of view of graph theory, vertices are treated as featureless and indivisible objects...
Class used to define the edge struct of a graph. Its compose with a identifier, the vertex origin and...
Abstract class used to define the main functions of graph struct. All graph implementations must used...
static te::dt::TimeDuration dt(20, 30, 50, 11)