A path from path[0] to path[-1]: edges[i] (with data
costs[i]) joins path[i] and path[i + 1].
Attributes#
| Attribute | Type | Description |
|---|---|---|
path | tuple[int, ...] | |
edges | tuple[int, ...] | |
distance | float | |
costs | tuple[E_co, ...] |
Functions#
__init__#
__init__(path, edges, distance, costs) -> None| Parameter | Type | Description |
|---|---|---|
path | tuple[int, ...] | |
edges | tuple[int, ...] | |
distance | float | |
costs | tuple[E_co, ...] |