Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Graph, vertex, edge, arc, loop?

Também chamado de: graph · vertex · edge (graph) · directed graph · arc · loop (graph)

Definition 24.1 University Computer Science — Year 1 · Capítulo 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|.

Ler no capítulo →