Research Article

Weighted Constraint Satisfaction for Smart Home Automation and Optimization

Algorithm 7

Gene transfer.
for    to    do
   Ascending order of the population according to (8);
   
   
   Select random consecutive genes;
   Transfer the selected genes from to
   
end