Efficient Direct Reconstruction of Bipartite (Multi)Graphs from Their Line Graphs Through a Characterization of Their Edges
Abstract
1. Introduction
- (i)
- G is an UNO graph.
- (ii)
- G is a line graph of a bipartite graph.
- (iii)
- G is a two-dimensional gridline graph.
- (iv)
- G contains no induced claw, diamond, or odd hole.
- (v)
- G is diamond-free, and the graph of the maximal cliques of G is bipartite.
2. Preliminaries and Notation
3. Characterizations
- (i)
- G is a line graph of a bipartite multigraph;
- (ii)
- is bipartite.
- (i)
- G is a line graph of a bipartite multigraph with edge multiplicity at most k;
- (ii)
- G is a k-UNO graph;
- (iii)
- G is claw-free, any two maximal cliques of G share at most k vertices, and is bipartite;
- (iv)
- Any two maximal cliques of G share at most k vertices, and is bipartite.
- (i)
- e lies in precisely two maximal cliques of G, or e lies in one maximal clique but one of its endvertices lies in precisely two;
- (ii)
- if e lies in two maximal cliques then its endvertices share the same set of neighbors.
- (i)
- If any two endpoints of any unconstrained edge differ in a property then f is an assignment with the smallest ;
- (ii)
- If any two endpoints of any unconstrained edge are assigned equal properties then f is an assignment with the largest ;
- (iii)
- If then there exists a multiset of cards C and an UNO assignment , such that .
4. Algorithms
- (p.i)
- A is a set of numbers, B a set of colors, and is a set of cards. Let and be extended sets of values, with ε indicating that a property is unassigned.
- (p.ii)
- We can say that assigns properties from A and B to vertices and edges of G.
- (p.iii)
- We can say that counts the occurrences of numbers from A, colors from B, and cards from C in the assignment p restricted to vertices of G.
- (p.iv)
- We can say that indicates the state of a vertex in the partial assignment p, which is either untouched , enqueued , or finalized .
- (p.v)
- Q is the queue used to process the vertices.
- (v.i)
- Whenever two vertices share an assigned property, they are adjacent;
- (v.ii)
- Whenever a property is assigned to an edge, it is also assigned to both its endpoints;
- (v.iii)
- Any vertex that is p-assigned a property is either enqueued or finalized;
- (v.iv)
- Any finalized vertex is p-assigned both a number and a color , and the card is in C;
- (v.v)
- For any finalized vertex v, any edge incident to v and any vertex adjacent to v is assigned a property;
- (v.vi)
- For any property , there are vertices p-assigned the property x;
- (v.vii)
- Any finalized vertex assigned a card is for each property adjacent to vertices assigned the property x;
- (v.viii)
- A vertex v is enqueued if and only if .
- (c.i)
- Each vertex is assigned both a color and a number;
- (c.ii)
- Whenever two adjacent vertices share a property, the edge between them shares that property as well;
- (c.iii)
- Any vertex is finalized .
- (e.i)
- , , ;
- (e.ii)
- , whenever , then matches in any assigned property of ;
- (e.iii)
- , , i.e., does not change vertex-assignments of properties already assigned by ;
- (e.iv)
- , , i.e., the status of any vertex does not decrease.
- 1.
- If no induced path of length 2 exists, the graph is a clique.
- 1.1
- Proceed as sketched in the proof of Theorem 5 (a.iii) for cliques.
- 2.
- Suppose an induced path of length two is found.
- 2.1
- Assign a number to v, x, and the neighbors of v adjacent to x. This fixes the property defining the clique shared by v and x. Enqueue all these neighbors of v.
- 2.2
- Assign a color to v, y, and all their common neighbors. This fixes the property of the other clique containing v. Enqueue all these neighbors of v as well.
- 3.
- While there is an enqueued vertex v, pop it from the queue.
- 3.1
- Assign to it the other property, as well as to all its neighbors that have this property not yet assigned, and enqueue them as discussed in Theorem 5 (a.iii). This yields the next partial UNO assignment in the sequence claimed to exist by Theorem 5.
- 3.2
- If the assignment process encounters a violation of the desired structural properties, then (as established in the proof) the input graph was not a k-UNO graph.
- (a.i)
- For any graph G, the assignment that assigns ε to each property of any vertex and edge is a valid UNO assignment. We call it the empty UNO assignment.
- (a.ii)
- A valid completed assignment of G exists if and only if G is a k-UNO graph for some integer k.
- (a.iii)
- There exists a sequence of valid partial UNO assignments starting with the empty UNO assignment of G and concluding with a valid completed UNO assignment of G, such that each element of the sequence is an extension of the previous element if and only if G is a k-UNO graph for some integer k.
- (a.iv)
- Given a function indicating whether the endvertices of G share the common set of neighbors, the sequence from item (a.iii) can be constructed or its existence disproved in time .
- (a.v)
- The function α from item (a.iv) can be found in time , where is the maximum degree of G.
- (a.vi)
- By setting , the algorithm from (a.iv) constructs the sequence from item (a.iii) if and only if G is a 1-UNO graph. Its running time is still .
- (a)
- assign any property shared by and to ;
- (b)
- ascertain if has at least one of the two properties equal as ;
- (c)
- count the neighbors of v assigned t, , and both.
- (i)
- augment p, A, B, C to assign as the value of for v;
- (ii)
- count whether u has been assigned t, , or both;
- (iii)
- if u is not assigned t as the value of r, augment p and C and q to assign to u as well as to the edge ;
- (iv)
- also assign if u is assigned t but shares all the neighbors with v;
- (v)
- enqueue u if it has just been assigned its first property;
- (vi)
- verify that each neighbor that has assigned different from has the property r equal to t;
- (vii)
- if has been assigned, verify that the count of neighbors assigned t, , and both equals the respective values of q;
- (viii)
- if has been newly chosen, verify that the count of neighbors assigned t is equal to and assign and for c the card with properties equal to ;
- (ix)
- finalize the vertex v.
5. Conclusions and Open Problems
- (i)
- Given a graph G, can the function that identifies vertices with the same set of neighbors be constructed in time ?
- (ii)
- Given a graph G, can we decide in time whether a vertex failing through violating (b) or (vi) in the proof of Theorem 5 (a.iii) is failing due to a forced edge or due to a different structural violation of the graph G?
- (iii)
- Given a graph G, can we recognize for all edges whether each edge is either fixed or unconstrained in time ?
- (iv)
- Can we recognize either all-fixed or all-unconstrained edges in time ?
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Demaine, E.D.; Demaine, M.L.; Harvey, N.J.A.; Uehara, R.; Uno, T.; Uno, Y. UNO is hard, even for a single player. Theor. Comput. Sci. 2014, 521, 51–61. [Google Scholar] [CrossRef]
- Peterson, D. Gridline graphs: A review in two dimensions and an extension to higher dimensions. Discrete Appl. Math. 2003, 126, 223–239. [Google Scholar] [CrossRef]
- Dey, P.; Goyal, P.; Misra, N. UNO gets easier for a single player. In Proceedings of the 7th International Conference, FUN 2014, Lipari Island, Sicily, Italy, 1–3 July 2014; pp. 147–157. [Google Scholar]
- Lampis, M.; Makino, K.; Mitsou, V.; Uno, Y. Parameterized edge hamiltonicity. Discrete Appl. Math. 2018, 248, 68–78. [Google Scholar] [CrossRef]
- Hedetniemi, S.T. Graphs of (0,1)-matrices. In Recent Trends in Graph Theory; Lecture Notes in Mathematics; Capobianco, M., Frechen, J.B., Krolik, M., Eds.; Springer: Berlin/Heidelberg, Germany, 1971; Volume 186, pp. 157–171. [Google Scholar]
- Cook, C.R.; Acharya, B.D.; Mishra, V. Adjacency graphs. Congr. Numer. 1974, 10, 317–331. [Google Scholar]
- Gurvich, V.A.; Temkin, M.A. Checked perfect graphs. Sov. Math. Dokl. 1992, 326, 227–232, English translation in Dokl. Math.1993, 46, 248–253. [Google Scholar]
- Hemminger, R.L.; Beineke, L.W. Line graphs and line digraphs. In Selected Topics in Graph Theory; Beineke, L.W., Wilson, R.J., Eds.; Academic Press: Cambridge, MA, USA, 1978; pp. 271–305. [Google Scholar]
- Staton, W.; Wingard, G.C. On line graphs of bipartite graphs. Util. Math. 1998, 53, 183–187. [Google Scholar]
- Roussopoulos, N.D. A max{m,n} algorithm for determining the graph H from its line graph G. Inf. Process. Lett. 1973, 2, 108–112. [Google Scholar] [CrossRef]
- König, D. Über Graphen und ihre Anwendungen auf Determinantentheorie und Mengenlehre. Math. Ann. 1916, 77, 453–465. (In German) [Google Scholar] [CrossRef]
- Maffray, F. Kernels in perfect line-graphs. J. Combin. Theory Ser. B 1992, 55, 1–8. [Google Scholar] [CrossRef]
- Tucker, A. Coloring perfect (K4∖e)-free graphs. J. Combin. Theory Ser. B 1987, 42, 313–318. [Google Scholar] [CrossRef][Green Version]
- Pecher, A.; Wagler, A.K. Clique and chromatic number of circular-perfect graphs. Electron. Notes Discrete Math. 2010, 36, 199–206. [Google Scholar] [CrossRef]
- Grötschel, M.; Lovász, L.; Schrijver, A. Polynomial algorithms for perfect graphs. Ann. Discrete Math. 1984, 21, 325–356. [Google Scholar]
- Kloks, T. K1,3-free and W4-free graphs. Inf. Process. Lett. 1996, 60, 221–223. [Google Scholar] [CrossRef]
- Galvin, F. The list chromatic index of a bipartite multigraph. J. Combin. Theory Ser. B 1995, 63, 153–158. [Google Scholar] [CrossRef]
- Roberts, F.S. Applied Combinatorics; Prentice-Hall: Englewood Cliffs, NJ, USA, 1984. [Google Scholar]
- Dinu, R.; Navarra, F. On the rook polynomial of grid polyominoes. arXiv 2023, arXiv:2309.01818. [Google Scholar] [CrossRef]
- AbuJabal, N.; Rabie, T.; Baziyad, M.; Kamel, I.; Almazrouei, K. Path planning techniques for real-time multi-robot systems: A systematic review. Electronics 2024, 13, 2239. [Google Scholar] [CrossRef]
- Diestel, R. Graph Theory, 4th ed.; Graduate Texts in Mathematics; Springer: Berlin/Heidelberg, Germany, 2010; Volume 173. [Google Scholar]
- Maffray, F.; Reed, B.A. A description of claw-free perfect graphs. J. Combin. Theory Ser. B 1999, 75, 134–156. [Google Scholar] [CrossRef]
- Chudnovsky, M.; Robertson, N.; Seymour, P.; Thomas, R. The strong perfect graph theorem. Ann. Math. 2006, 164, 51–229. [Google Scholar] [CrossRef]
- Lovász, L. Normal hypergraphs and the perfect graph conjecture. Discrete Math. 1972, 2, 253–267. [Google Scholar] [CrossRef]
- Even, S.; Tarjan, R.E. Network flow and testing graph connectivity. SIAM J. Comput. 1975, 4, 507–518. [Google Scholar] [CrossRef]
- de Ridder, H.N. Information System on Graph Classes and Their Inclusions (ISGCI), 2001–2025, Updated 9 July 2025. Available online: https://www.graphclasses.org/classes/gc_251.html (accessed on 10 July 2025).


Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Bokal, D.; Jerebic, J. Efficient Direct Reconstruction of Bipartite (Multi)Graphs from Their Line Graphs Through a Characterization of Their Edges. Mathematics 2025, 13, 2876. https://doi.org/10.3390/math13172876
Bokal D, Jerebic J. Efficient Direct Reconstruction of Bipartite (Multi)Graphs from Their Line Graphs Through a Characterization of Their Edges. Mathematics. 2025; 13(17):2876. https://doi.org/10.3390/math13172876
Chicago/Turabian StyleBokal, Drago, and Janja Jerebic. 2025. "Efficient Direct Reconstruction of Bipartite (Multi)Graphs from Their Line Graphs Through a Characterization of Their Edges" Mathematics 13, no. 17: 2876. https://doi.org/10.3390/math13172876
APA StyleBokal, D., & Jerebic, J. (2025). Efficient Direct Reconstruction of Bipartite (Multi)Graphs from Their Line Graphs Through a Characterization of Their Edges. Mathematics, 13(17), 2876. https://doi.org/10.3390/math13172876

