Skip to main content
. 2024 Oct 8;9(10):604. doi: 10.3390/biomimetics9100604
Algorithm 4: Knowledge Transfer of DE
Input: pt: a parent from target task.
   popt: the population of target task.
   pops: the population of source task.
Output: c: the offspring generated.
Begin
1:  Select one individual xr1 from popt randomly and xr1! = pt.
2:  Select two individuals xr2, xr3 from pops randomly and xr2! = xr3.
3:  According to Formula (1) to generate mutated individual vi.
4:  According to Formula (2) to generate offspring c.
End