Research Article

Optimization of the Critical Diameter and Average Path Length of Social Networks

Algorithm 5

Edge-Adding Learning.
Input: the offspring chromosome: . The adjacency matrix of the initial network: .
  ;
(3) Update the matrix by decoding ;
(4) Repeat
(5) randomly choose a gene ;
(6) Until the diameter of the updated matrix
(7) Output: .