enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Breadth-first search - Wikipedia

    en.wikipedia.org/wiki/Breadth-first_search

    Breadth-first search can be used to solve many problems in graph theory, for example: Copying garbage collection , Cheney's algorithm Finding the shortest path between two nodes u and v , with path length measured by number of edges (an advantage over depth-first search ) [ 14 ]

  3. Parallel breadth-first search - Wikipedia

    en.wikipedia.org/wiki/Parallel_breadth-first_search

    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 as a part of other graph algorithms. For instance, BFS is used by Dinic's algorithm to find maximum flow in a graph.

  4. Graph traversal - Wikipedia

    en.wikipedia.org/wiki/Graph_traversal

    A depth-first search (DFS) is an algorithm for traversing a finite graph. DFS visits the child vertices before visiting the sibling vertices; that is, it traverses the depth of any particular path before exploring its breadth. A stack (often the program's call stack via recursion) is generally used when implementing the algorithm.

  5. Brandes' algorithm - Wikipedia

    en.wikipedia.org/wiki/Brandes'_algorithm

    The breadth-first search starts at , and the shortest distance () of each vertex from is recorded, dividing the graph into discrete layers. Additionally, each vertex v {\displaystyle v} keeps track of the set of vertices which in the preceding layer which point to it, p ( v ) {\displaystyle p(v)} .

  6. Lexicographic breadth-first search - Wikipedia

    en.wikipedia.org/wiki/Lexicographic_breadth...

    In computer science, 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 , but it produces an ordering that is consistent with breadth-first search.

  7. Tree traversal - Wikipedia

    en.wikipedia.org/wiki/Tree_traversal

    By contrast, a breadth-first search will never reach the grandchildren, as it seeks to exhaust the children first. A more sophisticated analysis of running time can be given via infinite ordinal numbers ; for example, the breadth-first search of the depth 2 tree above will take ω ·2 steps: ω for the first level, and then another ω for the ...

  8. Connectivity (graph theory) - Wikipedia

    en.wikipedia.org/wiki/Connectivity_(graph_theory)

    The problem of determining whether two vertices in a graph are connected can be solved efficiently using a search algorithm, such as breadth-first search. More generally, it is easy to determine computationally whether a graph is connected (for example, by using a disjoint-set data structure ), or to count the number of connected components.

  9. Graph (abstract data type) - Wikipedia

    en.wikipedia.org/wiki/Graph_(abstract_data_type)

    In computer science, a graph is an abstract data type that is meant to implement the undirected graph and directed graph concepts from the field of graph theory within mathematics. A graph data structure consists of a finite (and possibly mutable) set of vertices (also called nodes or points ), together with a set of unordered pairs of these ...