Research Article

A Modified Gray Wolf Optimizer-Based Negative Selection Algorithm for Network Anomaly Detection

Algorithm 2

HDBD generation.
Input: : Self-sets : max grid number
Output: : Border detectors
(1) = Initialize the grid space
(2)while do
(3)
(4) = calculate self-sets location (S)
(5)for do
(6)if then
(7)
(8)end if
(9)end for
(10)
(11)end while
(12)
(13)for do
(14)  = Calculate the distance
(15)
(16)end for