Research Article
Quality Utilization Aware Based Data Gathering for Vehicular Communication Networks
Algorithm 2
The Quality Utilization Based Programming,
.Input: data requester profile: | Output: Winner set , | (1)// to initialize the winner set and the achieved quality and payment | (2)For each grid | (3)For n = 1 to | (4)// to compute the Quality Utilization of each data in gird . | (5)End for | (6) = Sort according to in ascending order | // to get the ordered data set | (7) = Sort in ascending order | (8)For m = 1 to | (9) // to mark the selected data | (10)// to select the winning data | (11) | (12) | (13) | (14)End for | (15) | (16) | (17); | (18)While && . | (19)find in whose is biggest// to find the data which will be eliminated from the winner set | (20)If > | (21)delete from | (22)// to mark the data which is newly selected | (23)// to select the new data | (24)Renew , | (25) | (26)End if | (27)End while | (28)End for | (29) | (30) | (31) | (32)Return , |
|