Path<'e> Type
Represents a computed path through a graph along with its total weight.
Type Parameters
'e: The edge weight type
Fields
Nodes: List of NodeIds from source to target (inclusive)TotalWeight: Sum of edge weights along the path
Example
1: 2: |
|
val path: 'a
Record fields
| Record Field |
Description
|
Ordered list of node IDs from source to target (inclusive).
|
|
Full Usage:
TotalWeight
Field type: 'e
|
Total weight/cost of traversing this path.
|