Skip to content

Commit 5601372

Browse files
committed
Added TODO
1 parent d64c456 commit 5601372

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bafna_fvs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def get_fvs(og_G):
5757
G.nodes[node]["weight"] = 0.0
5858

5959
else:
60+
# TODO implement priority queue like mentioned in the paper to optimize this step
6061
gamma = min(1 / (G.degree(node) - 1) for node in G.nodes)
6162
for node in G.nodes:
6263
G.nodes[node]["weight"] -= gamma * (G.degree(node) - 1)

0 commit comments

Comments
 (0)