Adaptive optimal control allocation using Lagrangian neural networks for stability control of a 4WS–4WD electric vehicle | Synapse