Research Article

An Efficient Forwarding Capability Evaluation Method for Opportunistic Offloading in Mobile Edge Computing

Algorithm 1

Building information stored by the device .
Input: Start time .
Output: ui’s transient cluster , ui’s adjacent clusters .
Initialize: =, = , =0.
For every encountered participant , do
= tcurrent- is the ICT at the current time
If ( < x) // has high contact rate with
=+ Adding encountered to
=tcurrent Recording the encountered time
If ( contains ) Whether encountered before
Update in
Else
=+
Else
=tcurrentRecording the time that encounters
End
For ((tcurrent-) x==0) do Updating every x hours
For every in do
If () The ICT is larger than hour
=- Delete from
=- Delete ’s transient cluster from
End
End