Graph Algorithms (2)
Graph Algorithms (2)
GRAPH ALGORITHMS
What is a Graph?
Ø let's look at some types of terms to imply the fundamental variations between
them.
§ Order: Order defines the total number of vertices present in the graph.
§ Size: Size defines the number of edges present in the graph.
§ Self-loop: It is the edges that are connected from a vertex to itself.
§ Isolated vertex: It is the vertex that is not connected to any other vertices in
the graph.
Cont…
Final path: