This class defines a an Abstract class for a GPM constructor. More...
#include <GPMConstructorAbstractStrategy.h>
  
 Public Member Functions | |
| GPMConstructorAbstractStrategy () | |
| Default constructor.  More... | |
| virtual | ~GPMConstructorAbstractStrategy () | 
| Virtual destructor.  More... | |
Protected Attributes | |
| te::da::DataSource * | m_ds | 
| Data Source pointer.  More... | |
| int | m_edgeId | 
| Attribute used as a index counter for edge objects.  More... | |
| GeneralizedProximityMatrix * | m_gpm | 
| GPM Pointer.  More... | |
| GPMConstructorStrategyType | m_type | 
| Constructor Type.  More... | |
Methods | |
| 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... | |
| virtual void | constructStrategy ()=0 | 
| Build the edges using specific strategy.  More... | |
This class defines a an Abstract class for a GPM constructor.
Definition at line 59 of file GPMConstructorAbstractStrategy.h.
| te::sa::GPMConstructorAbstractStrategy::GPMConstructorAbstractStrategy | ( | ) | 
Default constructor.
      
  | 
  virtual | 
Virtual destructor.
| void te::sa::GPMConstructorAbstractStrategy::construct | ( | te::da::DataSource * | ds, | 
| GeneralizedProximityMatrix * | gpm | ||
| ) | 
      
  | 
  protectedpure virtual | 
Build the edges using specific strategy.
Implemented in te::sa::GPMConstructorAdjacencyStrategy, te::sa::GPMConstructorDistanceStrategy, and te::sa::GPMConstructorNearestNeighborStrategy.
      
  | 
  protected | 
Added to the edge a new attribute for distance information.
      
  | 
  protected | 
Function used to create all vertex object based on data set.
| GPMConstructorStrategyType te::sa::GPMConstructorAbstractStrategy::getConstructorType | ( | ) | 
      
  | 
  protected | 
Function used to generated the edge id.
      
  | 
  protected | 
Data Source pointer.
Definition at line 103 of file GPMConstructorAbstractStrategy.h.
      
  | 
  protected | 
Attribute used as a index counter for edge objects.
Definition at line 101 of file GPMConstructorAbstractStrategy.h.
      
  | 
  protected | 
GPM Pointer.
Definition at line 105 of file GPMConstructorAbstractStrategy.h.
      
  | 
  protected | 
Constructor Type.
Definition at line 99 of file GPMConstructorAbstractStrategy.h.