Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/23/17 16:11:02 (8 years ago)
Author:
abeham
Message:

#2457: updated branch to trunk

Location:
branches/PerformanceComparison/HeuristicLab.Analysis
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • branches/PerformanceComparison/HeuristicLab.Analysis

  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/DataRow.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    5252    }
    5353    #endregion
     54    #region Histogram Aggregation
     55    public enum DataRowHistogramAggregation {
     56      Overlapping,
     57      SideBySide,
     58      Stacked
     59    }
     60    #endregion
    5461
    5562    private DataRowChartType chartType;
     
    140147          exactBins = value;
    141148          OnPropertyChanged("ExactBins");
     149        }
     150      }
     151    }
     152    private DataRowHistogramAggregation aggregation;
     153    public DataRowHistogramAggregation Aggregation {
     154      get { return aggregation; }
     155      set {
     156        if (aggregation != value) {
     157          aggregation = value;
     158          OnPropertyChanged("Aggregation");
    142159        }
    143160      }
     
    224241      get { return exactBins; }
    225242      set { exactBins = value; }
     243    }
     244    [Storable(Name = "Aggregation", DefaultValue = DataRowHistogramAggregation.Overlapping)]
     245    private DataRowHistogramAggregation StorableAggregation {
     246      get { return aggregation; }
     247      set { aggregation = value; }
    226248    }
    227249    [Storable(Name = "ScaleFactor")]
     
    255277      this.bins = original.bins;
    256278      this.exactBins = original.exactBins;
     279      this.aggregation = original.aggregation;
    257280      this.scaleFactor = original.scaleFactor;
    258281      this.displayName = original.displayName;
     
    269292      bins = 10;
    270293      exactBins = false;
     294      aggregation = DataRowHistogramAggregation.Overlapping;
    271295      scaleFactor = 1.0;
    272296      displayName = String.Empty;
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/DataTable.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/DataTableHistory.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/DataTableValuesCollector.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/DataTableVisualProperties.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/HeatMap.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/HeatMapHistory.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlot.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlotDataRow.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlotDataRowVisualProperties.cs

    r13722 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2020#endregion
    2121
    22 using HeuristicLab.Common;
    23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2422using System;
    2523using System.ComponentModel;
    2624using System.Drawing;
     25using HeuristicLab.Common;
     26using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2727
    2828namespace HeuristicLab.Analysis {
     
    4545    }
    4646    #endregion
     47    #region
     48    public enum ScatterPlotDataRowRegressionType {
     49      None,
     50      Linear,
     51      Polynomial,
     52      Exponential,
     53      Logarithmic,
     54      Power
     55    }
     56    #endregion
    4757
    4858    private Color color;
     
    101111      }
    102112    }
    103     private bool showRegressionLine;
    104     public bool ShowRegressionLine {
    105       get { return showRegressionLine; }
    106       set {
    107         if (showRegressionLine == value) return;
    108         showRegressionLine = value;
    109         OnPropertyChanged("ShowRegressionLine");
     113    private ScatterPlotDataRowRegressionType regressionType;
     114    public ScatterPlotDataRowRegressionType RegressionType {
     115      get { return regressionType; }
     116      set {
     117        if (regressionType != value) {
     118          regressionType = value;
     119          OnPropertyChanged("RegressionType");
     120        }
     121      }
     122    }
     123    private int polynomialRegressionOrder;
     124    public int PolynomialRegressionOrder {
     125      get { return polynomialRegressionOrder; }
     126      set {
     127        if (polynomialRegressionOrder != value) {
     128          polynomialRegressionOrder = value;
     129          OnPropertyChanged("PolynomialRegressionOrder");
     130        }
     131      }
     132    }
     133    private bool isRegressionVisibleInLegend;
     134    public bool IsRegressionVisibleInLegend {
     135      get { return isRegressionVisibleInLegend; }
     136      set {
     137        if (isRegressionVisibleInLegend != value) {
     138          isRegressionVisibleInLegend = value;
     139          OnPropertyChanged("IsRegressionVisibleInLegend");
     140        }
     141      }
     142    }
     143    private string regressionDisplayName;
     144    public string RegressionDisplayName {
     145      get { return regressionDisplayName ?? string.Empty; }
     146      set {
     147        if (regressionDisplayName != value) {
     148          if (value == null && regressionDisplayName != string.Empty) {
     149            regressionDisplayName = string.Empty;
     150            OnPropertyChanged("RegressionDisplayName");
     151          } else if (value != null) {
     152            regressionDisplayName = value;
     153            OnPropertyChanged("RegressionDisplayName");
     154          }
     155        }
    110156      }
    111157    }
     
    137183      set { displayName = value; }
    138184    }
    139     [Storable(Name = "ShowRegressionLine")]
    140     private bool StorableShowRegressionLine {
    141       get { return showRegressionLine; }
    142       set { showRegressionLine = value; }
     185    [Storable(Name = "RegressionType")]
     186    private ScatterPlotDataRowRegressionType StorableRegressionType {
     187      get { return regressionType; }
     188      set { regressionType = value; }
     189    }
     190    [Storable(Name = "PolynomialRegressionOrder", DefaultValue = 2)]
     191    private int StorablePolynomialRegressionOrder {
     192      get { return polynomialRegressionOrder; }
     193      set { polynomialRegressionOrder = value; }
     194    }
     195    [Storable(Name = "IsRegressionVisibleInLegend", DefaultValue = true)]
     196    private bool StorableIsRegressionVisibleInLegend {
     197      get { return isRegressionVisibleInLegend; }
     198      set { isRegressionVisibleInLegend = value; }
     199    }
     200    [Storable(Name = "RegressionDisplayName")]
     201    private string StorableRegressionDisplayName {
     202      get { return regressionDisplayName; }
     203      set { regressionDisplayName = value; }
    143204    }
    144205    #endregion
     
    153214      this.displayName = original.displayName;
    154215      this.isVisibleInLegend = original.isVisibleInLegend;
    155       this.showRegressionLine = original.showRegressionLine;
     216      this.regressionType = original.regressionType;
     217      this.polynomialRegressionOrder = original.polynomialRegressionOrder;
     218      this.isRegressionVisibleInLegend = original.isRegressionVisibleInLegend;
     219      this.regressionDisplayName = original.regressionDisplayName;
    156220    }
    157221    public ScatterPlotDataRowVisualProperties() {
     
    161225      displayName = String.Empty;
    162226      isVisibleInLegend = true;
    163       showRegressionLine = false;
     227      regressionType = ScatterPlotDataRowRegressionType.None;
     228      polynomialRegressionOrder = 2;
     229      isRegressionVisibleInLegend = true;
     230      regressionDisplayName = string.Empty;
    164231    }
    165232    public ScatterPlotDataRowVisualProperties(string displayName)
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlotHistory.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlotVisualProperties.cs

    r12012 r14600  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
Note: See TracChangeset for help on using the changeset viewer.