A proactive link-failure resilient routing protocol for MANETs based on reinforcement learning | Synapse