• 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,856 words) - 16:26, 25 May 2025
  • 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,447 words) - 12:33, 25 May 2025
  • 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...
    26 KB (2,894 words) - 19:29, 14 May 2025
  • 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,729 words) - 15:15, 25 October 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,548 words) - 08:32, 9 March 2025
  • 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) - 02:45, 30 December 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) - 19:56, 12 October 2024
  • every node of a graph. Graph traversal algorithms, like breadth-first search and depth-first search, are analyzed using the von Neumann model, which assumes...
    9 KB (1,558 words) - 19:55, 12 October 2024
  • 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...
    16 KB (1,763 words) - 02:32, 14 October 2024
  • uninformed search algorithms such as e.g. breadth-first search, depth-first search or iterative deepening. In 1992, B. Brügmann employed it for the first time...
    39 KB (4,658 words) - 04:19, 5 May 2025
  • 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...
    45 KB (5,637 words) - 14:13, 14 May 2025
  • cycle would cause there to be too few vertices in the first k levels of some breadth-first search tree. Therefore, any Moore graph has the minimum number...
    12 KB (1,560 words) - 18:26, 9 May 2025
  • angle Breadth-first search Depth-first search Dijkstra's algorithm – Algorithm for finding shortest paths "A*-like" means the algorithm searches by extending...
    43 KB (5,547 words) - 08:04, 27 May 2025
  • binary search, sliding windows, linked lists, trees, tries, backtracking, heaps, priority queues, graphs, breadth-first search, depth-first search, dynamic...
    10 KB (977 words) - 01:42, 25 May 2025
  • Thumbnail for Connectivity (graph theory)
    graph are connected can be solved efficiently using a search algorithm, such as breadth-first search. More generally, it is easy to determine computationally...
    17 KB (2,062 words) - 23:37, 25 March 2025
  • generated by GPT-4o) and "Graphwalks" (forcing the model to simulate breadth-first search). The models underwent more training regarding tool-calling, so the...
    5 KB (498 words) - 09:23, 16 May 2025
  • state-space search methods, meaning that they do not have any prior information about the goal's location. Traditional depth-first search Breadth-first search Iterative...
    4 KB (488 words) - 07:05, 18 May 2025
  • planner with breadth-first search to avoid local minima. It uses a growing circle around the robot. The nearest neighbors are analyzed first and then the...
    4 KB (552 words) - 16:02, 5 September 2023
  • Thumbnail for Maze-solving algorithm
    path by implementing a breadth-first search, while another, the A* algorithm, uses a heuristic technique. The breadth-first search algorithm uses a queue...
    20 KB (2,893 words) - 20:33, 16 April 2025
  • Thumbnail for Search algorithm
    the exhaustive methods such as depth-first search and breadth-first search, as well as various heuristic-based search tree pruning methods such as backtracking...
    11 KB (1,453 words) - 16:18, 10 February 2025
  • Thumbnail for Spanning tree
    a depth-first search tree or a breadth-first search tree according to the graph exploration algorithm used to construct it. Depth-first search trees are...
    26 KB (3,280 words) - 19:26, 11 April 2025
  • algorithm is one possible solution for maze routing problems based on breadth-first search. It always gives an optimal solution, if one exists, but is slow...
    2 KB (234 words) - 12:59, 28 November 2023
  • queue-based implementation yields a breadth-first search. A stack (LIFO queue) will yield a depth-first algorithm. A best-first branch and bound algorithm can...
    20 KB (2,432 words) - 04:50, 9 April 2025
  • shortest path that has available capacity. This can be found by a breadth-first search, where we apply a weight of 1 to each edge. The running time of O...
    9 KB (1,121 words) - 07:46, 4 April 2025
  • Thumbnail for Bipartite graph
    with breadth-first search in place of depth-first search. Again, each node is given the opposite color to its parent in the search forest, in breadth-first...
    33 KB (4,093 words) - 00:09, 21 October 2024
  • Thumbnail for Queue (abstract data type)
    of a buffer. Another usage of queues is in the implementation of breadth-first search. Theoretically, one characteristic of a queue is that it does not...
    14 KB (2,130 words) - 11:46, 30 April 2025
  • Thumbnail for Brandes' algorithm
    every vertex v {\displaystyle v} is calculated using breadth-first search. The breadth-first search starts at s {\displaystyle s} , and the shortest distance...
    12 KB (1,696 words) - 13:52, 23 May 2025
  • Thumbnail for Aho–Corasick algorithm
    (a). The blue arcs can be computed in linear time by performing a breadth-first search [potential suffix node will always be at lower level] starting from...
    10 KB (1,255 words) - 01:59, 19 April 2025
  • Thumbnail for Diameter (graph theory)
    repeated breadth-first search is faster than matrix multiplication. Assuming the strong exponential time hypothesis, repeated breadth-first search is near-optimal:...
    9 KB (1,082 words) - 07:06, 28 April 2025
  • found in the breadth first search part of one of the phases. Each phase consists of a single breadth first search and a single depth-first search. Thus, a...
    25 KB (3,746 words) - 14:52, 14 May 2025