Hyper Wiener Index Calculator

quadratic distance extension

CalculatorsFreeNo Signup
4.9(518 reviews)
All Tools

Loading tool...

About Hyper Wiener Index Calculator

A hyper-Wiener index calculator computing WW(G) = ½·Σ_{i<j} [d(i,j) + d(i,j)²]. Randić (1993). Quadratic extension of Wiener: WW = ½(W + Σd²). More discriminating than W. WW separates graphs that W cannot. Client-side.

Hyper Wiener Index Calculator Features

  • WW(G)
  • ½(W+Σd²)
  • Quadratic
  • Randić '93
  • Common graphs
Hyper-Wiener WW(G) = ½·Σ[d(i,j) + d(i,j)²]. Randić (1993). Adds quadratic term to Wiener: pairs at large distance contribute disproportionately. WW = ½(W + W₂) where W₂ = Σd². More discriminating than W alone.

How to Use

Select graph:

  • WW: Hyper-Wiener
  • W+W₂: Components
  • vs W: Compare

Discrimination Power

WW separates more graph pairs than W. The quadratic term amplifies large distances: if two graphs have same W but different distance distributions, WW will differ. Better for distinguishing similar structures.

Bounds

WW(K_n) = n(n-1)/2 (all d=1, d²=1). WW(P_n) = n(n-1)(n+1)(n+2)/24. WW ≥ W always. WW/W = (1+avg_d)/2 approximately.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2Compute d(i,j) for all pairs.
  3. 3Sum d + d² per pair.
  4. 4Divide by 2.
  5. 5Compare with W.

Hyper Wiener Index Calculator — Frequently Asked Questions

Why add d²?+

d² penalizes large distances quadratically. Distance 5: d=5, d²=25. Distance 1: d=1, d²=1. The quadratic term makes WW much more sensitive to 'far apart' pairs than W.

WW vs W: when does it matter?+

For isomers with same W: WW often differs. For alkane isomers: WW resolves cases where W gives identical values. The extra d² dimension adds discrimination power.

Computation?+

Same as Wiener: compute all-pairs shortest paths O(nm), then sum d+d². Negligible extra cost. WW is as easy to compute as W.

Share this tool: