Research Article
A Genetic Algorithm-Based Soft Decision Fusion Scheme in Cognitive IoT Networks with Malicious Users
Algorithm 1
Proposed GA-based SDF scheme.
| (1) For n = 1 to Sensing Interval | | (2) For i = 1 to M | | (3) Energy reported by the SU as | | (4) End | | // Determine optimal threshold and weighting coefficient values | | (5) Initialize randomly weights as an | | (6) Normalize weights . | | (7) Calculate based on . | | (8) For to | | (9) Investigate threshold against the vector as . | | (10) Determine based on and . | | (11) Find based on and . | | (12) Estimate . | | (13) End | | (14) Sort in ascending order probabilities. | | (15) The chromosomes at the top are selected as parents. | | (16) Crossover | | (17) Mutate | | // End sensing | | (18) Select the optimal and with minimum | | (19) For i = 1 to M | | (20) // new energies against users | | (21) End | | (22) If | | (23) | | (24) Else | | (25) | | (26) End | | (27) End |
|