Research Article

Real-Time Safety Risk Assessment Based on a Real-Time Location System for Hydropower Construction Sites

Pseudocode 1

INPUT: (the observation symbol at time , the hidden Markov model)
OUTPUT: (the safety state probability distribution at time )
START:
   if     then
    for     to     do
     
   
    next  
   else
    for     to     do
     
     
     next  
     end  if
   return  
END