Update analyzer.py
This commit is contained in:
parent
f0c7568d38
commit
939215ef5e
@ -36,6 +36,7 @@ class Analyzer:
|
||||
if best_hop is None:
|
||||
print('nobest')
|
||||
return None
|
||||
print(best_hop, best_distance)
|
||||
tail = self.find_path(best_hop, to)
|
||||
if tail is None: return None
|
||||
return [best_hop] + tail
|
||||
|
Loading…
Reference in New Issue
Block a user