Research Article

A Framework for Spatial Interaction Analysis Based on Large-Scale Mobile Phone Data

Algorithm 3

Identification of activity points.
(1)  Input                           Mobile subscriber:
(2)                                          Set of logs in chronological sort:
(3)                                                    
(4)                                          The threshold of stay time:  min
(5)  Output                      The activity chain of mobile subscriber :
(6)                                                   
(7)  Procedure               Activity
(8)  ; ;
(9)  while do
(10) /* Calculate the time of stationary. */
(11)               
(12)              if and then
(13)                      if then
(14)                                           
(15)                      
(16)