• Thumbnail for Breadth-first search
    Breadth-first search (BFS) is an algorithm for searching a tree data structure for a node that satisfies a given property. It starts at the tree root and...
    14 KB (1,846 words) - 10:22, 14 May 2024
  • lexicographic breadth-first search or Lex-BFS is a linear time algorithm for ordering the vertices of a graph. The algorithm is different from a breadth-first search...
    11 KB (1,723 words) - 22:26, 27 February 2023
  • Thumbnail for Depth-first search
    search path as well as the set of already-visited vertices. Thus, in this setting, the time and space bounds are the same as for breadth-first search...
    20 KB (2,435 words) - 09:04, 3 June 2024
  • possible, such as depth-limited searches like iterative deepening depth-first search. The latter, as well as breadth-first search, can also be used to traverse...
    25 KB (2,834 words) - 20:39, 12 May 2024
  • The breadth-first-search algorithm is a way to explore the vertices of a graph layer by layer. It is a basic algorithm in graph theory which can be used...
    31 KB (4,465 words) - 07:48, 22 May 2024
  • the algorithm) have already been visited. Both the depth-first and breadth-first graph searches are adaptations of tree-based algorithms, distinguished...
    11 KB (1,492 words) - 20:09, 2 February 2024
  • , the cumulative order in which nodes are first visited is effectively the same as in breadth-first search. However, IDDFS uses much less memory. The...
    15 KB (2,564 words) - 05:10, 24 November 2023
  • Thumbnail for Graph (abstract data type)
    processed in specific ways to increase efficiency. Breadth-first search (BFS) and depth-first search (DFS) are two closely-related approaches that are...
    15 KB (1,750 words) - 21:26, 28 May 2024
  • Thumbnail for Dijkstra's algorithm
    weight of the path from the starting node, only the individual edges. Breadth-first search can be viewed as a special-case of Dijkstra's algorithm on unweighted...
    46 KB (5,924 words) - 21:12, 1 June 2024
  • search algorithm. Special care needs to be taken for the stopping criterion. Breadth-first search Depth-first search Any-angle path planning, search for...
    39 KB (4,796 words) - 01:50, 6 June 2024