In a directed graph each edge goes from one vertex to another, like a one-way street: an edge from to does not let you go from to . 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.
Computer Science · Begrippenlijst
Wat is Directed graph, weighted graph?
Ook bekend als: directed graph · weighted graph