Research Article
Software-Defined Collaborative Offloading for Heterogeneous Vehicular Networks
Algorithm 1
Hybrid awareness path collaboration.
Initialization: Path array ; | getSD() is the function of calculating standard deviation factor; | getC() is the function of calculating weight coefficient , and ; | getPW() is the function of calculating path metric value ; | Sort is to sort the members in based on in ascending. | void HPCFunction | for each ∈ PATH do | = getSD(, RTT); | = getSD(, BWT); | = getSD(, LOSS); | = getC; | = getC; | = getC; | = getPW; | if ; | S.append; | end | end | ; | for each do | if ; | ; | end | end | deliver packets based on the sequence. | end | |
|