Mostar Index Calculator

bridge asymmetry measure

CalculatorsFreeNo Signup
4.8(293 reviews)
All Tools

Loading tool...

About Mostar Index Calculator

A Mostar index calculator computing Mo(G) = Σ_{e=(u,v)} |n_u(e) - n_v(e)|. Došlić et al. (2018). Named after the Old Bridge of Mostar. Measures how asymmetrically each edge partitions the graph. Mo = 0 iff distance-balanced. Client-side.

Mostar Index Calculator Features

  • Mo(G)
  • |nᵤ-nᵥ|
  • Balanced?
  • Došlić '18
  • Common graphs
Mostar index Mo(G) = Σ |nᵤ(e)-nᵥ(e)| over edges. Named after the Stari Most (Old Bridge) in Mostar, Bosnia — symbolizing how each edge 'bridges' two sides. Mo = 0 iff graph is distance-balanced: every edge divides vertices equally.

How to Use

Select graph:

  • Mo: Mostar index
  • |n-n|: Per edge
  • =0?: Distance-balanced

The Bridge Metaphor

Each edge is a 'bridge' between two communities. nᵤ = people on u's side. nᵥ = people on v's side. |nᵤ-nᵥ| = population imbalance. Total Mostar = total imbalance across all bridges.

Distance-Balanced

Mo = 0 ⟺ distance-balanced: for every edge (u,v), exactly half the vertices are closer to u, half to v. Examples: K_n, C_{2k}, hypercubes Q_k, Petersen graph.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2For each edge: |nᵤ-nᵥ|.
  3. 3Sum over edges.
  4. 4Check if Mo=0.
  5. 5Rank asymmetry.

Mostar Index Calculator — Frequently Asked Questions

Why 'Mostar'?+

The Stari Most (Old Bridge) in Mostar, Bosnia divides the city in two. It symbolizes how each graph edge can be seen as a bridge dividing vertices into two groups. A beautiful mathematical metaphor.

Mo vs PI index?+

They compute the same thing! PI (Khadikar 2001) = Σ|nᵢ-nⱼ| = Mo (Došlić 2018). Same formula, different names and perspectives. PI emphasizes chemistry; Mo emphasizes geometry.

What graphs have Mo = 0?+

Distance-balanced graphs: K_n, C_{2k}, Q_k, Petersen, vertex-transitive graphs. These have perfect symmetry — every edge sees equal numbers on both sides. Rare and beautiful property.

Share this tool: