1. Introduction
Wireless sensor networks consist of hundreds to thousands of sensor nodes with limited computational and energy resources. Sensors are densely deployed over an area of interest, where they gather and disseminate local data using multihop communications, i.e., using other nodes as relays. A typical network configuration includes a large collection of stationary sensors operating in an unattended mode, which need to send their data to a node collecting the network information, the so-called sink node.