Text this: AI-based adaptive management of limited resources in SDN-IoT ecosystems