Graphs Flashcards
A graph
Has a set of verticies
Has a set of edges
An edge
Has a vertex at each end
A loop
Where an edge has the same vertex at each end
The degree of a vertex
How many edges it has attached to it
Simple graph
A graph where there is no loops and each node can only have one edge
A walk
A sequence of edges in which the next edge is the beginning of the next
A trail
This is a walk but with no edges repeated
A path
This is a trail but no vertex are repeated
A cycle
This is a closed path (the end of the last edge is the start of the first)
A Hamiltonian cycle
This is a cycle which visits every vertex
A connected graph
Where there is a path between every pair of vertex
A tree
A simple connected graph with no cycles
A digraph
A graph in which at least one edge has a direction associated with it
A complete graph
A simple graph in which every pair of verticies is connected by an edge
An incidence matrix
A way of representing a graph by a matrix