SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
ProfileRouter::Edge Struct Reference

A single directed weighted edge in the routing graph. More...

#include <profilerouter.h>

Collaboration diagram for ProfileRouter::Edge:

Public Attributes

int fromNode = -1
 
int toNode = -1
 
double weight = 0.0
 
int linkId = -1
 

Detailed Description

A single directed weighted edge in the routing graph.

linkId is an opaque stable identifier (typically the SWMM link index) that the caller maps back to the source-of-truth model after routing completes. The router itself never interprets it.

Member Data Documentation

◆ fromNode

int ProfileRouter::Edge::fromNode = -1

◆ linkId

int ProfileRouter::Edge::linkId = -1

◆ toNode

int ProfileRouter::Edge::toNode = -1

◆ weight

double ProfileRouter::Edge::weight = 0.0

The documentation for this struct was generated from the following file: