Esempio n. 1
0
 public BreadthFirstSearchWithBipartiteDetection(ISearchableGraph g)
 {
     _graph      = g;
     _searchData = new SearchData(g.Size());
 }
Esempio n. 2
0
 public BreadthFirstSearch(ISearchableGraph g)
 {
     _visitedFrom = new SearchData(g.Size());
     _graph       = g;
     _searchData  = new SearchData(g.Size());
 }