• DocumentCode
    3564785
  • Title

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

  • Author

    Bucker, H. Martin ; Sohr, Christian

  • Author_Institution
    Dept. of Math. & Comput. Sci., Friedrich Schiller Univ. Jena, Jena, Germany
  • fYear
    2014
  • Firstpage
    33
  • Lastpage
    35
  • 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.
  • Keywords
    graph theory; mathematics computing; sparse matrices; tree searching; Intel Core 2 Duo CPU E8400; breadth-first search algorithm; linear algebra; matrix-based BFS algorithm; sparse linear algebra; sparse matrix-vector products; standard graph algorithm; undirected graph; Algorithm design and analysis; Benchmark testing; Data structures; Graph theory; Sparse matrices; Vectors; Combinatorial scientific computing; breadth-first search; graph theory; linear algebra;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Mathematics and Computers in Sciences and in Industry (MCSI), 2014 International Conference on
  • Print_ISBN
    978-1-4799-4744-7
  • Type

    conf

  • DOI
    10.1109/MCSI.2014.40
  • Filename
    7046157