Graphs (MWA) Flashcards
Graph
finite set of vertices/nodes connected by arcs/edges
Simple graph
Graph w no loops or repeated edges
Loop
edge that links a vertex 2 itself
Connected graph
Graph where every vertex li is by a network of edges
Disconnected graph
Graph where vertices r linked w 2 distinct networks of edges
Aka where looks like 2 different graphs but apparently supposed 2 b one whole graph
Complete graph
Graph where every vertex r linked 2gether by an edge (can’t have multiple edges)
Subgraph
Part of a graph that comes from a main one
Planar graph
Graph that can b drawn w/o any edges crossing
Degree of a vertex
No. Edges at the vertex
Handshaking theorem
Sum of degrees = 2 x (edges)
Aka always even
If there’s an odd degree of vertices
There r an even no. Of nodes
Isomorphism
2 graphs have same structure
Aka all their nodes have same degree
Digraph
Graph where edges have a particular direction
eg one way street
Bipartite graph
Vertices form 2 distinct sets and can’t link vertices w/in same set
Kr,s
Notation 4 bipartite graphs
r= no. Vertices in set 1
s= no. Vertices in set 2
Walk
Sequence of edges taken From one vertex 2 another
Trail
walk w no repeated edges in any directiob
Path
Trail w no repeated edges (but 1st vertex can b the last)
Cycle
Journey that starts and ends w/i any intersections
Closure
When walk/path/trail finishes at starting vertex (can only happen when every vertex has even degree)
Eularian trail
Closed trails where every edge is used just once
So traversable (aka an draw in one line) and all vertices must have even degree
Semi eularian graph
Non closed trails
So have 2 odd vertices and only traversable if start and end w the 2 off vertices
Hamiltonian cycle
Closed path the passes every vertex of a graph
Hamiltonian graph
Graph where has a Hamiltonian cycle