Changeset 16611 for branches/2989_MovingPeaksBenchmark/HeuristicLab.Problems.MovingPeaksBenchmark/3.3/Analyzers
- Timestamp:
- 02/17/19 05:21:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2989_MovingPeaksBenchmark/HeuristicLab.Problems.MovingPeaksBenchmark/3.3/Analyzers/BestMovingPeaksBenchmarkSolutionAnalyzer.cs
r16609 r16611 136 136 DataTable table = new DataTable("Distance to Optimum"); 137 137 table.Rows.Add(new DataRow("Distance to Optimum")); 138 table.Rows["Distance to Optimum"].VisualProperties.StartIndexZero = true; 138 139 distanceTable = new Result("Distance to Optimum", table); 139 140 results.Add(distanceTable); … … 141 142 (distanceTable.Value as DataTable).Rows["Distance to Optimum"].Values.Add(distanceToOptimum); 142 143 144 IResult offlineErrorTable; 145 if (!results.TryGetValue("Offline Error Chart", out offlineErrorTable)) { 146 DataTable table = new DataTable("Offline Error"); 147 table.Rows.Add(new DataRow("Offline Error")); 148 table.Rows["Offline Error"].VisualProperties.StartIndexZero = true; 149 offlineErrorTable = new Result("Offline Error Chart", table); 150 results.Add(offlineErrorTable); 151 } 152 (offlineErrorTable.Value as DataTable).Rows["Offline Error"].Values.Add((results["Offline Error"].Value as DoubleValue).Value); 153 143 154 return base.Apply(); 144 155 }
Note: See TracChangeset
for help on using the changeset viewer.