Application-centric recovery algorithm for wireless sensor and actor networks. (1st January 2013)