Managing continuous k-nearest neighbor queries in mobile peer-to-peer networks