WeightedPath

data class WeightedPath<A>(val nodes: List<A>, val totalWeight: Double)(source)

Result of a weighted shortest-path query on a NetworkProjection. nodes lists the path including both endpoints (single-element list for a self-path); totalWeight is the sum of edge weights along the path.

Constructors

Link copied to clipboard
constructor(nodes: List<A>, totalWeight: Double)

Properties

Link copied to clipboard
val nodes: List<A>
Link copied to clipboard