Research Article

A Protocol-Independent Botnet Detection Method Using Flow Similarity

Algorithm 2

, the algorithm for finding the blocks of nodes.
Require:
Ensure:
 if then
  
 else
  return
 end if
 for do
  if then
   Recursively call to add all vertices adjacent to to the
  end if
 end for
 return