Research Article
A Distributed Dynamic Super Peer Selection Method Based on Evolutionary Game for Heterogeneous P2P Streaming Systems
Algorithm 1
A distributed
-learning. Super Peer Selection algorithm for ESS (ESS-SPS).
| Step 1: Given the slot index , each peer initializes with a random between . | | Step 2: Initialize -value associated with for all peers in super groups. | | Step 3: loop | | During slot , for k = [1 : M] | | if then | | peer randomly choose to be a SP to serve as a super peer to download streaming chunks | | from the peers outside the group with dowpnload rate or to be an OP to download | | streaming chunks from the SP. | | else | | Choose strategy | | | | end if | | peer computes the indicator function and his/her directly payoff using (23). | | Step 4: peer computes average payoff and . | | Step 5: Updates the probability of being a SP using (22). | | Step 6: Update | | Step 7: endloop for all peers in super group. |
|