Research Article
Design and Analysis of Hospital Throughput Maximization Algorithm under COVID-19 Pandemic
1: procedure GetAllEdges(P) | 2: | 3: //path P is an array list with node objects | 4: for | 5: if | 6: | 7: procedure RemoveUsedPath | 8: | 9: for each | 10: if | 11: | 12: end if | 13: end for | 14: return | 15: procedure TraverseEdges | 16: ///Assume that SD1 is non-COVID nodes dataset | 17: ///Assume that SD2 is COVID nodes dataset | 18: | 19: | 20: if covers all nodes in : | 21: | 22: | 23: end if | 24: | 25: if covers all nodes in : | 26: | 27: end if | 28: | 29: return | 30: procedure ColorPath | 31: // belongs to non-COVID edges generated from BFS algorithm | 32: // belongs to COVID edges generated from BFS algorithm | 33: for each | 34: if | 35: | 36: else if | 37: | 38: else | 39: | 40: return |
|