Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Graph, vertex, edge, arc, loop?

Ook bekend als: graph · vertex · edge (graph) · directed graph · arc · loop (graph)

Definition 24.1 University Computer Science — Year 1 · Hoofdstuk 24 — Graphs and Traversals

A graph G=(V,E)G = (V, E) is a finite set VV of vertices and a set EE of edges. In an undirected graph an edge is a set {u,v}\{u, v\} of two vertices, its ends, written uvuv. In a directed graph an edge is a pair (u,v)(u, v), an arc from uu to vv, written u→vu \to v. An edge whose two ends are equal is a loop; unless stated otherwise, graphs here have no loops and n=∣V∣n = |V|, m=∣E∣m = |E|.

Lees in het hoofdstuk →