Documentation

FormalConjecturesForMathlib.Combinatorics.SimpleGraph.WienerIndex

noncomputable def SimpleGraph.wienerIndex {α : Type u_1} [Fintype α] (G : SimpleGraph α) :

The Wiener index of G, which is the sum of distances between all pairs of vertices.

Equations
Instances For

    Computable Wiener index: half the sum of all ordered pairwise distances.

    Equations
    Instances For