{'fraction_non_alphanumeric': 0.026595744680851064, 'fraction_numerical': 0.0, 'mean_word_length': 5.121951219512195, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Optimal spectrum sharing and power allocation for OFDM-based two-way relaying

The problem of optimally allocating power for half-duplex two-way relaying in an OFDM system is considered. Assuming two-way relay is performed using analog network coding, and with total network power constraint, we obtain the optimal power allocation across subcarriers and among a relay and two communicating nodes to maximize the achievable sum rate in the network. We show that the resulting solution is a combination of two (usually opposite) power allocation strategies, i.e., water-filling across subcarriers and SNR-balancing between communicating end nodes. Further analysis also shows the optimal power allocation on the relay itself is a water-filling solution.