Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Directed graph, weighted graph?

También llamado: directed graph · weighted graph

Definition 9.3 High School Computer Science · Capítulo 9 — Graphs: Networks of Roads and People

In a directed graph each edge goes from one vertex to another, like a one-way street: an edge from aa to bb does not let you go from bb to aa. A vertex then has an out-degree, the number of edges leaving it, and an in-degree, the number of edges arriving. In a weighted graph each edge carries a number, its weight: a length in metres, a time, a price.

The same four vertices and four edges, as an undirected graph, a directed graph and a weighted graph.
The same four vertices and four edges, as an undirected graph, a directed graph and a weighted graph.
Leer en el capítulo →