Research Article

A Trajectory Partition Method Based on Combined Movement Features

Algorithm 2

DPDPED pseudocode.

Input: .
Output: FP.
 1:  =0.
 2:  .
 3:  if then
 4:   +1.
 5:   .
 6:   .
 7:   while do
 8:    .
 9:    if then
 10:     .
 11:     .
 12:    end if
 13:    +1.
 14:   end while
 15:   if then
 16:    .
 17:    .
 18:    .
 19:   end if
 20:  end if