Research Article
Congestion Control and Traffic Scheduling for Collaborative Crowdsourcing in SDN Enabled Mobile Wireless Networks
Algorithm 2
Congestion control algorithm.
Algorithm for Congestion control | Begin | Input: mobile wireless network topology graph , crowdsourcing task flow matrix . | for each row in do | If is non-SDN node then | Assign the task flow to its next hop forwarding link; | repeat | , ; | until all non-SDN nodes are traversed; | If is SDN node then | Compute all possible forwarding path ; | Compute the link capacity ; | Use the AFSA algorithm to assign task flow to its next hop forwarding link; | repeat | , ; | until all SDN nodes are traversed; | Update the crowdsourcing task traffic matrix to , . Return to the third step. | Output: Number of times: . | End. |
|