Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/25/11 10:50:21 (13 years ago)
Author:
mkommend
Message:

#1479: Created branch for grammar editing.

Location:
branches/GP.Grammar.Editor
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Variable.cs

    r5809 r6284  
    126126    }
    127127
     128    protected override void OnChanged(EventArgs e) {
     129      if (@Fixed) {
     130        weightManipulatorMu = 1;
     131        weightManipulatorSigma = 0;
     132        weightMu = 1;
     133        weightSigma = 0;
     134        multiplicativeWeightManipulatorSigma = 0;
     135      }
     136      base.OnChanged(e);
     137    }
     138
    128139    public override ISymbolicExpressionTreeNode CreateTreeNode() {
    129140      return new VariableTreeNode(this);
Note: See TracChangeset for help on using the changeset viewer.