|
WSF
|
#include <XWsfRoadTraffic.hpp>

Public Member Functions | |
| WeightedRouteSegment ()=default | |
| WeightedRouteSegment (WsfRoute *aRoutePtr, const WsfWaypoint &aNode1, const WsfWaypoint &aNode2) | |
| bool | operator== (double aWeight) const |
| Equal if the provided weight is enclosed by this segment's boundary weights. | |
| bool | operator< (const WeightedRouteSegment &aSegment) const |
Public Attributes | |
| WsfRoute * | mRoutePtr = nullptr |
| WsfWaypoint | mNode1 |
| WsfWaypoint | mNode2 |
| double | mNode1Weight = 0.0 |
| double | mNode2Weight = 0.0 |
| double | mSegmentWeight = 0.0 |
| double | mCumulativeWeight = 0.0 |
WeightedRouteSegment represents the concept of a weighted edge in a graph. It includes the two endpoints and their respective weights as well as the edge's weight. The NetworkInput class includes a list of WeightedRouteSegments that define the network graph.
|
default |
Referenced by operator<().
|
inline |
|
inline |
References mSegmentWeight, and WeightedRouteSegment().
|
inline |
Equal if the provided weight is enclosed by this segment's boundary weights.
References mCumulativeWeight, and mSegmentWeight.
| double XWsfRoadTraffic::WeightedRouteSegment::mCumulativeWeight = 0.0 |
Referenced by operator==().
| WsfWaypoint XWsfRoadTraffic::WeightedRouteSegment::mNode1 |
Referenced by WeightedRouteSegment().
| double XWsfRoadTraffic::WeightedRouteSegment::mNode1Weight = 0.0 |
| WsfWaypoint XWsfRoadTraffic::WeightedRouteSegment::mNode2 |
Referenced by WeightedRouteSegment().
| double XWsfRoadTraffic::WeightedRouteSegment::mNode2Weight = 0.0 |
| WsfRoute* XWsfRoadTraffic::WeightedRouteSegment::mRoutePtr = nullptr |
Referenced by WeightedRouteSegment().
| double XWsfRoadTraffic::WeightedRouteSegment::mSegmentWeight = 0.0 |
Referenced by operator<(), and operator==().