Research Article
Performance Analysis of Relay Subset Selection for Amplify-and-Forward Cognitive Relay Networks
Algorithm 1
The pseudocode of the proposed algorithm.
INPUTS: | for | // use minimum amplification | | end for | // non-trivial subsets of | | for // number of selected subsets in | while | for max // denotes th element of th selected subset | endwhile | | end for | s.t. corresponding to is maximum | OUTPUTS: |
|