Abstract
Let M(m,n) be the complexity of checking whether a graph G with medges and n vertices is a median graph. We show that the complexity of checking whether Gis triangle-free is at most O(M(m,m)). Conversely, we prove that the complexity of checking whether a given graph is a median graph is at most O(m log n + T(m log n,n)), where T(m,n) is the complexity of finding all triangles of the graph. We also demonstrate that, intuitively speaking, there are as many median graphs as there are triangle-free graphs. Finally, these results enable us to prove that the complexity of recognizing planar median graphs is linear.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.