Graph Theory Flashcards
graph
A graph, G=(V,E) is a finite set of vertices V and a finite set of Edges E where each edge (u,v) connects two vertices, u and v.
Adjacent
Two vertices, u and v of a graph are adjacent if there exists an edge (u,v).
Self loop
A self-loop is an edge (u,u).
multi-graph
A multi graph can have multiple edges between the same two vertices and self loops.
Incident
If (u,v) is an edge in a graph G, (u,v) is an incident to vertices u and v.
Degree
A degree of a vertex is the number of edges incident on it.
isolated
A vertex who’s degree is 0 is isolated.
Simple path
A path is simple if all vertices in the path are distinct.
Subpath
A subpath of a path is a continuous subsequence of its vertices.
Path
A path of length k from a vertex u to a vertex u’ is a sequence (v0,v1,v2,…,vk) of vertices such that u=v0, u’=vk and (vi-1,vi) is an edge in E for i=1,2,…,k. The length is the number of edges in the path.
Length k
The length is the number of edges in the path.
Cycle
A cycle s a path with k>0 where v0=vk, and all the edges are distinct.
Simple cycle
A cycle is simple if the vertices are distinct.
Acyclic
A graph with no simple cycles is acyclic
Connected
A graph is connected if every vertices is reachable from all other vertices