Research Article

Theory and Application of Vessel Speed Dynamic Control considering Safety and Environmental Factors

Algorithm 1

Data cleaning by using domain knowledge.
Input: the data set x of dimension
Output: cleaning data by using Algorithm 1
(1) Sort voyage time of data entries
(2)While or
(3)  
(4) implemented linear interpolation for Lon (i), Lat (i), DOG (i)
(5)for do
(6)  if and
(7)   
(8)   j = j + 1
(9)   newdata[j, :]←data[i, :]
(10)  end
(11) end
(12)end