Research Article
Quality Utilization Aware Based Data Gathering for Vehicular Communication Networks
Algorithm 1
The Quality Utilization Based Programming (QUADG),
.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 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 to | (9); // to mark the selected data | (10)// to select the winning data | (11) | (12) | (13) | (14)End for | (15) | (16)While && | (17)find in whose is smallest// to find the data which will be eliminated from the winner set | (18)If | (19)delete from | (20)// to mark the data which is newly selected | (21)// to select the new data | (22)Renew , | (23)End if | (24) | (25)End while | (26)End for | (27) | (28) | (29) | (30)Return , |
|