26 #ifndef __TERRALIB_SA_INTERNAL_GPMCONSTRUCTORABSTRACTSTRATEGY_H
27 #define __TERRALIB_SA_INTERNAL_GPMCONSTRUCTORABSTRACTSTRATEGY_H
30 #include "../Config.h"
49 class GeneralizedProximityMatrix;
An abstract class for data providers like a DBMS, Web Services or a regular file.
This class defines a an Abstract class for a GPM constructor.
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.
GPMConstructorStrategyType
Strategies to construc a GPM.
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.