![]() |
VR-Forces 4.8 Class Documentation
|
Metric for network segments. More...

Public Member Functions | |
| DtNetworkEdgeMetric () | |
| Default constructor. More... | |
| virtual | ~DtNetworkEdgeMetric () |
| Destructor. More... | |
| DtNetworkEdgeMetric (const DtNetworkEdgeMetric &orig) | |
| Copy constructor. More... | |
| DtNetworkEdgeMetric & | operator= (const DtNetworkEdgeMetric &orig) |
| Assignment operator. More... | |
| virtual double | measure (const DtNetworkEdge &edge) const =0 |
| Measures the edge based on the metric's characteristics. More... | |
| virtual bool | valid (const DtNetworkEdge &edge) const =0 |
| Validates the edge. More... | |
| virtual bool | validSW (double xx, double yy) const =0 |
| Validates the southwest quadrant (closed on southwest side) More... | |
| virtual bool | validSE (double xx, double yy) const =0 |
| Validates the southeast quadrant (closed on southwest side) More... | |
| virtual bool | validNE (double xx, double yy) const =0 |
| Validates the northeast quadrant (closed on southwest side) More... | |
| virtual bool | validNW (double xx, double yy) const =0 |
| Validates the northwest quadrant (closed on southwest side) More... | |
| virtual double | heuristic (const DtPoint &source, const DtPoint &dest) const =0 |
| A heuristic measure for two points. More... | |
Public Member Functions inherited from DtMetric | |
| DtMetric () | |
| Default constructor. More... | |
| virtual | ~DtMetric () |
| Destructor. More... | |
| DtMetric (const DtMetric &orig) | |
| Copy constructor. More... | |
| DtMetric & | operator= (const DtMetric &orig) |
| Assignment operator. More... | |
| virtual bool | validSpecification (const DtSpecification &spec) const |
| Validates the specification against the conditions set in the addEqualCondition, addDiferentCondition, addLessThanCondition and addGreaterThanCondition functions. More... | |
| virtual void | addEqualCondition (const DtSpecificationAttribute &attrib) |
| Adds an equality condition. More... | |
| virtual void | addDifferentCondition (const DtSpecificationAttribute &attrib) |
| Add a different condition. More... | |
| virtual void | addLessThanCondition (const DtSpecificationAttribute &attrib) |
| Add less-than condition. More... | |
| virtual void | addGreaterThanCondition (const DtSpecificationAttribute &attrib) |
| Add greater-than condition. More... | |
| virtual void | setEqualList (DtSimpleList *list) |
| Sets the list of conditions for equality. More... | |
| virtual void | setDiffList (DtSimpleList *list) |
| Sets the list of conditions for difference. More... | |
| virtual void | setLessThanList (DtSimpleList *list) |
| Sets the list of conditions for less-than. More... | |
| virtual void | setGreaterThanList (DtSimpleList *list) |
| Sets the list of conditions for greater-than. More... | |
| virtual void | initialize (Coordinate_System *cs) |
| Initialize the metric. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DtMetric | |
| virtual void | emptyLists () |
| Empties the condition lists and frees memory. More... | |
| virtual void | copyLists (const DtMetric &orig) |
| Copy lists. More... | |
Protected Attributes inherited from DtMetric | |
| bool | myOwnEqualList |
| bool | myOwnDiffList |
| bool | myOwnLessThanList |
| bool | myOwnGreaterThanList |
| DtSimpleList * | myEqualAttributes |
| DtSimpleList * | myDifferentAttributes |
| DtSimpleList * | myGreaterThanAttributes |
| DtSimpleList * | myLessThanAttributes |
| DtCoordTransform | myLocalToTopo |
| bool | myMetricInitialized |
Metric for network segments.
| DtNetworkEdgeMetric::DtNetworkEdgeMetric | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtNetworkEdgeMetric::DtNetworkEdgeMetric | ( | const DtNetworkEdgeMetric & | orig | ) |
Copy constructor.
| DtNetworkEdgeMetric& DtNetworkEdgeMetric::operator= | ( | const DtNetworkEdgeMetric & | orig | ) |
Assignment operator.
|
pure virtual |
Measures the edge based on the metric's characteristics.
Implemented in DtDistanceNetworkEdgeMetric.
|
pure virtual |
Validates the edge.
Implemented in DtDistanceNetworkEdgeMetric.
Validates the southwest quadrant (closed on southwest side)
Implemented in DtDistanceNetworkEdgeMetric.
Validates the southeast quadrant (closed on southwest side)
Implemented in DtDistanceNetworkEdgeMetric.
Validates the northeast quadrant (closed on southwest side)
Implemented in DtDistanceNetworkEdgeMetric.
Validates the northwest quadrant (closed on southwest side)
Implemented in DtDistanceNetworkEdgeMetric.
|
pure virtual |
A heuristic measure for two points.
Implemented in DtDistanceNetworkEdgeMetric.