Basic Flashcards
If all the vertices of G are pairwise adjacent then G is
Complete
One of the most important properties of a vertex in a graph is its degree, defined as
The total number of edges incident to that vertex
In a directed graph, the degree of a vertex Vi is split into
(1) the in-degree of the vertex, defined as the number of edges for which Vi is their end node (the head of the arrow) , and (2) the out-degree of the vertex, which is the number of edges for which Vi is their start node (the tail of the arrow).
There are two standard ways for representing a graph G (V, E) in a suitable way to be processed:
as a collection of adjacency list or as an adjacency matrix
A disadvantage of the adjacency-list representation is that it provides no quicker way to determine whether a given edge Euv is present in the graph than to search for v in the adjacency list Adj[u]. An adjacency-matrix representation of the graph remedies this disadvantage, but at the cost of
using asymptotically more memory.