|
Algorithm 2 Optional Paths Search Function |
-
Input:
A flow f, the first SDN node s on the MTE route of f, the set of neighbours of s
-
Output:
The set of optional paths
-
1:
for each
do
-
2:
Find the MTE route from node v to the destination of flow f with the actual energy consumption calculated by formula (20);
-
3:
;
-
4:
Delete the loop in ;
-
5:
;
-
6:
end for
-
7:
return
.
|