Research Article

Energy Optimization for Outdoor Activity Recognition

Algorithm 1

Trajectory classification.
Input:
A GPS point ;
Output:
The activity of the person;
(1)  For each
(2)   Store in TW;
(3)  End for each
(4)  For each  
(5)   Classify every point in TW;
(6)   Update ;
(7)   Update the centers of clusters (, );
(8)   Calculate the threshold µ;
(9)   //Cluster’s accumulation search
(10)    If () then
(11)      POI = spatial recognition ();
(12)      Activity = activity discovery (POI);
(13)    End if
(14)   Update ;
(15)   Return Activity
(16)   End for each