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