Research Article

Improved Vessel Trajectory Prediction Model Based on Stacked-BiGRUs

Algorithm 1

Anchor Trajectory Elimination.
(i)Input: trajectory to be processed , number of trajectory point , anchoring speed threshold , sailing speed threshold , Detection length
(ii)Output: processed trajectory
(1)
(2)For in do//Start identifying anchoring point
(3)If < and all in meet
(4) Mark as an anchor point
(5)For in do//Start identifying sailing point
(6)  If > and all in meet
(7)  Mark as an sailing point
(8)  Delete the trajectory between and //Eliminate anchor trajectory
(9)  Break
(10)End If
(11)End For
(12)End If
(13)End For
(14)Return