Multi-Agent Adaptive Dispatching for Heterarchical Manufacturing Systems