Skip to main content
. 2021 Jul 8;23(7):874. doi: 10.3390/e23070874
Algorithm 5 IA
  • Input: the parameters M, N, δ, Pc, Pm

  • Begin

  • S1: initialize M antibodies xi(t) randomly, 0<iM, iterative times t = 1;

  • S2: compute f(i) ,0<iM, update pg(t); if it satisfies (t > N or precision δ), then go to step S4; otherwise, go to step S3;

  • S3: compute the affinity, the concentration and activity degree according to Equations (11), (12) and (13); the selection operation is executed by the roulette method to choose antibodies with large activity degree, and then execute crossover and mutation operations according to the probabilities Pc and Pm, respectively; iterative time t = t + 1, go to step S2;

  • S4: output the optimized results.

  • End