|
Algorithm 2 NCS link embedding algorithm. |
Input: physical WSN , VSNR , node mapping results set
Output: The link embedding results
Initialization: The link embedding results
for in VSNR do
Choose with the highest
for
do
if
then
end if
end for
K-shortest path algorithm for and
Choose with the highest
Add to
end for
return link embedding successfully
|