A threshold-based algorithm for continuous monitoring of k nearest neighbors | doi.page