Joint task scheduling, resource allocation, and UAV trajectory under clustering for FANETs | Synapse