Changeset 8337 for branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers
- Timestamp:
- 07/27/12 01:15:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/CrossoverPerformanceAnalyzer.cs
r8336 r8337 74 74 75 75 ScatterPlot plot; 76 DataRow dtRow; 76 77 int cnt = 0; 77 78 … … 117 118 Results.Add(new Result("Scatter Plot History", new ScatterPlotHistory())); 118 119 cnt = 0; 120 121 DataTable dt = new DataTable("Average Crossover Performance"); 122 dtRow = new DataRow("Average Crossover Performance per Generation"); 123 dt.Rows.Add(dtRow); 124 Results.Add(new Result("Average Crossover Performance", dt)); 119 125 } 120 126 121 127 if (!plot.Rows.ContainsKey(curGenStr)) { 122 128 if (GenerationsParameter.ActualValue.Value != 0) { 129 double avg = plot.Rows[(GenerationsParameter.ActualValue.Value - 1).ToString()].Points.Average(x => x.Y); 130 dtRow.Values.Add(avg); 131 123 132 ((ScatterPlotHistory)Results["Scatter Plot History"].Value).Add(plot); 124 133 InitializePlot();
Note: See TracChangeset
for help on using the changeset viewer.