enow.com Web Search

Search results

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

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

    A metric space defined over a set of points in terms of distances in a graph defined over the set is called a graph metric. The vertex set (of an undirected graph) and the distance function form a metric space, if and only if the graph is connected. The eccentricity ϵ(v) of a vertex v is the greatest distance between v and any other vertex; in ...

  3. Shortest path problem - Wikipedia

    en.wikipedia.org/wiki/Shortest_path_problem

    The shortest path problem can be defined for graphs whether undirected, directed, or mixed. The definition for undirected graphs states that every edge can be traversed in either direction. Directed graphs require that consecutive vertices be connected by an appropriate directed edge. [2]

  4. Shortest-path tree - Wikipedia

    en.wikipedia.org/wiki/Shortest-path_tree

    The numbers beside the vertices indicate the distance from the root vertex. In mathematics and computer science, a shortest-path tree rooted at a vertex v of a connected, undirected graph G is a spanning tree T of G, such that the path distance from root v to any other vertex u in T is the shortest path distance from v to u in G.

  5. Dijkstra's algorithm - Wikipedia

    en.wikipedia.org/wiki/Dijkstra's_algorithm

    Dijkstra's algorithm (/ ˈ d aɪ k s t r ə z / DYKE-strəz) is an algorithm for finding the shortest paths between nodes in a weighted graph, which may represent, for example, a road network.

  6. Metric space - Wikipedia

    en.wikipedia.org/wiki/Metric_space

    For any undirected connected graph G, the set V of vertices of G can be turned into a metric space by defining the distance between vertices x and y to be the length of the shortest edge path connecting them. This is also called shortest-path distance or geodesic distance.

  7. Travelling salesman problem - Wikipedia

    en.wikipedia.org/wiki/Travelling_salesman_problem

    In the symmetric TSP, the distance between two cities is the same in each opposite direction, forming an undirected graph. This symmetry halves the number of possible solutions. In the asymmetric TSP, paths may not exist in both directions or the distances might be different, forming a directed graph. Traffic congestion, one-way streets, and ...

  8. 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).

  9. Shortest-path graph - Wikipedia

    en.wikipedia.org/wiki/Shortest-path_graph

    The shortest-path graph with t = 2. In mathematics and geographic information science, a shortest-path graph is an undirected graph defined from a set of points in the Euclidean plane. The shortest-path graph is proposed with the idea of inferring edges between a point set such that the shortest path taken over the inferred edges will roughly ...