public BreadthFirstSearch(ISearchProblem <T> searchProblem, bool expandVisitedNodes = true) { _searchProblem = searchProblem; IsExpandVisitedNodesEnabled = expandVisitedNodes; MakeQueue(searchProblem.GetInitialNode()); }