Research Article

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

Algorithm 3

MDGWO-NSA.
Input: border detectors
Output: Detectors
(1)Initialization: Generates detectors at each vertex in space, ;
(2)Preliminary population order, ; Maximum search times, ;
(3)Search agents number, ; Optimal scores of the search agents number, ;
(4)Self property number, ;
(5)wolf; wolf; wolf;
(6)Radius of; Radius of; Radius of 
(7)while do
(8)
(9)
(10)while do
(11)
(12)for do
(13)for do
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)end for
(22) = Calculate radius
(23) = Calculate position score
(24)if then
(25)
(26)
(27)
(28)
(29)end if
(30)end for
(31)if then
(32)
(33)break
(34)end if
(35) = Calculate detection rate
(36)end while
(37)end while