te::sa::GPMBuilder Class Reference

This class defines the GPM Builder class. More...

#include <GPMBuilder.h>

Public Member Functions

 GPMBuilder (GPMConstructorAbstractStrategy *constructor, GPMWeightsAbstractStrategy *weights)
 Default constructor. More...
 
virtual ~GPMBuilder ()
 Virtual destructor. More...
 
Methods

Methods used by the GPM builder

bool setGPMInfo (te::da::DataSourcePtr ds, const std::string &dataSetName, const std::string &attributeName)
 Function used to create a empty gpm (using a MEMORY DIRECT graph) More...
 
std::auto_ptr< GeneralizedProximityMatrixbuild ()
 

Private Attributes

GPMConstructorAbstractStrategym_constructor
 Strategy used to construct the gpm. More...
 
te::da::DataSourcePtr m_ds
 Input Data Source. More...
 
std::auto_ptr< GeneralizedProximityMatrixm_gpm
 GPM reference pointer. More...
 
GPMWeightsAbstractStrategym_weights
 Strategy used to calculate the weight of a gpm. More...
 

Detailed Description

This class defines the GPM Builder class.

Definition at line 54 of file GPMBuilder.h.

Constructor & Destructor Documentation

te::sa::GPMBuilder::GPMBuilder ( GPMConstructorAbstractStrategy constructor,
GPMWeightsAbstractStrategy weights 
)

Default constructor.

virtual te::sa::GPMBuilder::~GPMBuilder ( )
virtual

Virtual destructor.

Member Function Documentation

std::auto_ptr<GeneralizedProximityMatrix> te::sa::GPMBuilder::build ( )
bool te::sa::GPMBuilder::setGPMInfo ( te::da::DataSourcePtr  ds,
const std::string &  dataSetName,
const std::string &  attributeName 
)

Function used to create a empty gpm (using a MEMORY DIRECT graph)

Parameters
dsData source pointer
dataSetNameContainer with data source information
attributeNameAttribute used to define the output graph type
Returns
True if the gmp was correctly generated and false in other case.

Member Data Documentation

GPMConstructorAbstractStrategy* te::sa::GPMBuilder::m_constructor
private

Strategy used to construct the gpm.

Definition at line 88 of file GPMBuilder.h.

te::da::DataSourcePtr te::sa::GPMBuilder::m_ds
private

Input Data Source.

Definition at line 94 of file GPMBuilder.h.

std::auto_ptr<GeneralizedProximityMatrix> te::sa::GPMBuilder::m_gpm
private

GPM reference pointer.

Definition at line 92 of file GPMBuilder.h.

GPMWeightsAbstractStrategy* te::sa::GPMBuilder::m_weights
private

Strategy used to calculate the weight of a gpm.

Definition at line 90 of file GPMBuilder.h.


The documentation for this class was generated from the following file: