MCPcopy Index your code
hub / github.com/csunny/algorithm / bfs

Method bfs

graph/base.py:88–108  ·  view source on GitHub ↗

从一个顶点出发对图进行广度优先遍历 :param n: :return:

(self, n)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

base.pyFile · 0.80

Calls 4

enqueueMethod · 0.95
dequeueMethod · 0.95
getMethod · 0.80
BaseQueueClass · 0.70

Tested by

no test coverage detected