Refactor: Rename adjMatrix to adjList
This commit is contained in:
@@ -20,7 +20,7 @@ public:
|
||||
|
||||
template<typename T>
|
||||
BreadthFirstTree<T>::BreadthFirstTree(Digraph<T> G, T root) {
|
||||
this->adjMatrix = algo::BreadthFirstSearch<T>(G.adjMatrix).execute(root);
|
||||
this->adjList = algo::BreadthFirstSearch<T>(G.adjList).execute(root);
|
||||
}
|
||||
|
||||
} // namespace graph
|
||||
|
||||
Reference in New Issue
Block a user