This class defines a an Abstract class to calculates a weight for a GPM.
More...
#include <GPMWeightsAbstractStrategy.h>
This class defines a an Abstract class to calculates a weight for a GPM.
- See also
- GPMBuilder
Definition at line 58 of file GPMWeightsAbstractStrategy.h.
◆ GPMWeightsAbstractStrategy()
te::sa::GPMWeightsAbstractStrategy::GPMWeightsAbstractStrategy |
( |
| ) |
|
◆ ~GPMWeightsAbstractStrategy()
virtual te::sa::GPMWeightsAbstractStrategy::~GPMWeightsAbstractStrategy |
( |
| ) |
|
|
virtual |
◆ calculate()
◆ createWeightAttribute()
Added to the edge a new attribute for weight information and return the attr index.
◆ getDistanceAttributeIndex()
Function used to get the distance attribute index.
◆ getDistanceAttributeValue()
double te::sa::GPMWeightsAbstractStrategy::getDistanceAttributeValue |
( |
te::graph::Edge * |
e, |
|
|
const int |
index |
|
) |
| |
|
protected |
Function used to get the distance value from a edge element.
◆ getWeightsType()
◆ m_gpm
◆ m_type
The documentation for this class was generated from the following file: