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