Unit 4 - Introduction to Graphs Flashcards
Undirected Graphs
All the edges are bidirectional
Vertices and Edges letters
Nodes or vertices (V)
Connection or lines edges (E)
Finite graph
A graph with a finite number of nodes and edges
Isolated node
Is a node without neighbors
Simple graph
A graph that has no loops and it has no multiple edges
Connected graph
A graph where there is a path between any two vertices
Degree of a node
The number of edges starting from a node.
δ delta
Isolated nodes have 0 degree.
Loops count double and increase the node degree by 2.
Handshaking lemma
In any finite, undirected and simple graph, the sum of the node degree is exactly twice the number of edges.
The sum of all node degrees of a graph is even (pari).
Isomorphic
Two graphs which contain the same number of graph vertices connected in the same way.
Regular graph
A graph in which every node has the same degree.
Generally the number of edges are 1/2ng
n = nodes
g = degree
Planar graph
If it has an isomorphic representation that can be drawn in the plane without intersections.
Euler polyhedral formula (planar graph)
v - e + f = 2
v = nodes
e = edges
f = number of faces
Subgraph
is created by removing edges or nodes together with all edges ending in that node.
Adiacent matrix
Is used for the compact representation of a graph.
How is an adiacent matric of an undirected graph?
It is always symmetric, because an edge connect both one node to the other and vice versa.