Changeset 5204 for trunk/sources/HeuristicLab.Problems.TestFunctions.Views
- Timestamp:
- 01/03/11 23:21:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TestFunctions.Views/3.3/SingleObjectiveTestFunctionSolutionView.cs
r4068 r5204 157 157 graphics.DrawLine(cross, a - 4, b + 4, a + 4, b - 4); 158 158 } 159 foreach (RealVector vector in Content.Population) 160 graphics.FillEllipse(Brushes.Blue, (float)((vector[0] - xMin) * xStep - 4), (float)((vector[1] - yMin) * yStep - 4), 8.0f, 8.0f); 159 if (Content.Population != null) { 160 foreach (RealVector vector in Content.Population) 161 graphics.FillEllipse(Brushes.Blue, (float)((vector[0] - xMin) * xStep - 4), (float)((vector[1] - yMin) * yStep - 4), 8.0f, 8.0f); 162 } 161 163 if (Content.BestRealVector != null) { 162 164 graphics.FillEllipse(Brushes.Green, (float)((Content.BestRealVector[0] - xMin) * xStep - 5), (float)((Content.BestRealVector[1] - yMin) * yStep - 5), 10.0f, 10.0f);
Note: See TracChangeset
for help on using the changeset viewer.