Research Article

A Trajectory Partition Method Based on Combined Movement Features

Algorithm 1

SPEMS pseudocode.

Input: .
Output: SP.
 1:  .
 2:  while do
 3:   j=i+1.
 4:   Calculate .
 5:   if or then
 6:    .
 7:    .
 8:    .
 9:    if then
 10:     .
 11:     Add to SP.
 12:     Remove points from to except .
 13:     .
 14:    else
 15:     .
 16:    end if
 17:   else
 18:    .
 19:   end if
 20:  end while