public void LogAverage() { var defaultAvgDis = Distances.Average(); UnityEngine.Debug.Log("Default average Distance: " + defaultAvgDis); var defaultAvgTime = Times.Average(avg => avg.Ticks); UnityEngine.Debug.Log("Default average Time: " + defaultAvgTime + " ms"); }
public void LogAverage() { var PrimAvgDis = Distances.Average(); UnityEngine.Debug.Log("Prim average Distance: " + PrimAvgDis); var PrimAvgTime = Times.Average(avg => avg.Ticks); UnityEngine.Debug.Log("Prim average Time: " + PrimAvgTime + " ms"); }
public void LogAverage() { var KruskalAvgDis = Distances.Average(); UnityEngine.Debug.Log("Kruskal average Distance: " + KruskalAvgDis); var KruskalAvgTime = Times.Average(avg => avg.Ticks); UnityEngine.Debug.Log("Kruskal average Time: " + KruskalAvgTime + " ms"); }