MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / breadth_first_search

Method breadth_first_search

graph/breadth_first_search.cpp:95–132  ·  view source on GitHub ↗

* this function performs the breadth first search on graph and return a * mapping which maps the nodes to a boolean value representing whether the * node was traversed or not. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

testsFunction · 0.80
mainFunction · 0.80

Calls 4

frontMethod · 0.80
pushMethod · 0.45
emptyMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected