On the distance and algorithms of strong product digraphs

Haoran Yin, Li FengarXiv 2019 · DOI

Abstract

The strong product is an efficient method for constructing large directed graphs (digraphs) from smaller, specific factor digraphs. These large structures retain many beneficial properties of their components, making them ideal for modeling interconnection networks. In network theory, distance is a fundamental structural parameter used to measure transmission delay and overall communication performance. While the diameter represents the worst-case delay, the average distance provides a more accurate measure of typical performance. This paper investigates the distance and average distance of strong product digraphs, establishing a definitive distance formula and a polynomial-time algorithm for calculating average distance.

Introduction

In the design of high-performance interconnection networks, such as those found in supercomputers and data centers, topological structure is often represented as a digraph. To optimize these networks, researchers must understand the "distance" between nodes, which directly correlates to data transmission latency.

Calculating the average distance for massive networks is often computationally prohibitive. However, many large networks are constructed using the "strong product" method, where small factor graphs are multiplied to create a structured, larger whole. This paper addresses the challenge of determining distance properties in these product graphs without requiring a brute-force analysis of the entire massive structure.

The Distance Identity in Strong Products

The core contribution of this research is the establishment of a fundamental distance identity for strong product digraphs. The authors prove that the distance between any two vertices in a strong product graph is determined by the maximum distance between their corresponding vertices in the factor graphs.

Theorem: The "Max" Property

For a strong product digraph $G = G_1 \boxtimes G_2$, the distance between two vertices $x = (x_1, x_2)$ and $y = (y_1, y_2)$ is given by: $$d_{G_1 \boxtimes G_2}(x, y) = \max\{d_{G_1}(x_1, y_1), d_{G_2}(x_2, y_2)\}$$

This property arises from the unique definition of a strong product. In such a graph, an edge exists if there is a transition in the first factor, the second factor, or both simultaneously. This "simultaneous movement" allows a path to progress through both factor graphs at once. Consequently, the total path length is not the sum of the component distances, but rather the length of the "slower" or longer path among the factors. The authors successfully generalize this formula for an arbitrary number of factor graphs ($n$ digraphs), showing that the distance remains the maximum value among all factor distances.

Algorithmic Calculation of Average Distance

While the point-to-point distance formula is straightforward, calculating the average distance ($\mu$)—the arithmetic mean of all non-zero distances—across a massive product graph remains a challenge. The authors propose a multi-step polynomial-time algorithm to solve this efficiently:

  1. Factor Analysis: The algorithm begins by applying the Floyd-Warshall algorithm to the small factor graphs ($G_1, G_2, \dots, G_n$) to find all-pairs shortest paths within those components.
  2. Aggregation: Using the proven "max" formula, the algorithm aggregates these distances. By operating on the distance sets of the smaller factors rather than the adjacency matrix of the large product graph, the method avoids the exponential complexity typically associated with large-scale network analysis.
  3. Normalization: Finally, the algorithm sums the calculated distances and divides by the total number of vertex pairs to determine the average distance of the entire product digraph.

Discussion and Future Work

This research provides a rigorous mathematical foundation for understanding the communication efficiency of strong product networks. By reducing the problem of distance calculation in a large graph to the analysis of its smaller components, the authors offer a significant computational advantage for network engineers.

However, some limitations remain. The current study focuses on finite, simple digraphs and does not yet account for weighted edges or multigraphs, which are common in real-world traffic modeling. Furthermore, while the algorithm is efficient, a closed-form algebraic formula for average distance remains elusive. Future research may build upon this distance formula to investigate other critical structural characteristics, such as the Wiener index, network radius, and Hamiltonicity.

Summary updated

Abstract

Strong product is an efficient way to construct a larger digraph through some specific small digraphs. The large digraph constructed by the strong product method contains the factor digraphs as its subgraphs, and can retain some good properties of the factor digraphs. The distance of digraphs is one of the most basic structural parameters in graph theory, and it plays an important role in analyzing the effectiveness of interconnection networks. In particular, it provides a basis for measuring the transmission delay of networks. When the topological structure of an interconnection network is represented by a digraph, the average distance of the directed graph is a good measure of the communication performance of the network. In this paper, we mainly investigate the distance and average distance of strong product digraphs, and give a formula for the distance of strong product digraphs and an algorithm for solving the average distance of strong product digraphs.
BibTeX
@misc{yin2019distance,
  author = {Haoran Yin and Li Feng},
  title = {{On the distance and algorithms of strong product digraphs}},
  year = {2019},
  eprint = {1901.06456},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.06456},
}
Figure