Minor comments
parent
a07e261677
commit
2f2ec69364
|
@ -11,6 +11,7 @@ class State(Enum):
|
||||||
class Graph(object):
|
class Graph(object):
|
||||||
|
|
||||||
def bfs(self, source, dest):
|
def bfs(self, source, dest):
|
||||||
|
""" Return True if there is a path from source to dest."""
|
||||||
if source is None:
|
if source is None:
|
||||||
return False
|
return False
|
||||||
queue = deque()
|
queue = deque()
|
||||||
|
|
Loading…
Reference in New Issue