Exemplo n.º 1
0
 private void MakeMst(ISet <int> excludes)
 {
     while (!TerminatedPrematurely && !_priorityQueue.IsEmpty)
     {
         Visit(_graph, _priorityQueue.DeleteMinimum(), excludes);
     }
 }