Secure Resource Allocation and Trajectory Design for UAV-Assisted IoT With Double Cluster Head | Synapse