Graph Theory Flashcards
(27 cards)
Graph
An ordered pair (V, E) of a set of nodes (vertices) and a set of unordered pairs of nodes (edges)
Order of a graph
The number of nodes
Degree of a node
The number of edges connected to the node
Size of a graph
The number of edges
Loop
An edge whose pair of nodes are the same
Link or side
An edge whose pair of nodes is different
Simple graph
A graph without loops and the same 2 nodes can not be connected by multiple edges
Multigraph
A graph where the set of edges is a multiset, meaning the same nodes can be connected multiple times
Adjacency Matrix
A way of encoded a simple graph where 1 represents an edge and 0 represents no edge. Row represents the start of the edge and the column represents the end.
Chain
The succession of a sequence of alternating nodes and edges, starting and finishing on nodes.
The length of a chain
The number of edges it contains
The distance between 2 nodes in a graph
The length of the shortest chain between 2 nodes
The diameter of a graph
The longest distance between any 2 nodes
When is a chain said to be closed?
When the start vertex and the end vertex are the same vertex.
What is a connected component of an undirected graph?
A subgraph in which any 2 nodes are connected to each other by a path
When is a graph said to be connected?
If it only has 1 connected component
When is a graph said to be free?
If it has no edges
When is a graph said to be complete?
If every pair of different nodes are connected
What is weak connectivity in a directed graph?
If 2 nodes are connected, ignoring the direction of edges
What is strong connectivity in a directed graph?
When 2 nodes are connected following edge direction
Bridge/Cut-edge
An edge in a graph that if removed increases the number of connected components
Cut-vertex/Articulation point
A node in a graph that if removed increases the number of connected components
When is a graph said to be regular of degree?
When all of its nodes have the same degree
Tree
A graph in which every pair of nodes is joined by a single chain