Chapter 29 Flashcards
What is path finding algorithm
Algorithm that uses on graph for finding shortest path
What is fully connected graph
Each vertex is connected to its possible vertex
What is breadth-first search
Breadth-first search (BFS) is an algorithm for traversing or searching tree or graph data structures. It starts at the tree root and explores the neighbor nodes first, before moving to the next level neighbors.
What are adjacent node
The node which are directly connected to a node
What is adjancy list
It helps to find neighbors of neighbors
What is wave front
A hypothetical circle of first level adjacent nodes is called first wave front.
What is depth-first search
Depth First Search (DFS) The DFS algorithm is a recursive algorithm that uses the idea of backtracking but it can also non-recursive. Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. One starts at the root and explores as far as possible along each branch before backtracking.
What is meaning of traversing a graph
Traversing a graph means visiting every node in graph
What is bag
Generic graph traversal algorithm stores a set of candidates edges in data structure called bag. It is data structure like stack and queue.