Traversing Gragh Algorithm in Data Structure
Qimei Wu
Abstract
Qimei Wu
Abstract
This article according to the difference of method in storage structure of graph、search path and design algorithm is to introduce eight different kinds of traversing graph algorithm in detail. That is to say: from two different storage structure of adjacency matrix and adjacency list and two kinds of difference traversing graph algorithm include recursion and not recursion, depth precedence search and breadth precedence search are divided into four kinds of different traversing graph algorithm. This paper is to make beginners and college students master different traversing grasp algorithm well and write out all kinds of graph traversing programs exactly.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
This article according to the difference of method in storage structure of graph、search path and design algorithm is to introduce eight different kinds of traversing graph algorithm in detail. That is to say: from two different storage structure of adjacency matrix and adjacency list and two kinds of difference traversing graph algorithm include recursion and not recursion, depth precedence search and breadth precedence search are divided into four kinds of different traversing graph algorithm. This paper is to make beginners and college students master different traversing grasp algorithm well and write out all kinds of graph traversing programs exactly.
Key concepts: Traverse, Computer science, Adjacency matrix, Adjacency list, Recursion (computer science), Graph, Algorithm, Breadth-first search