te::sa::GeneralizedProximityMatrix Class Reference

This class defines a Generalized Proximity Matrix. More...

#include <GeneralizedProximityMatrix.h>

Public Member Functions

 GeneralizedProximityMatrix ()
 Default constructor. More...
 
virtual ~GeneralizedProximityMatrix ()
 Virtual destructor. More...
 

Private Attributes

std::string m_attributeName
 Attribute used to identify the attr from dataset associated to this gmp. More...
 
std::string m_dataSetName
 Attribute used to identify the dataset associated to this gpm. More...
 
std::auto_ptr< te::graph::AbstractGraphm_graph
 Graph that represents the gpm. More...
 

Methods

Methods used by the GPM

void setDataSetName (const std::string &dataSetName)
 
std::string getDataSetName ()
 
void setAttributeName (const std::string &attrName)
 
std::string getAttributeName ()
 
void setGraph (te::graph::AbstractGraph *graph)
 
te::graph::AbstractGraphgetGraph ()
 
void toDataSource (te::da::DataSourcePtr ds, std::string dataSetName)
 Function used to export the all vertex attributes from gpm graph to a datasource. More...
 
std::auto_ptr< te::da::DataSetTypecreateDataSetType (std::string dataSetName)
 
std::auto_ptr< te::mem::DataSetcreateDataSet (te::da::DataSetType *dsType)
 
std::map< int, std::string > getGPMPropertyMap ()
 

Detailed Description

This class defines a Generalized Proximity Matrix.

See also
GPMBuilder

Definition at line 56 of file GeneralizedProximityMatrix.h.

Constructor & Destructor Documentation

te::sa::GeneralizedProximityMatrix::GeneralizedProximityMatrix ( )

Default constructor.

virtual te::sa::GeneralizedProximityMatrix::~GeneralizedProximityMatrix ( )
virtual

Virtual destructor.

Member Function Documentation

std::auto_ptr<te::mem::DataSet> te::sa::GeneralizedProximityMatrix::createDataSet ( te::da::DataSetType dsType)
protected
std::auto_ptr<te::da::DataSetType> te::sa::GeneralizedProximityMatrix::createDataSetType ( std::string  dataSetName)
protected
std::string te::sa::GeneralizedProximityMatrix::getAttributeName ( )
std::string te::sa::GeneralizedProximityMatrix::getDataSetName ( )
std::map<int, std::string> te::sa::GeneralizedProximityMatrix::getGPMPropertyMap ( )
protected
te::graph::AbstractGraph* te::sa::GeneralizedProximityMatrix::getGraph ( )
void te::sa::GeneralizedProximityMatrix::setAttributeName ( const std::string &  attrName)
void te::sa::GeneralizedProximityMatrix::setDataSetName ( const std::string &  dataSetName)
void te::sa::GeneralizedProximityMatrix::setGraph ( te::graph::AbstractGraph graph)
void te::sa::GeneralizedProximityMatrix::toDataSource ( te::da::DataSourcePtr  ds,
std::string  dataSetName 
)

Function used to export the all vertex attributes from gpm graph to a datasource.

Parameters
dsPointer to the output datasource
dataSetNameThe name of the new dataset that will be created into the datasource

Member Data Documentation

std::string te::sa::GeneralizedProximityMatrix::m_attributeName
private

Attribute used to identify the attr from dataset associated to this gmp.

Definition at line 106 of file GeneralizedProximityMatrix.h.

std::string te::sa::GeneralizedProximityMatrix::m_dataSetName
private

Attribute used to identify the dataset associated to this gpm.

Definition at line 105 of file GeneralizedProximityMatrix.h.

std::auto_ptr<te::graph::AbstractGraph> te::sa::GeneralizedProximityMatrix::m_graph
private

Graph that represents the gpm.

Definition at line 108 of file GeneralizedProximityMatrix.h.


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