Algorithm 1.
Node Ni calculates its own temperature.
φi = 0; |
sort neighbors by temperature descending; |
foreachNeighbor Nj ∈ SNdo |
ifφi < φjthen |
φi = φi + (φj − φi) · ξi; |
end |
end |
Node Ni calculates its own temperature.
φi = 0; |
sort neighbors by temperature descending; |
foreachNeighbor Nj ∈ SNdo |
ifφi < φjthen |
φi = φi + (φj − φi) · ξi; |
end |
end |