Almost Moore and the largest mixed graphs of diameters two and three
Abstract
Almost Moore mixed graphs appear in the context of the degree/diameter problem as a class of extremal mixed graphs, in the sense that their order is one unit less than the Moore bound for such graphs. The problem of their existence has been considered just for diameter 2. In this paper, we give a complete characterization of these extremal mixed graphs for diameters 2 and 3. We also derive some optimal constructions for other diameters.
Full text
Linear Algebra and its Applications 693 (2024) 374–385 Contents lists available at ScienceDirect Linear Algebra and its Applications journal homepage: www.elsevier.com/locate/laa Almost Moore and the largest mixed graphs of diameters two and three ✩ C. Dalfó a,∗, M.A. Fiol b,c, N. López d aDept. de Matemàtica, Universitat de Lleida, Igualada (Barcelona), Catalonia bDept. de Matemàtiques, Universitat Politècnica de Catalunya, Barcelona, Catalonia cBarcelona Graduate School of Mathematics Institut de Matemàtiques de la UPC-BarcelonaTech (IMTech), Catalonia dDept. de Matemàtica, Universitat de Lleida, Lleida, Spain a r t i c l e i n f o a b s t r a c t Article history: Received 27 November 2022 Received in revised form 7 January 2024 Accepted 9 January 2024 Available online 15 January 2024 Submitted by R. Quinlan MSC: 05C35 05C12 Keywords: Mixed graph Degree/diameter problem Almost Moore graph Distance matrix Spectrum Almost Moore mixed graphs appear in the context of the degree/diameter problem as a class of extremal mixed graphs, in the sense that their order is one unit less than the Moore bound for such graphs. The problem of their existence has been considered just for diameter 2. In this paper, we give a complete characterization of these extremal mixed graphs for diameters 2and 3. We also derive some optimal constructions for other diameters. © 2024 The Author(s). Published by Elsevier Inc. This is an open access article under the CC BY-NC-ND license (http://creativecommons .org /licenses /by -nc -nd /4 .0/). ✩This research has been supported by AGAUR from the Catalan Government under project 2021SGR00434 and MICINN from the Spanish Government under project PID2020-115442RB-I00. The research of M. A. Fiol was also supported by a grant from the Universitat Politècnica de Catalunya with references AGRUPS-2022 and AGRUPS-2023. *Corresponding author. E-mail addresses: [email protected] (C. Dalfó), miguel.angel.fi[email protected] (M.A. Fiol), nacho.lop[email protected] (N. López). https://doi.org/10.1016/j.laa.2024.01.007 0024-3795/© 2024 The Author(s). Published by Elsevier Inc. This is an open access article under the CC BY-NC-ND license (http://creativecommons .org /licenses /by -nc -nd /4 .0/).
C. Dalfó et al. / Linear Algebra and its Applications 693 (2024) 374–385 375 1. Introduction The relationship between vertices or nodes in interconnection networks can be undirected or directed depending on whether the communication between nodes is two-way or only one-way. Mixed graphs arise in this case and in many other practical situations, where both kinds of connections are needed. Urban street networks are perhaps the most popular ones. Therefore, a mixed graph Gmay contain (undirected) edges as well as directed edges (also known as arcs). Mixed graphs whose vertices represent the processing elements and whose edges represent their links have been studied before (see Bosák [2], Dobravec and Robič [9], and Nguyen, Miller, and Gimbert [18]). It is, therefore, natural to consider network topologies based on mixed graphs, and investigate the corresponding degree/diameter problem. •Degree/diameter problem for mixed graphs: Given three natural numbers r, z, and k, find the largest possible number of vertices N(r, z, k)in a mixed graph with maximum undirected degree r, maximum directed out-degree z, and diameter k. We denote by r(u)the undirected degree of vertex uor the number of edges incident to u. Moreover, the out-degree [respectively, in-degree] of u, denoted by z+(u) [respectively, z−(u)], is the number of arcs emanating from [respectively, to] u. If z+(v) =z−(v) =z and r(v) =r, for all u ∈V, then the mixed graph Gis said to be totally regular of degrees (r, z), with r+z=d(or simply (r, z)-regular). A natural upper bound for N(r, z, k), known as a Moore (-like) bound, is obtained by counting the number of vertices of a Moore tree MT(u)rooted at a given vertex u, with depth equal to the diameter k, and assuming that for any vertex v, there exists a unique shortest path of length at most kfrom uto v. The exact value for this number, which is denoted by M(r, z, k), was given by Buset, El Amiri, Erskine, Miller, and Pérez-Rosés [3](see also Dalfó, Fiol, and López [7]for an alternative computation), and it turns out to be the following: M(r, z, k)=Auk+1 1−1 u1−1+Buk+1 2−1 u2−1,(1) where A=√v−(z+r+1) 2√v,B=√v+(z+r+1) 2√v, v=(z+r)2+2(z−r)+1, u1=z+r−1−√v 2,u 2=z+r−1+√v 2. This bound applies when Gis totally regular with degrees (r, z). In this context, we deal with mixed graphs containing at least one edge and one arc. Mixed graphs of
376 C. Dalfó et al. / Linear Algebra and its Applications 693 (2024) 374–385 Fig. 1. The Bosák mixed graph, a Moore mixed graph with undirected degree 3, directed degree 1, diameter 2, and 18 vertices. diameter k, maximum undirected degree rat least 1, maximum out-degree zat least 1, and order given by (1)are called Moore mixed graphs. Note that we use the terminology ‘Moore mixed graphs’ and not ‘mixed Moore graphs’, similarly as we say Moore digraph and not directed Moore graph. In the case of diameter 2, such extremal mixed graphs are totally regular of degree d =r+z, and they have the property that for any ordered pair (u, v)of vertices, there is a unique walk of length at most 2 between them. Although some such Moore mixed graphs of diameter two are known to exist, and they are unique (see Nguyen, Miller, and Gimbert [18]), the general problem remains unsettled. Again for diameter 2, Bosák [2]gave a necessary condition for the existence of a Moore mixed graph, but recently it was proved that there is no Moore mixed graph for the (r, z)pairs (3, 3), (3, 4), and (7, 2) satisfying such necessary condition (see López, Miret, and Fernández [17]). In general, there are infinitely many pairs (r, z) satisfying Bosák necessary condition for which the existence of a Moore mixed graph is not known yet. For diameter k≥3, it was proved that Moore mixed graphs do not exist, see Nguyen, Miller, and Gimbert [18]. See the case of bipartite mixed graph by the authors in [8]. Because Moore mixed graphs are quite rare see an example of one in Fig. 1) another line of research focuses on the existence of mixed graphs with prescribed degree and diameter and order just one unit less than the Moore bound. These mixed graphs are known as almost Moore mixed graphs. They have been extensively studied for the undirected case (Erdős, Fajtlowitcz, and Hoffman [11]) and for the directed case (Gimbert [14]). Every almost Moore mixed graph Gof diameter khas the property that, for each vertex v∈V(G), there exists only one vertex, denoted by σ(v)and called the repeat of v, such that there are exactly two walks of length at most kfrom vto σ(v). If σ(v) =v, then vis called a selfrepeat vertex. The structure of this paper is as follows. The following subsection gives the known results of almost Moore mixed graphs of diameter 2. Since Moore mixed graphs do not exist for diameter k≥3, in Section 2, we study the existence of almost Moore mixed
C. Dalfó et al. / Linear Algebra and its Applications 693 (2024) 374–385 377 Table 1 The first even values for the undirected degree r>2and their corresponding values for parameters c1, c2, and zaccording to Theorem 1.1. rc 1c2zn Existence 4-31,4,7,10,... 26,68,128,206,... Unknown 65-1,3,6,8,... 50,84,150,204,... Unknown 8-5- - Non-existent 10 - - - - Non-existent 12 7 - 5,7,12,14,... 294,368,588,690,... Unknown 14 - 7 - - Non-existent 16 - - - - Non-existent 18 - - - - Non-existent 20 9 - 2,4,11,13,... 486,580,972,1102,... Unknown 22 - 9 - - Non-existent graphs of diameter 3, that is, with one vertex less than the corresponding Moore bound. In Subsection 2.1, we provide the structure of the particular case of (1, 1, 3)-almost Moore mixed graphs. Finally, in Section 3, we propose constructing an infinite family of large mixed graphs based on the line digraph technique. 1.1. Almost Moore mixed graphs of diameter 2 Before introducing the subject, we recall the known results on almost Moore mixed graphs of diameter 2before beginning with the new ones for other diameters. In the case of diameter 2, the map σ, which assigns to each vertex v∈V(G)its repeat σ(v), is an automorphism of Gas in the case of digraphs of any diameter (see Baskoro, Miller, and Plesník [1]). From the matrix approach, the automorphism σcan be represented as a permutation matrix P(pij =1if and only if σ(i) =jassuming V(G) ={1, ..., n}). As a consequence, the adjacency matrix Aof an (r, z, 2)-almost Moore mixed graph Gsatisfies the following matrix equation in terms of the matrix P: I+A+A2=J+rI+P,(2) where Iand Jdenote the identity and the all-ones matrix, respectively. A necessary condition for the existence of such graphs can be derived from Eq. (2)using spectral graph theory (see López and Miret [16]). Theorem 1.1 ([16]). Let Gbe a (totally regular) almost Moore mixed graph of diameter two, undirected (even) degree r>2, and directed degree z≥1. Then, one of the following conditions must hold: (a)There exists an odd integer c1∈Zsuch that c2 1=4r+1and c1| (4z+ 1)(4z−7). (b)There exists an odd integer c2∈Zsuch that c2 2=4r−7and c2| (16z2+40z−23). For instance, the possible existence of almost Moore mixed graphs of diameter k=2 is as in Table 1for r∈{4, 6, ..., 22}.
378 C. Dalfó et al. / Linear Algebra and its Applications 693 (2024) 374–385 Fig. 2. (a)The only almost Moore mixed graph of diameter 2known until now. (b)A mixed graph of order 10 and diameter 2 satisfying Eq. (2)that is not totally regular. Besides these conditions, only one almost Moore mixed graph of diameter 2is known until now: the one with parameters (r, z, k) =(2, 1, 2) (see Fig. 2(a)). In this particular graph, the repeat of vertex aiis ai−2since there are two different paths of length ≤2join- ing them (aiai−1ai−2and aici−1ai−2). Besides, σ(ci) =ci−2since cici−2and ciai−1ci−2 are again two different paths of length ≤2, where all operations are considered modulo 5. Hence, the permutation σdecomposes in two disjoint cycles of length five, that is, σ=(a0a3a1a4a2)(c0c3c1c4c2). So, the permutation cycle structure (m1, ..., m10)of this graph is m5=2and mi=0, for all i =5. For more information on its existence, see López and Miret [16]; and on its unicity, see Buset, López, and Miret [4]). Moreover, answering an open question of the two last authors [16], Tuite and Erskine [19] proved that (r, z, 2)- and (1, 1, k)-almost Moore mixed graphs are totally regular (that is, all vertices have undirected degree rand out- and in-degree z). We would like to point out that there are many mixed graphs whose adjacency matrix satisfy equation (2), but they are not totally regular in the following sense: A digon must always be considered as an edge. Otherwise, the mixed graph depicted in Fig. 2(b) would be a (2, 1, 2)-almost Moore mixed graph since vertices a0and c0would have the correct degrees (instead of undirected degree 3and directed degree 0, the value that they actually have). From the matrix point of view, the permutation σof this graph decomposes in σ=(a0)(c0)(a1c4a4c1)(a2c3a3c2). 2. Almost Moore mixed graphs of diameter 3 Since Moore mixed graphs do not exist for diameter k≥3, one could ask for the existence of almost Moore mixed graphs. In [7], Dalfó, Fiol, and López proved the following result. Theorem 2.1 ([7]). The order Nof an (r, z)-regular mixed graph Gwith diameter k≥3 satisfies the bound
C. Dalfó et al. / Linear Algebra and its Applications 693 (2024) 374–385 379 Fig. 3. The unique three non-isomorphic almost Moore mixed graphs with diameter k=3and directed degree z=1. N≤M(r, z, k)−r, (3) where M(r, z, k)is given by (1). This means that almost Moore mixed graphs of diameter k≥3may only exist for r=1(by definition) and an even N(because the edges constitute a perfect matching). In fact, they showed that there exist exactly three almost Moore mixed graphs in the case k=3and z=1(see Fig. 3). The graph (a)depicted in Fig. 3has m2=5and mi=0for any i =2, since σ=(0 1)(2 3)(4 5)(6 7)(8 9); note that, in this case, the cycles correspond to the edges. Besides, the graph (b)has m2=3and m4= 1 (the remaining values of miare zero) since σ=(0 1)(2 3)(4 6 7 5)(8 9). Finally, the graph (c)has m2=1and m4=2since σ=(2 3)(4 6 7 5)(8 0 1 9). Theorem 2.2. Let Abe the adjacency matrix of an almost Moore mixed graph Gof diameter 3. Let A=R+Z, where Rand Zare the adjacency matrices of the subgraphs of Ginduced by the edges and arcs of G, respectively. (a)There exists a permutation matrix Psuch that Asatisfies A2+A3=J+Z+P.(4) (b)The mapping σrepresented by Pis not an automorphism of G. (c)If P=R, then Gis the Cayley graph of the dihedral group with generators rand s, and presentation D5=r, s | r5=s2=(rs)2=1. Proof. (a)Let Gbe an almost (r, z)-Moore mixed graph of diameter 3and order M(r, z, 3) −1. According to Theorem 2.1, rmust be 1, and so Ris a permutation matrix. Now, we show that the adjacency matrix Aof Gsatisfies the matrix equation I+A+A2+A3=J+I+A+Z+P.
380 C. Dalfó et al. / Linear Algebra and its Applications 693 (2024) 374–385 (i) Indeed, each entry in I+A+A2+A3is at least 1 due to the uniqueness of the shortest walks in G(up to distance 3). This implies the Jon the right side of the matrix equation. (ii)The fact that each vertex is incident to one edge gives exactly one closed walk (performed by edges) of length 2at any vertex. This corresponds to Ion the right side of the equation. (iii)Let ube the unique vertex adjacent from a fixed vertex vby an edge. Then, uis reached from valso through the walk v−u −v−uof length 3 (corresponding to the matrix R). (iv)Let {u1, u2, ..., uz}be the set of vertices adjacent from vby an arc. Every uiis reached from vthrough the walks v−u −v−uiof length 3 (corresponding to the matrix Z). (v)Let u ibe the (unique) vertex adjacent from uiby an edge, for all 1 ≤i ≤z. Every uiis reached from vthrough the walks v−ui−u i−uiof length 3, (corresponding again to the matrix Z). (vi) Finally, every extra walk of length at most 3from vto σ(v)is codified in the matrix P. Note that from (iii), (iv), and (v), A3counts (besides the unique shortest walks to vertices of distance 3) one extra walk to vertices at distance 1 (those counted in R+Z= A) plus one extra walk to vertices at distance 1pointed by an arc (those counted in Z). Altogether, we get the equation I+A+A2+A3=J+I+R+2Z+P. That is, A2+A3=J+Z+P.(5) Under the above hypothesis on R, an alternative way to obtain (5)is to use that R=I if is even, and R=Rif is odd. Let Aibe the i-distance matrix of G, where (Ai)uv =1if the distance from vertex uto vis i, and (Ai)uv = 0 otherwise. Then, from A0=I, A1=A, A2=(R+Z)2=I+RZ +ZR +Z2=I+A2⇒ A2=A2−I,and A3=(R+Z)3=R+Z+RZR +RZ2+Z+ZRZ +Z2R+Z3 =A3+R+2Z=A3+A+Z⇒ A3=A3−A−Z, we get 3 i=0 Ai=A3+A2−Z=J+P, as claimed. (b)Moreover, Pis an automorphism of Gif and only if Pcommutes with A. Then, in this case, Z=A3+A2−J−Pcommutes with Asince the regularity of Gimplies that Jis a polynomial in A(see Hoffman and McAndrew [15]). Hence, Zalso commutes with R=A−Z. But the equality ZR =RZ would imply that between two vertices,
C. Dalfó et al. / Linear Algebra and its Applications 693 (2024) 374–385 381 say uand v, there is more than one shortest path of length two, one shortest path would be given by the product ZR (an arc followed by an edge) and the other one by RZ (an edge followed by an arc). Thus, vertex uwould have more than one repeat, against the hypothesis. (c)If P=R(that is, the permutation σis involutive, and every vertex vand its repeat σ(v)are joined by an edge), we have that P+Z=A, and Eq. (5) becomes −A+A2+A3=J.(6) Note that our assumption that P=Ris consistent with the fact that, according to Eq. (5), Z+Pcommutes with A. Since the spectrum of Jhas eigenvalues n(= M(1, z, 3) −1 =(1 +z)3+(1 +z)2−(1 +z)) with multiplicity 1, and 0 with multiplicity n −1, Ahas eigenvalues 1 +zwith multiplicity 1 and the zeros of the polynomial −x +x2+x3, that is, 0, α=√5−1 2and α=−√5−1 2. As a consequence, the characteristic polynomial of Gis φG(x)=(x−(1 + z))xa(x−α)b(x−α)c, where the eigenvalue multiplicites a, b, and care positive integers such that tr A0= 1 +a +b +c =n. Moreover, tr A1=1 +z+bα +cα =0(Ghas no loops) implies that 2(1 +z) =(b +c) +(c −b)√5. Since b, c, zmust be positive integers, we have that b −c = 0 and, therefore, b =c =z+1. Finally, as said in (ii), since there is one closed walk of length 2for any vertex in G, and Gdoes not contain selfrepeat vertices, we have that tr A2=(1 +z)2+bα2+cα2=n. Altogether, we get the equalities b =1 3(z(z+1)(z+2)) =z+1, with the only feasible solution is z=1. Hence, Ghas degree parameters r=z=1. In [7], the authors proved that, in this case, there exist only three almost Moore mixed graphs (namely, the ones depicted in Fig. 3). Just the graph of the case (a)satisfies σ2=id, which is precisely the Cayley graph of the dihedral group D5=r, s | r5=s2=(rs)2=1, with generators rand s. Notice that, as a consequence of Theorem 2.2(b), P=I, so we get the following consequence. Corollary 2.1. There is no (1, z, 3)-almost Moore mixed graph Gwith every vertex a selfrepeat. 2.1. The structure of the (1, 1, 3)-almost Moore mixed graphs Now let us take a close look at the structure of the only three (1, 1, 3)-almost Moore mixed graphs (see again Fig. 4). First, let us recall the known properties of these mixed graphs (a), (b), and (c), from now on called H(1), H(2), and H(3), respectively (see Dalfó, Fiol, and López [7]). Apart from being a Cayley digraph, H(1) is the line digraph of the cycle C5(seen as a digraph, so that each edge corresponds to a digon, that is, two
382 C. Dalfó et al. / Linear Algebra and its Applications 693 (2024) 374–385 opposite arcs). The mixed graphs H(2) and H(3) can be obtained from H(1) by applying a recent method to obtain cospectral digraphs from a locally line digraph (see Dalfó and Fiol [6]). These mixed graphs can also be obtained as a proper orientation of the pentagonal prism graph or the so-called Yutsis graph of the 15j symbol of the second kind (see Yutsis, Levinson, and Vanagas [20]). Finally, each of the three mixed graphs is isomorphic to its converse (where the directions of the arcs are reversed), and they are cospectral (see Lemma 2.1). To describe the new properties and according to the notation of the last theorem and in Fig. 4, let A(i)=R(i)+Z(i)be the adjacency matrix of H(i)for i =1, 2, 3. As mentioned above, let P(i)be the corresponding permutation matrices representing the permutation σ(i)(of the repeats of H(i)). Since r=z=1, the matrices R(i)and Z(i)also are permutation matrices corresponding to the permutations, say, ρ(i)and ω(i) respectively. More precisely, σ(1) = (01)(23)(45)(67)(89),ρ (1) =σ(1),ω (1) = (02468)(19753), σ(2) = (01)(23)(4675)(89),ρ (2) = (01)(23)(57)(46)(89),ω (2) = (0245319768), σ(3) = (23)(4675)(8019),ρ (3) = (08)(23)(57)(46)(19),ω (3) = (024531)(6897). From this, it is routine to check the following lemma describing the new properties. Lemma 2.1. Let P(i), R(i), and Z(i)the matrices corresponding to the above permutations σ(i), ρ(i), and ω(i), respectively. Let A(4) =R(1) +Z(2), A(5) =R(2) +Z(3), A(6) =P(1) +Z(2), and A(7) =P(2) +Z(3), which correspond to adjacency matrices of the mixed graphs with parallel arcs H(4), H(5), H(6), H(7), respectively (see Fig. 4). Then, (a)(R(i))2=I, and A(i)A(j)=A(j)A(i)for all i, j∈{1, 2, 3}. (b)A(1) =P(i)+Z(i)for all i ∈{1, 2, 3}. (c)A(i)=R(i)+Z(i)=(P(i))+Z(1) for all i ∈{1, 2, 3}. (d)All the mixed graphs H(i)are cospectral, with spectrum sp (A(i))=2(1),0(5),−1±√5 2(2) for i =1, ..., 7. (In fact, H(4), H(6) and H(7) are isomorphic.) Note that, from (b), P(i)=R(1) +Z(1) −Z(i). Moreover, from (c), R(i)=(R(1))+ (Z(1))−(Z(i))+Z(1) −Z(i). Then, using (a)and reordering the terms, we get R(i)+[Z(i)+(Z(i))]=R(1) +[Z(1) +(Z(1))] for all i∈{1,2,3}. Both sides of this equation correspond to the adjacency matrix of the underlying graph of H(i), that is, the pentagonal prism graph for i ∈{1, 2, 3}, as commented in the beginning of this subsection.