26#ifndef __TERRALIB_SA_INTERNAL_GPMCONSTRUCTORABSTRACTSTRATEGY_H
27#define __TERRALIB_SA_INTERNAL_GPMCONSTRUCTORABSTRACTSTRATEGY_H
A dataset is the unit of information manipulated by the data access module of TerraLib.
An abstract class for data providers like a DBMS, Web Services or a regular file.
te::da::DataSource * m_ds
Data Source pointer.
int getEdgeId()
Function used to generated the edge id.
GPMConstructorAbstractStrategy()
Default constructor.
virtual void constructStrategy()=0
Build the edges using specific strategy.
GeneralizedProximityMatrix * m_gpm
GPM Pointer.
int m_edgeId
Attribute used as a index counter for edge objects.
void createVertexObjects()
Function used to create all vertex object based on data set.
GPMConstructorStrategyType m_type
Constructor Type.
GPMConstructorStrategyType getConstructorType()
virtual ~GPMConstructorAbstractStrategy()
Virtual destructor.
void createDistanceAttribute(GeneralizedProximityMatrix *gpm)
Added to the edge a new attribute for distance information.
void construct(te::da::DataSource *ds, GeneralizedProximityMatrix *gpm)
This class defines a Generalized Proximity Matrix.
Namespace for the DataAccess API of TerraLib.
Namespace for the TerraLib SA module.
GPMConstructorStrategyType
Strategies to construc a GPM.
Enumerations related to Spatial Analysis module.
Configuration flags for the Terrralib Spatial Analysis module.
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.