public PrimsResult(int size)
 {
     Parent = new SearchData <int>(size, -1);
     Cost   = new SearchData <decimal>(size, PositiveInfinity);
 }
Esempio n. 2
0
 public PrimsResult(int size)
 {
     Parent = new SearchData <int>(size, -1);
     Cost   = new SearchData <decimal>(size, decimal.MaxValue);
 }