Research Article

Differential Games of Rechargeable Wireless Sensor Networks against Malicious Programs Based on SILRD Propagation Model

Algorithm 1

Attack-Defense Game based on the SILRD Model.
(1);
(2);
(3);
(4);
(5)if then
(6)Substitute into (2)–(6);
(7)Substitute into (17)–(21);
(8)end if
(9)for to do
(10)Substitute into (2)–(6);
(11)Substitute into (17)–(21);
(12)Substitute into (9)–(13);
(13)end for