Adaptive Communications and Trajectory Design for UAV-assisted Wireless Networks: a Multi-Scale Decision Framework