public double Solve(long pointCount, long[][] points, long clusterCount) { Plain p = new Plain(pointCount, points); p.CalcMST(p.Points[0]); return(Math.Round(p.MST.OrderByDescending(x => x).ToArray()[clusterCount - 2], 6)); }
public double Solve(long pointCount, long[][] points) { Plain p = new Plain(pointCount, points); return(p.CalcMST(p.Points[0])); }