Research Article
Mobile Data Traffic Offloading through Opportunistic Vehicular Communications
Algorithm 1: Max global utility potential (MGUP) algorithm.
Input: the contact time and the contact duration of each vehicle | Output: the maximum global utility potential of object | 1: Compute the total number of time slots that the vehicle will stay with forwarder : | 2: Vehicle reports its future utility in each time slot | 3: The maximum available time slot | 4: for to do | 5: | 6: end for | 7: Initialize the | 8: for to do | 9: | 10: ifthen | 11: | 12: end if | 13: end for | 14: return |
|
Algorithm 1: Max global utility potential (MGUP) algorithm. |