Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/28/11 19:00:35 (14 years ago)
Author:
gkronber
Message:

#1418 pulled external evaluation plugin to version 3.4

Location:
branches/DataAnalysis Refactoring/HeuristicLab.Problems.ExternalEvaluation.GP.Views/3.4
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.ExternalEvaluation.GP.Views/3.4/VariableSymbolView.cs

    r5445 r5572  
    3232namespace HeuristicLab.Problems.ExternalEvaluation.GP.Views {
    3333  [View("Variable View")]
    34   [Content(typeof(Variable), IsDefaultView = true)]
     34  [Content(typeof(Variable))]
    3535  public sealed partial class VariableSymbolView : NamedItemView {
    3636    private CheckedItemCollectionView<StringValue> variableNamesView;
     
    3838    private bool suppressDownstreamSynchronization;
    3939
    40     public new Variable Content {
    41       get { return (Variable)base.Content; }
     40    public new HeuristicLab.Problems.DataAnalysis.Symbolic.Variable Content {
     41      get { return (HeuristicLab.Problems.DataAnalysis.Symbolic.Variable)base.Content; }
    4242      set { base.Content = value; }
    4343    }
     
    9191    private void SynchronizeParameters() {
    9292      suppressDownstreamSynchronization = true;
    93       weightNuTextBox.Text = Content.WeightNu.ToString();
     93      weightMuTextBox.Text = Content.WeightMu.ToString();
    9494      weightSigmaTextBox.Text = Content.WeightSigma.ToString();
    95       weightManipulatorNuTextBox.Text = Content.WeightManipulatorNu.ToString();
     95      weightManipulatorMuTextBox.Text = Content.WeightManipulatorMu.ToString();
    9696      weightManipulatorSigmaTextBox.Text = Content.WeightManipulatorSigma.ToString();
    9797      suppressDownstreamSynchronization = false;
     
    100100    protected override void SetEnabledStateOfControls() {
    101101      base.SetEnabledStateOfControls();
    102       weightNuTextBox.Enabled = !ReadOnly && Content != null;
     102      weightMuTextBox.Enabled = !ReadOnly && Content != null;
    103103      weightSigmaTextBox.Enabled = !ReadOnly && Content != null;
    104       weightManipulatorNuTextBox.Enabled = !ReadOnly && Content != null;
     104      weightManipulatorMuTextBox.Enabled = !ReadOnly && Content != null;
    105105      weightManipulatorSigmaTextBox.Enabled = !ReadOnly && Content != null;
    106106    }
     
    122122          e.Cancel = true;
    123123        else {
    124           if (textBox == weightNuTextBox) {
    125             Content.WeightNu = value;
     124          if (textBox == weightMuTextBox) {
     125            Content.WeightMu = value;
    126126          } else if (textBox == weightSigmaTextBox) {
    127127            Content.WeightSigma = value;
    128           } else if (textBox == weightManipulatorNuTextBox) {
    129             Content.WeightManipulatorNu = value;
     128          } else if (textBox == weightManipulatorMuTextBox) {
     129            Content.WeightManipulatorMu = value;
    130130          } else if (textBox == weightManipulatorSigmaTextBox) {
    131131            Content.WeightManipulatorSigma = value;
Note: See TracChangeset for help on using the changeset viewer.