Algorithm 6.
(Associative) SOINN+ Node deletion
1: for i in A do |
2: // Update unutilities of all nodes (Equation 10). |
3: end for |
4: Set of unutilities of all nodes with edges |
5: Set of unconnected nodes |
6: // (Equation 11) |
7: |
8: // (Equation 12) |
9: for i in A do |
10: if |E| > 1 and U(i) > λnode and i has no edges then |
11: A ← A\{i} // Delete the node. |
12: (A-SOINN+): Update , , and |
13: end if |
14: end for |
15: for i in A do |
16: IT(i) ← IT(i) + 1 // Increment the idle time of each node. |
17: end for |