Go to the documentation of this file.
26 #ifndef __TERRALIB_SA_INTERNAL_GPMCONSTRUCTORABSTRACTSTRATEGY_H
27 #define __TERRALIB_SA_INTERNAL_GPMCONSTRUCTORABSTRACTSTRATEGY_H
30 #include "../Config.h"
49 class GeneralizedProximityMatrix;
111 #endif //__TERRALIB_SA_INTERNAL_GPMCONSTRUCTORABSTRACTSTRATEGY_H
GPMConstructorStrategyType m_type
Constructor Type.
GPMConstructorAbstractStrategy()
Default constructor.
virtual void constructStrategy()=0
Build the edges using specific strategy.
GPMConstructorStrategyType
Strategies to construc a GPM.
te::da::DataSource * m_ds
Data Source pointer.
int m_edgeId
Attribute used as a index counter for edge objects.
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class defines a an Abstract class for a GPM constructor.
This class defines a Generalized Proximity Matrix.
virtual ~GPMConstructorAbstractStrategy()
Virtual destructor.
GeneralizedProximityMatrix * m_gpm
GPM Pointer.
void construct(te::da::DataSource *ds, GeneralizedProximityMatrix *gpm)
void createVertexObjects()
Function used to create all vertex object based on data set.
An abstract class for data providers like a DBMS, Web Services or a regular file.
GPMConstructorStrategyType getConstructorType()
int getEdgeId()
Function used to generated the edge id.
void createDistanceAttribute(GeneralizedProximityMatrix *gpm)
Added to the edge a new attribute for distance information.