Reformulating a Breadth-First Search Algorithm on an Undirected Graph in the Language of Linear Algebra

H. M. Bucker, Christian Sohr
{"title":"Reformulating a Breadth-First Search Algorithm on an Undirected Graph in the Language of Linear Algebra","authors":"H. M. Bucker, Christian Sohr","doi":"10.1109/MCSI.2014.40","DOIUrl":null,"url":null,"abstract":"The formulation of algorithms from sparse linear algebra is often based on suitable concepts from graph theory. However, conversely, the formulation of algorithms from graph theory is rarely based on suitable concepts from sparse linear algebra. Here, we present an illustrating example of a standard graph algorithm that is expressed in the language of sparse linear algebra. More precisely, we reformulate a breadth-first search (BFS) algorithm on an undirected graph using sparse matrix-vector products. In addition, we demonstrate that the performance of this matrix-based BFS algorithm on an Intel Core 2 Duo CPU E8400 is improved as compared to a traditional graph-based BFS algorithm.","PeriodicalId":202841,"journal":{"name":"2014 International Conference on Mathematics and Computers in Sciences and in Industry","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-09-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 International Conference on Mathematics and Computers in Sciences and in Industry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MCSI.2014.40","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

The formulation of algorithms from sparse linear algebra is often based on suitable concepts from graph theory. However, conversely, the formulation of algorithms from graph theory is rarely based on suitable concepts from sparse linear algebra. Here, we present an illustrating example of a standard graph algorithm that is expressed in the language of sparse linear algebra. More precisely, we reformulate a breadth-first search (BFS) algorithm on an undirected graph using sparse matrix-vector products. In addition, we demonstrate that the performance of this matrix-based BFS algorithm on an Intel Core 2 Duo CPU E8400 is improved as compared to a traditional graph-based BFS algorithm.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用线性代数语言重新表述无向图上的宽度优先搜索算法
稀疏线性代数算法的表述通常基于图论中合适的概念。然而,相反地,图论的算法的表述很少基于稀疏线性代数的合适概念。在这里,我们给出了一个用稀疏线性代数语言表达的标准图算法的示例。更准确地说,我们在无向图上使用稀疏矩阵向量积重新制定了宽度优先搜索(BFS)算法。此外,我们证明了这种基于矩阵的BFS算法在英特尔酷睿2双核CPU E8400上的性能比传统的基于图的BFS算法有所提高。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Dirichlet Boundary Stabilization of Unstable Mixed Parameter Systems Skin Color Analysis and Segmentation in Complex Outdoor Background Application of the Static and Dynamic Models in Predicting the Future Strength of Portland Cements A New Graphical Password Based on Decoy Image Portions (GP-DIP) True Random Number Generation of very High Goodness-of-Fit and Randomness Qualities
×
引用
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