Skip to main content
. 2020 Apr 8;20(7):2098. doi: 10.3390/s20072098
Algorithm 1. DataCapturing
Input: User transactions and preferences, userPref
Output: Generated user profiles and location logs
1 LP = locationPointDetection(userPref);
2 userLogs = locationLogsGeneration(userPref);
3 Foreach user do
4   TS = durationCalculation(user, LP);
5   PF = pointFrequency(user, LP);
6   PR = pointRecency(user, LP);
7   LV = locationPointVelocity(user, LP);
8   userProfiles.add(TS, PF, PR, LV);
9 Return userProfiles, userLogs;