27 #ifndef __TERRALIB_GRAPH_INTERNAL_DIRECTEDGRAPH_H
28 #define __TERRALIB_GRAPH_INTERNAL_DIRECTEDGRAPH_H
31 #include "../Config.h"
42 class AbstractCachePolicy;
43 class AbstractGraphLoaderStrategy;
This is the main graph implementation, that uses a cache policy anda graph loader to get all elements...
This class is used to set the main functions of a cache policy.
This class define the main functions necessary to save and load the graph data and metadata informati...
This is a implementation of a Directed Graph. By convention a directed graph provides access to out-e...
virtual std::vector< te::graph::Edge * > getOutEdges(int vId)
It returns all edges that came out a vertex.
virtual std::vector< te::graph::Vertex * > getVertexNeighborhood(int id)
The neighborhood of a vertex v is an induced subgraph of the graph, formed by all vertices adjacent t...
DirectedGraph(GraphMetadata *metadata)
Constructor.
virtual void add(Edge *e)
Add a new edge element to a graph.
~DirectedGraph()
Virtual destructor.
virtual bool isSinkVertex(int id, bool &flag)
This function indicates if a desired element is a sink vertex.
DirectedGraph()
constructor.
DirectedGraph(AbstractCachePolicy *cp, AbstractGraphLoaderStrategy *ls)
Constructor.
virtual void removeEdge(int id)
This function removes the edge element from graph, also was removed in data source.
Class used to define the edge struct of a graph. Its compose with a identifier, the vertex origin and...
This is the main graph implementation, that uses a cache policy anda graph loader to get all elements...
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.