Unit 7 Flashcards
In an blank, the edges are unordered pairs of vertices, which is useful for modeling relationships that are symmetric.
undirected graph
A graph is blank if the vertex set is finite.
finite
A single element of V is called a blank and is usually represented pictorially by a dot with a label.
vertex
If there is an edge between two vertices, they are said to be blank
adjacent.
Vertices b and e are the blank of edge {b, e}.
endpoints
The edge {b, e} is blank to vertices b and e.
incident
A vertex c is a blank of vertex b if {b, c} is an edge.
neighbor
In a simple graph, the blank of a vertex is the number of neighbors it has.
degree
The blank of a graph is the sum of the degrees of all of the vertices.
total degree
In a blank, all the vertices have the same degree
regular graph
In a blank, all the vertices have degree d
d-regular graph
A graph H = (VH, EH) is a blank of a graph G = (VG, EG) if VH ⊆ VG and EH ⊆ EG. Note that any graph G is a blank of itself.
subgraph
blank are multiple edges between the same pair of vertices.
Parallel edges
A graph can also have a blank which is an edge between a vertex and itself.
self-loop
If a graph does not have parallel edges or self-loops, it is said to be a blank.
simple graph
Let G=(V, E) be an undirected graph. Then blank the number of edges is equal to the total degree:
twice
Kn is called the blank on n vertices. Kn has an edge between every pair of vertices.
complete graph
Kn is sometimes called a blank of size n or an n-blank.
clique
Cn is called a blank on n vertices. The edges connect the vertices in a ring.
cycle
The blank, denoted Qn, has 2n vertices. Each vertex is labeled with an n-bit string. Two vertices are connected by an edge if their corresponding labels differ by only one bit.
n-dimensional hypercube
Kn,m has n+m blank. The vertices are divided into two sets: one with m vertices and one set with n vertices. There are no edges between vertices in the same set, but there is an edge between every vertex in one set and every vertex in the other set.
vertices
In an undirected graph, the total degree of the graph G is blank the number of edges in G.
2 times
In the blank of a graph, each vertex has a list of all its neighbors. Note that since the graph is undirected if vertex a is in b’s list of neighbors, then b must also be in a’s list of neighbors.
adjacency list representation
The blank for a graph with n vertices is an n by n matrix whose entries are all either 0 or 1, indicating whether or not each edge is present.
matrix representation