Research Article

A Fault Diagnosis Method for Power Transmission Networks Based on Spiking Neural P Systems with Self-Updating Rules considering Biological Apoptosis Mechanism

Algorithm 2

Self-updating matrix reasoning algorithm.
Input:
(1)Let
(2)if input neurons satisfy with the firing conditions of self-updating rules, then
(3) correct and the algorithm jumps to Step 7
(4)else
(5) the algorithm jumps to Step 7 without pulse value correction
(6)end if
(7)while ( or )
(8)if proposition neurons satisfy their firing conditions then
(9) proposition neurons fire and compute via
  
(10)end if
(11)if rule neurons satisfy their firing conditions then
(12)rule neurons fire and compute via
   
(13)end if
(14)
(15)end while
Output: Pulse values of output neurons