26 #ifndef __TERRALIB_SA_INTERNAL_GPMBUILDER_H
27 #define __TERRALIB_SA_INTERNAL_GPMBUILDER_H
30 #include "../Config.h"
39 namespace da {
class DataSource; }
44 class GPMConstructorAbstractStrategy;
45 class GPMWeightsAbstractStrategy;
103 std::unique_ptr<GeneralizedProximityMatrix>
m_gpm;
This class defines the GPM class.
This class defines the GPM Builder class.
te::da::DataSourcePtr m_ds
Input Data Source.
GPMConstructorAbstractStrategy * m_constructor
Strategy used to construct the gpm.
std::unique_ptr< GeneralizedProximityMatrix > m_gpm
GPM reference pointer.
virtual ~GPMBuilder()
Virtual destructor.
GPMWeightsAbstractStrategy * m_weights
Strategy used to calculate the weight of a gpm.
GeneralizedProximityMatrix * getGPM()
Function used to return the generated gpm.
GPMBuilder(GPMConstructorAbstractStrategy *constructor, GPMWeightsAbstractStrategy *weights)
Default constructor.
bool setGPMInfo(te::da::DataSourcePtr ds, const std::string &dataSetName, const std::string &attributeName)
Function used to create an empty gpm (using a MEMORY DIRECT graph)
This class defines a an Abstract class for a GPM constructor.
This class defines a an Abstract class to calculates a weight for a GPM.
This class defines a Generalized Proximity Matrix.
boost::shared_ptr< DataSource > DataSourcePtr
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.