Decision 2 - Graphs and Networks Flashcards
What is a graph in decision maths?
A graph consists of points (called vertices or nodes) which are connected by lines (edges or arcs).
If a graph has a number associated with each edge (usually called its weight), then the graph is known as a weighted graph or network.
What is a vertex?
A vertex is a point on a graph. Vertices are sometimes called nodes.
What is an edge?
An edge is a line segment joining vertices. Edges are sometimes called arcs.
What is the vertex set?
The list of vertices comprising a graph.
What is a subgraph?
A graph, each of whose vertices belongs to the original graph and each of whose edges belong to the original graph.
It is simply a part of the original graph.
What is the degree of a vertex?
The degree or valency or order of a vertex is the number of edges incident. If the degree of a vertex is even, it is said to have even degree.
What does it mean if an edge and vertex are incident?
A vertex and an edge are incident if the vertex is at either end of the edge.
What is a walk?
A route through the graph along edges from one vertex to the next.
What is a path?
A path is a walk in which no vertex is visited more than once.
What is a trail?
A trail is a walk in which no edge is visited more than once.
What is a cycle?
A cycle is a walk in which the end vertex is the same as the start vertex and no other vertex is visited more than once.
What is a Hamiltonian cycle?
A Hamiltonian cycle is a cycle that includes every vertex.
What does it mean for two vertices to be connected?
Two vertices are connected if there is a path between them.
What does it mean for a graph to be connected?
A graph is connected if all its vertices are connected.
What is a loop?
A loop is an edge that starts and ends at the same vertex.
What does it mean for a graph to be simple?
A simple graph is one in which there are no loops and there is at most one edge connecting any pair of vertices.
What is a directed edge?
If an edge of a graph has a direction associated with it, it is known as a directed edge and the graph is known as a directed graph, often abbreviated to a digraph.
What is the sum of the degrees of the vertices of any undirected graph?
The sum of the degrees is equal to 2×the number of edges. As a consequence, the number of odd vertices must be even, including possibly zero. This result is known as Euler’s handshaking lemma.
What is a tree?
A tree is a connected graph with no cycles.
What is a spanning tree?
A spanning tree is a subgraph which includes all the original graph’s vertices and is also a tree.
What is a complete graph?
A complete graph is a graph in which every vertex is directly connected by a single edge to each of the other vertices.
The complete graph of 𝑛 vertices is written Kₙ.
What is an isomorphic graph?
An isomorphic graphs are graphs that show the same information but may be drawn differently.
What is an adjacency matrix?
Each entry in an adjacency matrix describes the number of arcs joining the corresponding vertices.
What is a distance matrix?
A matrix associated with a weighted graph, in a distance matrix, the entries represent the weight of each arc, not the number of arcs.