Decision - graph theory terms Flashcards
Vertex (verticies) / node
Points
Edges / arcs
Lines
Weighted graph
Numbers associated with an edge
Subgraph of graph G
Graph of G whose vertices belong to G and edges belong to G. A part of the original graph
Degree / valency / order
Number of edges connected to node
Walk
Route through the graph along the edges from one vertex to the next
Path
A walk where no vertex is visited more than once
Trail
A walk where no edge is visited more than once
Cycle
A walk where the end vertex is the same as the start vertex and no other vertex is visited more than once
Hamiltonian cycle
A cycle that includes every vertex
Connected graph
A graph where all vertices are connected (directly or indirectly)
Loop
Edge that starts and finishes at the same vertex
Simple graph
No loops and at most 1 edge connected any pair of vertices
Digraph (directed graph)
A graph where the edges have a direction associated with them
Euler’s handshaking lemma
The sum of the degrees of the vertices is equal to 2x the number of edges