Changeset 7122


Ignore:
Timestamp:
12/05/11 10:58:54 (10 years ago)
Author:
mkommend
Message:

#1621: Renamed ResponseFunctionView and changed ordering of variable sliders (using the natural string comparer).

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views-3.4.csproj

    r7030 r7122  
    117117    </Compile>
    118118    <Compile Include="Plugin.cs" />
    119     <Compile Include="SymbolicDataAnalysisSolutionResponseFunctionView.cs">
    120       <SubType>UserControl</SubType>
    121     </Compile>
    122     <Compile Include="SymbolicDataAnalysisSolutionResponseFunctionView.Designer.cs">
    123       <DependentUpon>SymbolicDataAnalysisSolutionResponseFunctionView.cs</DependentUpon>
     119    <Compile Include="SymbolicRegressionSolutionResponseFunctionView.cs">
     120      <SubType>UserControl</SubType>
     121    </Compile>
     122    <Compile Include="SymbolicRegressionSolutionResponseFunctionView.Designer.cs">
     123      <DependentUpon>SymbolicRegressionSolutionResponseFunctionView.cs</DependentUpon>
    124124    </Compile>
    125125    <Compile Include="SymbolicRegressionSolutionErrorCharacteristicsCurveView.cs">
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/SymbolicRegressionSolutionResponseFunctionView.Designer.cs

    r7120 r7122  
    2121
    2222namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views {
    23   partial class SymbolicDataAnalysisSolutionResponseFunctionView {
     23  partial class SymbolicRegressionSolutionResponseFunctionView {
    2424    /// <summary>
    2525    /// Required designer variable.
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/SymbolicRegressionSolutionResponseFunctionView.cs

    r7120 r7122  
    2626using System.Windows.Forms;
    2727using HeuristicLab.Common;
     28using HeuristicLab.Core.Views;
    2829using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2930using HeuristicLab.MainForm;
     
    3334  [View("Response Function View")]
    3435  [Content(typeof(ISymbolicRegressionSolution), false)]
    35   public partial class SymbolicDataAnalysisSolutionResponseFunctionView : AsynchronousContentView {
     36  public partial class SymbolicRegressionSolutionResponseFunctionView : ItemView {
    3637    private Dictionary<string, List<ISymbolicExpressionTreeNode>> variableNodes;
    3738    private ISymbolicExpressionTree clonedTree;
    3839    private Dictionary<string, double> medianValues;
    39     public SymbolicDataAnalysisSolutionResponseFunctionView() {
     40    public SymbolicRegressionSolutionResponseFunctionView() {
    4041      InitializeComponent();
    41       this.variableNodes = new Dictionary<string, List<ISymbolicExpressionTreeNode>>();
     42      variableNodes = new Dictionary<string, List<ISymbolicExpressionTreeNode>>();
    4243      medianValues = new Dictionary<string, double>();
    43       this.Caption = "Response Function View";
     44      Caption = "Response Function View";
    4445    }
    4546
     
    8687        select varNode.VariableName)
    8788         .Distinct()
    88          .OrderBy(x => x)
     89         .OrderBy(x => x, new NaturalStringComparer())
    8990         .ToList();
    9091
     
    129130      IEnumerable<string> fixedVariables = comboBox.Items.OfType<string>()
    130131        .Except(new string[] { freeVariable });
    131      
     132
    132133      // scatter plots for subset of samples that have values near the median values for all variables
    133134      Func<int, bool> NearMedianValue = (r) => {
Note: See TracChangeset for help on using the changeset viewer.