When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Graph (discrete mathematics) - Wikipedia

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

    A graph with three vertices and three edges. A graph (sometimes called an undirected graph to distinguish it from a directed graph, or a simple graph to distinguish it from a multigraph) [4] [5] is a pair G = (V, E), where V is a set whose elements are called vertices (singular: vertex), and E is a set of unordered pairs {,} of vertices, whose elements are called edges (sometimes links or lines).

  3. Minimum cut - Wikipedia

    en.wikipedia.org/wiki/Minimum_cut

    The minimum cut problem in undirected, weighted graphs limited to non-negative weights can be solved in polynomial time by the Stoer-Wagner algorithm. In the special case when the graph is unweighted, Karger's algorithm provides an efficient randomized method for finding the cut. In this case, the minimum cut equals the edge connectivity of the ...

  4. Glossary of graph theory - Wikipedia

    en.wikipedia.org/wiki/Glossary_of_graph_theory

    In an unweighted graph, the length of a cycle, path, or walk is the number of edges it uses. In a weighted graph, it may instead be the sum of the weights of the edges that it uses. Length is used to define the shortest path, girth (shortest cycle length), and longest path between two vertices in a graph. level 1.

  5. Cut (graph theory) - Wikipedia

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

    If s and t are specified vertices of the graph G, then an s – t cut is a cut in which s belongs to the set S and t belongs to the set T. In an unweighted undirected graph, the size or weight of a cut is the number of edges crossing the cut. In a weighted graph, the value or weight is defined by the sum of the weights of the edges crossing the ...

  6. Longest path problem - Wikipedia

    en.wikipedia.org/wiki/Longest_path_problem

    In graph theory and theoretical computer science, the longest path problem is the problem of finding a simple path of maximum length in a given graph.A path is called simple if it does not have any repeated vertices; the length of a path may either be measured by its number of edges, or (in weighted graphs) by the sum of the weights of its edges.

  7. Brandes' algorithm - Wikipedia

    en.wikipedia.org/wiki/Brandes'_algorithm

    For an unweighted graph, the length of a path is considered to be the number of edges it contains. By convention, σ s t = 1 {\displaystyle \sigma _{st}=1} whenever s = t {\displaystyle s=t} , since the only path is the empty path.

  8. Directed graph - Wikipedia

    en.wikipedia.org/wiki/Directed_graph

    A directed graph is weakly connected (or just connected [9]) if the undirected underlying graph obtained by replacing all directed edges of the graph with undirected edges is a connected graph. A directed graph is strongly connected or strong if it contains a directed path from x to y (and from y to x) for every pair of vertices (x, y).

  9. Shortest path problem - Wikipedia

    en.wikipedia.org/wiki/Shortest_path_problem

    Shortest path (A, C, E, D, F) between vertices A and F in the weighted directed graph. In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.