enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Cycle (graph theory) - Wikipedia

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

    Distributed cycle detection algorithms are useful for processing large-scale graphs using a distributed graph processing system on a computer cluster (or supercomputer). Applications of cycle detection include the use of wait-for graphs to detect deadlocks in concurrent systems. [6]

  3. Cycle detection - Wikipedia

    en.wikipedia.org/wiki/Cycle_detection

    In computer science, cycle detection or cycle finding is the algorithmic problem of finding a cycle in a sequence of iterated function values. For any function f that maps a finite set S to itself, and any initial value x 0 in S , the sequence of iterated function values

  4. Rocha–Thatte cycle detection algorithm - Wikipedia

    en.wikipedia.org/wiki/Rocha–Thatte_cycle...

    The Rocha–Thatte algorithm is a general algorithm for detecting cycles in a directed graph by message passing among its vertices, based on the bulk synchronous message passing abstraction. This is a vertex-centric approach in which the vertices of the graph work together for detecting cycles.

  5. Kruskal's algorithm - Wikipedia

    en.wikipedia.org/wiki/Kruskal's_algorithm

    If the graph is connected, it finds a minimum spanning tree. It is a greedy algorithm that in each step adds to the forest the lowest-weight edge that will not form a cycle. [2] The key steps of the algorithm are sorting and the use of a disjoint-set data structure to detect cycles. Its running time is dominated by the time to sort all of the ...

  6. Tarjan's strongly connected components algorithm - Wikipedia

    en.wikipedia.org/wiki/Tarjan's_strongly_connected...

    Any vertex that is not on a directed cycle forms a strongly connected component all by itself: for example, a vertex whose in-degree or out-degree is 0, or any vertex of an acyclic graph. The basic idea of the algorithm is this: a depth-first search (DFS) begins from an arbitrary start node (and subsequent depth-first searches are conducted on ...

  7. Robert W. Floyd - Wikipedia

    en.wikipedia.org/wiki/Robert_W._Floyd

    His contributions include the design of the Floyd–Warshall algorithm (independently of Stephen Warshall), which efficiently finds all shortest paths in a graph and his work on parsing; Floyd's cycle-finding algorithm for detecting cycles in a sequence was attributed to him as well.

  8. Bellman–Ford algorithm - Wikipedia

    en.wikipedia.org/wiki/Bellman–Ford_algorithm

    If a graph contains a "negative cycle" (i.e. a cycle whose edges sum to a negative value) that is reachable from the source, then there is no cheapest path: any path that has a point on the negative cycle can be made cheaper by one more walk around the negative cycle. In such a case, the Bellman–Ford algorithm can detect and report the ...

  9. Zero-weight cycle problem - Wikipedia

    en.wikipedia.org/wiki/Zero-weight_cycle_problem

    Therefore, the special case of the zero-weight cycle problem, on graphs with no negative cycle, has a polynomial-time algorithm. [1] In contrast, for graphs that contain negative cycles, detecting a simple cycle of weight exactly 0 is an NP-complete problem. [1] This is true even when the weights are integers of polynomial magnitude.