A New Energy Prediction Algorithm for Energy-Harvesting Wireless Sensor Networks With Q-Learning | Synapse