Cooperative Cognitive Dynamic System in UAV Swarms: Reconfigurable Mechanism and Framework