|
Algorithm 1 Delaunay Triangulation Inside/Outside Decision Based on APIT |
Input: Delaunay triangulation of an experiment site, the RSSI of an object node and its surrounding nodes;
Output: the sequential triangular regions where the monitored object resides for a period of time;
1. Set all accumulated variables to initial value 0;
2. for (each position corresponding to a regular time interval on the trajectory)
3. for (each triangular unit )
4. {
5. if (APIT() == outside) maintains unchanged;
6. if (APIT() == inside) incremented by 1;
7. }
8. Find the sequential triangular regions with the adjacent maximal accumulated values.
|