Skip to main content
Log in

Graph similarity and distance in graphs

  • Published:
aequationes mathematicae Aims and scope Submit manuscript

Summary.

For connected graphs G 1 and G 2 of order n and a one-to-one mapping \( \phi : V (G_1) \to V (G_2) \), the \( \phi \)-distance between G 1 and G 2 is ¶¶ $ d_ \phi (G_1, G_2) = \sum \bigl| d_{G_1} (u,v) - d_{G_2} (\phi u, \phi v)\bigr|, $¶¶ where the sum is taken over all \( {n \choose 2} \) unordered pairs u,v of vertices of G 1. The distance between G 1 and G 2 is defined by \( d (G_1, G_2) = \min \{ d_\phi(G_1, G_2)\} \), where the minimum is taken over all one-to-one mappings \( \phi \) from V (G 1) to V (G 2). It is shown that this distance is a metric on the space of connected graphs of a fixed order. The maximum distance \( D (G_1, G_2) = \max \{ d_\phi(G_1, G_2)\} \) for connected graphs G 1 and G 2 of the same order is also explored. The total distance of a connected graph G is \( \Sigma d(u,v) \), where the sum is taken over all unordered pairs u, v of vertices of G. Bounds for d (G 1, G 2) are presented both in terms of the total distances of G 1 and G 2 and also in terms of the sizes of G 1, G 2, and a greatest common subgraph of G 1 and G 2. For a set \( \cal {S} \) of connected graphs having fixed order, the distance graph \( \cal {D} (\cal {S}) \) of \( \cal {S} \) is that graph whose vertex set is \( \cal {S} \) and such that two vertices G 1 and G 2 of \( \cal {D}( \cal {S}) \) are adjacent if and only if d (G 1, G 2) = 1. Furthermore, a graph G is a distance graph if there exists a set \( \cal {S} \) of graphs having fixed order such that \( \cal {D} (\cal {S}) \cong G \). It is shown that every distance graph is bipartite and, moreover, that all even cycles and all forests are distance graphs. Other bipartite graphs are shown to be distance graphs and it is conjectured that all bipartite graphs are distance graphs.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received: July 31, 1995; revised version: June 18, 1997

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chartrand, G., Kubicki, G. & Schultz, M. Graph similarity and distance in graphs. Aequ. Math. 55, 129–145 (1998). https://doi.org/10.1007/s000100050025

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s000100050025

Keywords

Navigation