te::sa::GPMConstructorAdjacencyStrategy Class Reference

This class defines a an adjacency strategy class for a GPM constructor. More...

#include <GPMConstructorAdjacencyStrategy.h>

Inheritance diagram for te::sa::GPMConstructorAdjacencyStrategy:
te::sa::GPMConstructorAbstractStrategy

Public Member Functions

 GPMConstructorAdjacencyStrategy ()
 Default constructor. More...
 
 GPMConstructorAdjacencyStrategy (bool calcDistance)
 Specific constructor. More...
 
virtual ~GPMConstructorAdjacencyStrategy ()
 Virtual destructor. More...
 
Methods

Methods used by the GPM constructor

virtual void constructStrategy ()
 Build the edges using specific strategy. More...
 

Protected Attributes

bool m_calcDistance
 
te::da::DataSourcem_ds
 Data Source pointer. More...
 
int m_edgeId
 Attribute used as a index counter for edge objects. More...
 
GeneralizedProximityMatrixm_gpm
 GPM Pointer. More...
 
GPMConstructorStrategyType m_type
 Constructor Type. More...
 

Methods

Methods used by the GPM constructor

GPMConstructorStrategyType getConstructorType ()
 
void construct (te::da::DataSource *ds, GeneralizedProximityMatrix *gpm)
 
void createVertexObjects ()
 Function used to create all vertex object based on data set. More...
 
void createDistanceAttribute (GeneralizedProximityMatrix *gpm)
 Added to the edge a new attribute for distance information. More...
 
int getEdgeId ()
 Function used to generated the edge id. More...
 

Detailed Description

This class defines a an adjacency strategy class for a GPM constructor.

See also
GPMBuilder

Definition at line 49 of file GPMConstructorAdjacencyStrategy.h.

Constructor & Destructor Documentation

te::sa::GPMConstructorAdjacencyStrategy::GPMConstructorAdjacencyStrategy ( )
te::sa::GPMConstructorAdjacencyStrategy::GPMConstructorAdjacencyStrategy ( bool  calcDistance)
te::sa::GPMConstructorAdjacencyStrategy::~GPMConstructorAdjacencyStrategy ( )
virtualdefault

Virtual destructor.

Referenced by GPMConstructorAdjacencyStrategy().

Member Function Documentation

void te::sa::GPMConstructorAbstractStrategy::createDistanceAttribute ( GeneralizedProximityMatrix gpm)
protectedinherited
te::sa::GPMConstructorStrategyType te::sa::GPMConstructorAbstractStrategy::getConstructorType ( )
inherited
int te::sa::GPMConstructorAbstractStrategy::getEdgeId ( )
protectedinherited

Member Data Documentation

bool te::sa::GPMConstructorAdjacencyStrategy::m_calcDistance
protected
int te::sa::GPMConstructorAbstractStrategy::m_edgeId
protectedinherited

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