Research Article

Design and Analysis of Hospital Throughput Maximization Algorithm under COVID-19 Pandemic

Algorithm 1

Breadth-first search algorithm.
1:  procedure BreadthFirstSearch
2:   for each in
3:     
4:     //initializing all vertices in the given graph
5:     
6:     
7:   end for
8:   
9:   
10:   
11:   //ModifiedBFS algorithm with specified root vertex
12:   for each
13:     if
14:       
15:   //ModifiedBFS algorithm with unreached vertices
16:     end if
17:   end for
18:   return