Recognizing LBFS trees of bipartite graphs

IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, INFORMATION SYSTEMS Information Processing Letters Pub Date : 2024-02-09 DOI:10.1016/j.ipl.2024.106483
Robert Scheffler
{"title":"Recognizing LBFS trees of bipartite graphs","authors":"Robert Scheffler","doi":"10.1016/j.ipl.2024.106483","DOIUrl":null,"url":null,"abstract":"<div><p>The graph searches Breadth First Search (BFS) and Depth First Search (DFS) and the spanning trees constructed by them are some of the most basic concepts in algorithmic graph theory. BFS trees are first-in trees, i.e., every vertex is connected to its first visited neighbor. DFS trees are last-in trees, i.e., every vertex is connected to the last visited neighbor before it. The problem whether a given spanning tree can be the first-in tree or last-in tree of a graph search ordering was introduced in the 1980s and has been studied for several graph searches and graph classes. Here, we consider the problem of deciding whether a given spanning tree of a bipartite graph can be a first-in tree or a last-in tree of the Lexicographic Breadth First Search (LBFS), a special variant of BFS that is commonly used in graph algorithms. We show that the recognition of both first-in trees and last-in trees of LBFS is <span><math><mi>NP</mi></math></span>-hard even if the start vertex of the search ordering is fixed and the height of the tree is four. We prove that the bound on the height is tight (unless <span><math><mi>P</mi><mo>=</mo><mrow><mi>NP</mi></mrow></math></span>) by showing that for all spanning trees of bipartite graphs with height smaller than four we can solve both search tree recognition problems of LBFS in polynomial time. Finally, we give a linear-time algorithm that solves both problems for chordal bipartite graphs and fixed start vertices.</p></div>","PeriodicalId":56290,"journal":{"name":"Information Processing Letters","volume":"186 ","pages":"Article 106483"},"PeriodicalIF":0.7000,"publicationDate":"2024-02-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0020019024000139/pdfft?md5=0a705320becd861a4100ad392710d19e&pid=1-s2.0-S0020019024000139-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Processing Letters","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0020019024000139","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

The graph searches Breadth First Search (BFS) and Depth First Search (DFS) and the spanning trees constructed by them are some of the most basic concepts in algorithmic graph theory. BFS trees are first-in trees, i.e., every vertex is connected to its first visited neighbor. DFS trees are last-in trees, i.e., every vertex is connected to the last visited neighbor before it. The problem whether a given spanning tree can be the first-in tree or last-in tree of a graph search ordering was introduced in the 1980s and has been studied for several graph searches and graph classes. Here, we consider the problem of deciding whether a given spanning tree of a bipartite graph can be a first-in tree or a last-in tree of the Lexicographic Breadth First Search (LBFS), a special variant of BFS that is commonly used in graph algorithms. We show that the recognition of both first-in trees and last-in trees of LBFS is NP-hard even if the start vertex of the search ordering is fixed and the height of the tree is four. We prove that the bound on the height is tight (unless P=NP) by showing that for all spanning trees of bipartite graphs with height smaller than four we can solve both search tree recognition problems of LBFS in polynomial time. Finally, we give a linear-time algorithm that solves both problems for chordal bipartite graphs and fixed start vertices.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
识别二方图的 LBFS 树
广度优先搜索(Breadth First Search,BFS)和深度优先搜索(Depth First Search,DFS)以及由它们构建的生成树是算法图论中一些最基本的概念。BFS 树是首入树,即每个顶点都与其首次访问的邻居相连。DFS 树是后进树,即每个顶点都与它之前最后访问过的邻居相连。给定生成树是图搜索排序的首入树还是尾入树的问题在 20 世纪 80 年代就已提出,并已针对多个图搜索和图类进行了研究。在这里,我们考虑的问题是判断给定的双元图生成树是词法广度优先搜索(LBFS)的首入树还是尾入树,LBFS 是 BFS 的一种特殊变体,常用于图算法中。我们证明,即使搜索排序的起始顶点是固定的,树的高度是四,LBFS 的首入树和尾入树的识别都是 NP-困难的。我们通过证明对于高度小于四的所有双叉图生成树,我们可以在多项式时间内解决 LBFS 的两个搜索树识别问题,从而证明高度的约束是紧密的(除非 P=NP)。最后,我们给出了一种线性时间算法,可以解决和弦双叉图和固定起始顶点的这两个问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Information Processing Letters
Information Processing Letters 工程技术-计算机:信息系统
CiteScore
1.80
自引率
0.00%
发文量
70
审稿时长
7.3 months
期刊介绍: Information Processing Letters invites submission of original research articles that focus on fundamental aspects of information processing and computing. This naturally includes work in the broadly understood field of theoretical computer science; although papers in all areas of scientific inquiry will be given consideration, provided that they describe research contributions credibly motivated by applications to computing and involve rigorous methodology. High quality experimental papers that address topics of sufficiently broad interest may also be considered. Since its inception in 1971, Information Processing Letters has served as a forum for timely dissemination of short, concise and focused research contributions. Continuing with this tradition, and to expedite the reviewing process, manuscripts are generally limited in length to nine pages when they appear in print.
期刊最新文献
On the Tractability Landscape of the Conditional Minisum Approval Voting Rule Total variation distance for product distributions is #P-complete A lower bound for the Quickhull convex hull algorithm that disproves the Quickhull precision conjecture String searching with mismatches using AVX2 and AVX-512 instructions On approximate reconfigurability of label cover
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1