Energy-Efficient Resource Allocation Scheme Based on Reinforcement Learning in Distributed LoRa Networks | Synapse