using System.Collections.Generic; using System.Linq; namespace Microsoft.Msagl.GraphmapsWithMesh { class SteinerTree { public Stack Edgelist = new Stack(); public List SpanningTree = new List(); //ComponentCollection _compCollection; } public class Component { public int CId = 0; public double Dist; public bool Dead = true; public List V = new List(); public List Segments = new List(); public void AddVertex(Vertex w) { foreach (Vertex z in V) { if (w.Id == z.Id) return; } V.Add(w); } } public class Twin { public int A; public int B; public Twin(int x, int y) { A = x; B = y; } } public class Tuple { public Vertex A; public Vertex B; public int Value; public Tuple(Vertex x, Vertex y, int z) { A = x; B = y; Value = z; } } }