Reading-Notes

Graphs Summary :

Defenition :

Used terminology :

  1. Vertex : “also called a “node”, is a data object that can have zero or more adjacent vertices”.
  2. Edge : “a connection between two node”.
  3. Neighbor : “are its adjacent nodes, i.e., are connected via an edge”.
  4. Degree : “the number of edges connected to that vertex”.

Undirected Graphs:

imahe3

Directed Graphs:

image4

Complete vs Connected vs Disconnected :

Acyclic vs Cyclic :

Graph Representation :

  1. Adjacency Matrix image1
  2. Adjacency List image2

Weighted Graphs :

Traversals :

image5

image7

Real World Uses of Graphs :

Sources:

Graphs