| Algorithm 2: Neighbor Query in DBSCAN | |
|
Input: a set of GPS trajectory , parameters Output: a set of | |
| 1. | ; |
| 2. | rtree.query(); |
| 3. | ; |
| 4. | foreach () |
| 5. | ; |
| 6. | if ())) |
| 7. | |
| 8. | if () |
| 9. | |
| 10. | end if |
| 11. | end if |
| 12. | end foreach |
| Algorithm 2: Neighbor Query in DBSCAN | |
|
Input: a set of GPS trajectory , parameters Output: a set of | |
| 1. | ; |
| 2. | rtree.query(); |
| 3. | ; |
| 4. | foreach () |
| 5. | ; |
| 6. | if ())) |
| 7. | |
| 8. | if () |
| 9. | |
| 10. | end if |
| 11. | end if |
| 12. | end foreach |