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