A breadth-first search from keeps a queue of discovered vertices, initially ; it removes the vertex at the head and discovers each undiscovered neighbour of , setting and the parent of to , and adds it at the tail. The parent links form the BFS tree, rooted at .
Computer Science · المسرد
ما معنى Breadth-first search, BFS tree؟
يُعرف أيضًا باسم: breadth-first search · BFS tree