Changeset 11071 for trunk/sources
- Timestamp:
- 07/02/14 13:36:46 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/PathTSPTourView.cs
r11060 r11071 111 111 Point[] tour = new Point[permutation.Length]; 112 112 for (int i = 0; i < permutation.Length; i++) { 113 if (permutation[i] >= 0 && permutation[i] < points.Length) 114 tour[i] = points[permutation[i]]; 113 tour[i] = points[permutation[i]]; 115 114 } 116 115 graphics.DrawPolygon(Pens.Black, tour);
Note: See TracChangeset
for help on using the changeset viewer.