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.