TAN: A Distributed Algorithm for Dynamic Task Assignment in WSNs | IEEE Journals & Magazine | IEEE Xplore