D1-ch.2 Definitions Flashcards
Cycle or circuit
is a closed path – the end vertex of the last edge is the start
vertex of the first edge.
Hamiltonian cycle
is a cycle that passes through every vertex of the graph once
and only once, and returns to its start vertex.
Eulerian cycle
is a cycle that includes every edge of a graph exactly once.
Edge set
is the set of all edges.
Vertex set
is the set of all vertices.
Path
is a finite sequence of edges such that the end vertex of one edge in the sequence is the start vertex of the next, and in which no vertex appears more than once.
Connected
- Two vertices are connected if there is a path between them.
- A graph is connected if all of its vertices are connected.
Loop
•An edge with the same vertex at each end
Simple graph
does not contain any ‘parallel’ arcs nor any loops.
Valency, degree or order
the number of edges connected to a node
Diagraph
•If the edges of a graph have a direction associated with them, they are known as
directed edges
Tree
connected graph with no cycles (e.g. family trees, probability tree
diagrams).
Spanning tree
is a subgraph that includes all the vertices of G and is
also a tree.
Complete graph Kn
has n vertices where all vertices are connected by an edge to
each of the other vertices
Bipartite graph
consists of two sets of vertices X and Y. The edges only join
vertices in X to vertices in Y – i.e. not vertices within a set. If there are r vertices in X
and s vertices in Y and every vertex in X is joined to every vertex in Y, then the graph
is called Kr,s.