private void Init(Edge edge, LR lr) { Edge = edge; LeftRight = lr; NextInPriorityQueue = null; Vertex = null; }
public void SetVertex(LR leftRight, Vertex v) { if (leftRight == LR.Left) { _leftVertex = v; } else { _rightVertex = v; } }