fixed naming
This commit is contained in:
parent
22dc3e98b7
commit
bd62836d9b
@ -4,7 +4,7 @@ import requests
|
|||||||
|
|
||||||
|
|
||||||
def worker(outqueue, id):
|
def worker(outqueue, id):
|
||||||
print(f"Process {id} is preparing...")
|
print(f"Worker {id} is preparing...")
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import networkx as nx
|
import networkx as nx
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ def worker(outqueue, id):
|
|||||||
def max_comp_size(G):
|
def max_comp_size(G):
|
||||||
return max([len(c) for c in nx.connected_components(G)])
|
return max([len(c) for c in nx.connected_components(G)])
|
||||||
|
|
||||||
print(f"Process {id} is working...")
|
print(f"Worker {id} is working...")
|
||||||
while True:
|
while True:
|
||||||
del_list = []
|
del_list = []
|
||||||
G = input_graph.copy()
|
G = input_graph.copy()
|
||||||
|
Loading…
Reference in New Issue
Block a user