public ABVertex(VertexType type, TwinGraph twinGraph) { Type = type; _inL = false; D = new LinkedList <ABVertex>(); Descendants = new LinkedList <IStackableVertex>(); IsExpanded = false; TwinGraph = twinGraph; }
public TwinVertex(Vertex precursor, TwinGraph tg) { Precursor = precursor; Graph = tg; if (precursor != null) { A = new ABVertex(VertexType.A, precursor.Name, Graph); B = new ABVertex(VertexType.B, precursor.Name, Graph); } else { A = new ABVertex(VertexType.A, Graph); B = new ABVertex(VertexType.B, Graph); } A.SetTwin(B); B.SetTwin(A); }
public MDFS(TwinGraph tg, IVertexStack k, LinkedList <ABVertex> l) { _tg = tg; _k = k; _l = l; }
public ABVertex(VertexType type, string name, TwinGraph twinGraph) : this(type, twinGraph) { _name = name; }