D1 Flashcards
Define Hamiltonian Cycle.
A cycle which visits all vertices on a graph.
Give an example of a graph which would not have a Hamiltonian Cycle.
A tree.
Define Tree.
A graph which connects all vertices but has no cycles.
If there is a graph with n vertices, how many distinct cycles will there be if we assume each vertex is connected to every other one?
(n-1)!/2 (As if we have a graph ABCDE then A has 4 options, be has 3 and so on, so 4!. However, this also counts reverse cycles, so we have to half it to get the number of distinct cycles).
What is a Eulerian Trail (or cycle)?
A graph which covers every edge of the graph exactly once and finishes at the start vertex.
What is the condition for a graph to have a Eulerian Trail?
The graph’s vertices all must have even order.
What is a semi-Eulerian Trail?
A path in which you can cover all vertices exactly once, while starting and finishing on different, odd vertices.
What is the condition for a graph to have a semi-Eulerian Trail?
The graph must have exactly 2 odd vertices, with the rest being even, so the path can start on one odd vertex and finish on the other.
Define traversable.
A graph is traversable if you can cover all edges on a graph without taking the pen off the paper (this is only possible if the graph is a Eulerian or semi-Eulerian graph).
Define isomorphic.
2 graphs are isomorphic if they have the same vertices and edges (i.e. Their matrices would be identical).
Define digraph.
A digraph is one which has arrows to show direction of its edges. It is important if for example an arc could only go from A to B, to name the arc AB not BA.
What is the name for a graph that gives weights (numbers) on its arcs?
A network or weighted graph.
What is a distance matrix and an incidence matrix?
A distance matrix is a matrix which denotes the weight of each arc; an incidence matrix defines what is connected to what with no quantities.
How to we find the number of edges from a matrix (which is NOT a digraph)
We sum up all the values in the matrix and divide them by 2.
Define valency.
Another word for order, the valency is the number of edges connected to a certain vertex.