After Midterm Flashcards
Simple Graph
A simple graph G =(V,E) consists of a non-empty set of Vertices V and a set E of unordered pairs of distinct elements of V called edges
Multigraph
When a graph allows multiple edges between pairs of vertices, we call it a multigraph.
Pseudograph
A multigraph that allows for loops
Directed Graph
A directed graph G = (V,E) that consists of a non-empty set of vertices V and a set E of ordered pairs of distinct elements of V called edges.
Order
of vertices (Typically n)
Size
of edges (Typically m)
Max # edges for simple graph
n choose 2 = (n(n-1))/2
Max # edges for direct graph
n^2
Same degree theory
In a simple graph of n>1 vertices, there is always two vertices with the same degree
(u,v) in an edge in a directed graph
u is adjacent to v
v is adjacent from u
Handshaking Theorm
If you divide the sum of the degrees of a simple graph by 2 you get the number of edges
Bipartite Graph
A simple graph is bipartite if the set vertices V can be split into two sets V1 and V2 such that all edges have one endpoint in V1 and one in V2.
Matching
A matching is a subset of edges such that no two edges are incident with the same vertex
Maximum Matching
A matching with the largest amount of edges possible
Subgraph
A subgraph of G = (V, E) is a graph G = (W,F) such that W is a subset of V and F is a subset of E.