30 #ifndef __TERRALIB_GRAPH_INTERNAL_GPMGRAPHBUILDER_H
31 #define __TERRALIB_GRAPH_INTERNAL_GPMGRAPHBUILDER_H
34 #include "../Config.h"
50 namespace dt {
class Property; }
52 namespace gm {
class GeometryProperty; }
95 bool setGraphInfo(
const std::map<std::string, std::string>& dsInfo,
const std::string& graphType,
const std::map<std::string, std::string>& gInfo);
108 bool buildAdjacency(std::auto_ptr<te::da::DataSource> ds, std::string dataSetName, std::string columnId,
bool calcDist);
121 bool buildDistance(std::auto_ptr<te::da::DataSource> ds, std::string dataSetName, std::string columnId,
double dist);
133 void createVertexObjects(
te::da::DataSet* dataSet, std::string columnId,
int srid);
143 void createAdjacencyEdges(
te::da::DataSet* dataSet, std::string columnId,
bool calcDist);
153 void createDistanceEdges(
te::da::DataSet* dataSet, std::string columnId,
double distance);
174 #endif // __TERRALIB_GRAPH_INTERNAL_RAGGRAPHBUILDER_H
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class defines the GPM strategy to build a graph,.
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
A dataset is the unit of information manipulated by the data access module of TerraLib.
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
int m_edgeId
Attribute used as a index counter for edge objects.