An Adaptive Immune Ant Colony Optimization for Reducing Energy Consumption of Automatic Inspection Path Planning in Industrial Wireless Sensor Networks
Algorithm 1
AIACO algorithm program.
AIACO for Automatic Inspection Path Planning Optimization in IWSNs
Input: generations, M, N.
Output: The shortest inspection path s.
Begin
Initialize IWSNs.
Initialize the ant colony and place ants randomly;