Research Article
IoT-B&B: Edge-Based NFV for IoT Devices with CPE Crowdsourcing
Algorithm 3
IoT-B&B place selection algorithm.
function CHOOSEPLACE | candidates GETSORTEDCANDIDATES | for all candidate in candidates do | if candidate is then | current_cost CLOUDCOST | else | current_cost BNBCOST(, candidate) | end if | if current_cost cost then | return place | end if | end for | return none | end function |
|