Research Article
Recovering Individual’s Commute Routes Based on Mobile Phone Data
Algorithm 1
Leader clustering algorithm.
Input: all the points of one person, denote as P | Output: all the groups of one person, denote as G; | (1) while do | (2) = SelectLeader | (3) | (4) nearbyPoints = selectNearbyPoints | (5) .addAll(nearbyPoints) | (6) .removeAll(nearbyPoints) | (7) end while |
|