/// <summary> /// Display the cities in the final path. /// </summary> public void DisplaySolution() { int[] path = anneal.Array; for (int i = 0; i < path.Length; i++) { if (i != 0) { app.Write(">"); } app.Write("" + path[i]); } app.WriteLine(""); }
/// <summary> /// Display the cities in the final path. /// </summary> public void DisplaySolution() { int[] path = anneal.Array; for (int i = 0; i < path.Length; i++) { if (i != 0) { app.Write(">"); } app.Write("" + path[i]); } app.WriteLine(""); }