Research Article

Pushed SOLID: Deploying SOLID in Smartphones

Algorithm 1

Pseudocode used to generate random petitions, executed in .
Require: returns false if simulation time is over, ; petition probability, ; petition type, ; returns true if it is peak time, ; get the SOLID DOMAIN from smartphone, ; generates a number between [0.0, 1.0], ; wait for five minutes, ; returns the type of data to request, ; perform the request of a concrete data to a concrete smartphone, .
(1)do
(2)
(3)ifthen
(4)  do
(5)   
(6)   
(7)   
(8)  while
(9)end if
(10)
(11)while