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.
Planar graph
a graph which can be drawn in a plane in such a way that no two
edges meet each other, except at a vertex to which they are both incident.
Isomorphic graphs
if they have the same number of vertices
and the degrees of the corresponding vertices are the same.
Network
•A graph with weighted edges
•(The weights can refer to any quantity relating a pair of edges; e.g. distance, time,
cost, etc.)
Graph
A graph G consists of nodes which are connected by edges.
Subgraph
Is a graph, each of whose vertices and edges belongs to a larger graph.
Minimum spanning tree
Is a spanning tree such that the total length of its arcs is as small as possible
Matching
Is a subset of edges from a bipartite graph, such that no two edges in the subset have a common vertex.
Complete matching
Is a matching which consists of n vertices in each set and n edges.
Maximal matching
Is a matching in which the number of edges is as large as possible.