- Timestamp:
- 07/11/17 19:36:03 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/MOCMAEvolutionStrategy.cs
r15177 r15203 245 245 set { Results[CurrentFrontResultName].Value = value; } 246 246 } 247 private ScatterPlotContent ResultsScatterPlot {248 get { return ( ScatterPlotContent)Results[ScatterPlotResultName].Value; }247 private ParetoFrontScatterPlot ResultsScatterPlot { 248 get { return (ParetoFrontScatterPlot)Results[ScatterPlotResultName].Value; } 249 249 set { Results[ScatterPlotResultName].Value = value; } 250 250 } … … 353 353 Results.Add(new Result(TimetableResultName, "Different quality meassures in a timeseries", table)); 354 354 Results.Add(new Result(CurrentFrontResultName, "The current front", new DoubleMatrix())); 355 Results.Add(new Result(ScatterPlotResultName, "A scatterplot displaying the evaluated solutions and (if available) the analytically optimal front", new ScatterPlotContent(null, null, null, 2)));355 Results.Add(new Result(ScatterPlotResultName, "A scatterplot displaying the evaluated solutions and (if available) the analytically optimal front", new ParetoFrontScatterPlot())); 356 356 357 357 var problem = Problem as MultiObjectiveTestFunctionProblem; … … 361 361 ResultsDifferenceBestKnownHypervolume = ResultsBestKnownHypervolume; 362 362 } 363 ResultsScatterPlot = new ScatterPlotContent(new double[0][], new double[0][], problem.BestKnownFront.ToJaggedArray(), problem.Objectives);363 ResultsScatterPlot = new ParetoFrontScatterPlot(new double[0][], new double[0][], problem.BestKnownFront.ToJaggedArray(), problem.Objectives, problem.ProblemSize); 364 364 } 365 365 #endregion … … 470 470 471 471 private void Analyze() { 472 ResultsScatterPlot = new ScatterPlotContent(solutions.Select(x => x.Fitness).ToArray(), solutions.Select(x => x.Mean.ToArray()).ToArray(), ResultsScatterPlot.ParetoFront, ResultsScatterPlot.Objectives);472 ResultsScatterPlot = new ParetoFrontScatterPlot(solutions.Select(x => x.Fitness).ToArray(), solutions.Select(x => x.Mean.ToArray()).ToArray(), ResultsScatterPlot.ParetoFront, ResultsScatterPlot.Objectives, ResultsScatterPlot.ProblemSize); 473 473 ResultsSolutions = solutions.Select(x => x.Mean.ToArray()).ToMatrix(); 474 474
Note: See TracChangeset
for help on using the changeset viewer.