This document contains the description for the MATLAB source codes to simulate Figs. 5 and 6  of the paper

Mohit K. Sharma and Chandra R. Murthy, "Distributed Power Control for Multi-hop Energy Harvesting Links with Retransmission" IEEE Transactions on Wireless Communications, 2018

The following list contains description about the files in each directory, please read it carefully. 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


1. MHexpsetupGeo_Global_ARQ_SF:  main file to design and evaluate the performance of the CGP-based policy by exhaustive search over all integer combinations, 
                                 for a multihop link with slow fading channels. Also, it computes the PDP of the second hop and the performance of the relaxed policy.

2. MHexpsetupGeo_Slotalloc_ARQ_SF:  main file to study the impact of slot allocations on the PDP. It computes the PDP corresponding to a particular slot allocation for a multihop slow fading EH

3. MHexpsetupGeo_EPP_ARQ_SF:  main file to compute the performance of EPP in the general case. 

4. MHexpsetup_EPP_Splcase_ARQ_SF: main file to evaluate the performance of equal power policy (EPP) for a multihop link with slow fading channels

5. opt_policy_geo_global: This function finds the optimal policy by exhaustively searching the policy over all possible integer combinations across the nodes. 

6. opt_policy_sf_slotalloc_relaxed: This function finds the optimal policy by relaxing the integer constraints for the nodes with different slot allocations.

7. All the files containing the term "coeff" in its name are functions to compute the coefficients for monomial approximations of denominator posynomials. 


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

For further queries please email: {smohit,cmurthy}@iisc.ac.in or mohit.sharma987@gmail.com
