Security and Communication Networks / 2019 / Article / Alg 1

Research Article

VHDRA: A Vertical and Horizontal Intelligent Dataset Reduction Approach for Cyber-Physical Power Aware Intrusion Detection Systems

Algorithm 1

The modified PSO Algorithm.

Initialize population
While (number of generations, or the stopping criterion is not met)
 For to number of particles
  If the fitness of is greater than the fitness of
  then Update
   If the fitness of is greater than that of then
  Next k
  For each dimension
   if then
Next generation until stopping criterion