Research Article
An Improved Adaptive Clone Genetic Algorithm for Task Allocation Optimization in ITWSNs
Algorithm 1
IACGA’s algorithm pseudocode.
| IACGA for Task Allocation Optimization in ITWSNs | | BEGIN | | Initialize the population, using random methods; | | Set generations = maximum iteration; | | For generation =1: generations | | Calculate the fitness of the parent; | | Find the individuals with the highest fitness; | | Clone the best individual; | | Immune acceptance; | | if The population fitness converge | | Increase the probability of crossover and mutation; | | else | | Reduce the probability of crossover and mutation; | | end | | Crossover operation; | | Mutation operation; | | end For | | Output the best task allocation scheme; | | END |
|