{"title":"Finding connected components of a graph using traversals associated with iterative methods for solving systems of linear equations","authors":"A. V. Prolubnikov","doi":"arxiv-2407.10790","DOIUrl":null,"url":null,"abstract":"To solve many problems on graphs, graph traversals are used, the usual\nvariants of which are the depth-first search and the breadth-first search.\nImplementing a graph traversal we consequently reach all vertices of the graph\nthat belong to a connected component. The breadth-first search is the usual\nchoice when constructing efficient algorithms for finding connected components\nof a graph. Methods of simple iteration for solving systems of linear equations\nwith modified graph adjacency matrices and with the properly specified\nright-hand side can be considered as graph traversal algorithms. These\ntraversal algorithms, generally speaking, turn out to be non-equivalent neither\nto the depth-first search nor the breadth-first search. The example of such a\ntraversal algorithm is the one associated with the Gauss-Seidel method. For an\narbitrary connected graph, to visit all its vertices, the algorithm requires\nnot more iterations than that is required for BFS. For a large number of\ninstances of the problem, fewer iterations will be required.","PeriodicalId":501216,"journal":{"name":"arXiv - CS - Discrete Mathematics","volume":"62 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Discrete Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.10790","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
To solve many problems on graphs, graph traversals are used, the usual
variants of which are the depth-first search and the breadth-first search.
Implementing a graph traversal we consequently reach all vertices of the graph
that belong to a connected component. The breadth-first search is the usual
choice when constructing efficient algorithms for finding connected components
of a graph. Methods of simple iteration for solving systems of linear equations
with modified graph adjacency matrices and with the properly specified
right-hand side can be considered as graph traversal algorithms. These
traversal algorithms, generally speaking, turn out to be non-equivalent neither
to the depth-first search nor the breadth-first search. The example of such a
traversal algorithm is the one associated with the Gauss-Seidel method. For an
arbitrary connected graph, to visit all its vertices, the algorithm requires
not more iterations than that is required for BFS. For a large number of
instances of the problem, fewer iterations will be required.