Decision Flashcards
Vertex / Node
Point on a graph
Edge / arc
Like segment joining nodes
Weight
Number associated with the arc
What’s a graph
Certified connected by edges
Subgraph
A graph where all nodes and arcs belong to the main graph but just part of it
Degree / Valency / Order
Number of arcs on a node
Walk
A route through a graph along edges from one vertex to the next
Path
A walk where no nodes visited more than once
Trail
Walk where no edge is visited more than once
Cycle
Walk where start and end node are same, no node visited more than once
Hamiltonian cycle
Includes every node
Connected
Graph if all vertices are connected
Simple graph
No loops and only one edge connecting any pair of nodes
Digraph
When arcs have direction
Sum of degrees of nodes equal to
2 x no. edges
Euler’s handshaking lemma
Even no of odd nodes
Tree
Connected graph with no cycles
Spanning tree
Subgraph which includes all vertices
Complete graph
Every node is directly connected to every node by a single edge
Kn
Isomorphic graphs
Show same info but can be drawn differently
Adjacency matrix
Describes the number of arcs joining corresponding nodes
Distance matrix
The entries represent the weight of each arc not number of arcs
Planar graph
Can be drawn in a plane such that no two edges meet except at a vertex
Kruskal’s Algorithm finds:
Minimum spanning tree, shortest way of linking all nodes