public VertexList Clone() { var vertexList = new VertexList(); foreach (var vertex in from DictionaryEntry entry in _vertices select (IVertex)entry.Value) { vertexList.Add(vertex.Clone()); } return vertexList; }
public VertexList Clone() { var vertexList = new VertexList(); foreach (var vertex in from DictionaryEntry entry in _vertices select(IVertex) entry.Value) { vertexList.Add(vertex.Clone()); } return(vertexList); }
public Graph(GraphType type) { Type = type; Vertices = new VertexList(); Edges = new List<Edge>(); }
public Graph(GraphType type) { Type = type; Vertices = new VertexList(); Edges = new List <Edge>(); }