This class defines a an distance strategy class for a GPM constructor. More...
#include <GPMConstructorDistanceStrategy.h>
Public Member Functions | |
| GPMConstructorDistanceStrategy () | |
| Default constructor. More... | |
| GPMConstructorDistanceStrategy (double distance) | |
| Specific constructor. More... | |
| virtual | ~GPMConstructorDistanceStrategy () |
| Virtual destructor. More... | |
Methods | |
Methods used by the GPM constructor | |
| virtual void | constructStrategy () |
| Build the edges using specific strategy. More... | |
Protected Attributes | |
| double | m_distance |
| 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... | |
This class defines a an distance strategy class for a GPM constructor.
Definition at line 49 of file GPMConstructorDistanceStrategy.h.
| te::sa::GPMConstructorDistanceStrategy::GPMConstructorDistanceStrategy | ( | ) |
Default constructor.
| te::sa::GPMConstructorDistanceStrategy::GPMConstructorDistanceStrategy | ( | double | distance | ) |
Specific constructor.
|
virtual |
Virtual destructor.
|
inherited |
|
virtual |
Build the edges using specific strategy.
Implements te::sa::GPMConstructorAbstractStrategy.
|
protectedinherited |
Added to the edge a new attribute for distance information.
|
protectedinherited |
Function used to create all vertex object based on data set.
|
inherited |
|
protectedinherited |
Function used to generated the edge id.
|
protected |
Definition at line 74 of file GPMConstructorDistanceStrategy.h.
|
protectedinherited |
Data Source pointer.
Definition at line 103 of file GPMConstructorAbstractStrategy.h.
|
protectedinherited |
Attribute used as a index counter for edge objects.
Definition at line 101 of file GPMConstructorAbstractStrategy.h.
|
protectedinherited |
GPM Pointer.
Definition at line 105 of file GPMConstructorAbstractStrategy.h.
|
protectedinherited |
Constructor Type.
Definition at line 99 of file GPMConstructorAbstractStrategy.h.