Research Article

A New Approach for Delivering Customized Security Everywhere: Security Service Chain

Algorithm 3

Antibody population initialization algorithm based on preference.
Input: , preference lists of all instances, the upper limit of hops between two nodes
Output: Initial antibody population
for   to   do
while  ()
for all   do
if    then  //  is the in-degree of
for all   do
end for
for  all   do
end for
end if
end for
end while
end for
return