I. Introduction
Cooperative diversity is a promising approach to achieve high diversity gains in distributed wireless networks where nodes are allowed to cooperate by relaying each other's messages. The main idea behind this technique is to allow idle wireless nodes to relay signals emitted by a source node to the destination node. As a result, the message transmitted by the source undergoes multiple independent fading paths and the probability of an erroneous decision at the destination is significantly reduced [1]. The two most popular relaying techniques are amplify-and-forward (AF) relaying and decode-and-forward (DF) relaying. While in DF relaying the signal received from the source is decoded and re-encoded at the relays, it is only amplified in AF relaying. Thus, AF relaying is generally considered to be less complex and is particularly well-suited for applications with simple relay units such as wireless sensor networks.