Enhanced Reinforcement Learning-based Resource Allocation and Interference Mitigation in Beyond 5G D2D Heterogeneous Networks | Synapse