Research Article

Machine Monitoring Protocols Based on Quality of Service (QoS) to Improve Performance of Real-Time Industrial Applications

Algorithm 2

CRO for computing the optimal path.
Input Tr, structure of molecule.
Output Optimal path selection
(1)Division of Transmitter (Tr) into one molecular and two molecular structures.
(2)Case 1: One molecular structure
(3)if (Satisfy the decomposition)
(4)Perform Decomposition operation
(5)Else
(6)Perform On-wall ineffective collision.
(7)Case 2: Two molecular structure
(8)if (Satisfy the decomposition)
(9)Perform Synthesis
(10)Else
(11)Perform inter-molecular ineffective collision
(12)For both case 1 and case 2, Check for the new minimum PE.
(13)Repeat the process until optimal solution is obtained.
(12)End
 Return Optimal path selection