Tarjan: Difference between revisions
m
→Python: As class: (`gv` is not used anywhere)
(Corrected missing starting "<".) |
Alextretyak (talk | contribs) m (→Python: As class: (`gv` is not used anywhere)) |
||
Line 997:
self.name = name
self.connections = connections
g = defaultdict(list) # map node vertex to direct connections
for n1, n2 in connections:
|