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