public void IsolatedVertex() { AdjacencyGraph g = new AdjacencyGraph(); g.AddVertex(); target = new CyclePoppingRandomTreeAlgorithm(g); target.RandomTree(); }
public void IsolatedVertex() { AdjacencyGraph<int, Edge<int>> g = new AdjacencyGraph<int, Edge<int>>(true); g.AddVertex(0); target = new CyclePoppingRandomTreeAlgorithm<int, Edge<int>>(g); target.RandomTree(); }
public void IsolatedVertex() { AdjacencyGraph <int, Edge <int> > g = new AdjacencyGraph <int, Edge <int> >(true); g.AddVertex(0); target = new CyclePoppingRandomTreeAlgorithm <int, Edge <int> >(g); target.RandomTree(); }
public void Loop() { target = new CyclePoppingRandomTreeAlgorithm(GraphFactory.Loop()); target.RandomTree(); }
public void Loop() { CyclePoppingRandomTreeAlgorithm<string, Edge<string>> target = new CyclePoppingRandomTreeAlgorithm<string, Edge<string>>(new AdjacencyGraphFactory().Loop()); target.RandomTree(); }
public void Loop() { CyclePoppingRandomTreeAlgorithm <string, Edge <string> > target = new CyclePoppingRandomTreeAlgorithm <string, Edge <string> >(new AdjacencyGraphFactory().Loop()); target.RandomTree(); }