Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/29/10 13:57:05 (14 years ago)
Author:
gkronber
Message:

Renamed "nu" => "mu". #1302

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/Constant.cs

    r4722 r4989  
    5454    }
    5555    [Storable]
    56     private double manipulatorNu;
    57     public double ManipulatorNu {
    58       get { return manipulatorNu; }
     56    private double manipulatorMu;
     57    public double ManipulatorMu {
     58      get { return manipulatorMu; }
    5959      set {
    60         if (value != manipulatorNu) {
    61           manipulatorNu = value;
     60        if (value != manipulatorMu) {
     61          manipulatorMu = value;
    6262          OnChanged(EventArgs.Empty);
    6363        }
     
    8383      minValue = original.minValue;
    8484      maxValue = original.maxValue;
    85       manipulatorNu = original.manipulatorNu;
     85      manipulatorMu = original.manipulatorMu;
    8686      manipulatorSigma = original.manipulatorSigma;
    8787    }
    8888    public Constant()
    8989      : base("Constant", "Represents a constant value.") {
    90       manipulatorNu = 0.0;
     90      manipulatorMu = 0.0;
    9191      manipulatorSigma = 1.0;
    9292      minValue = -20.0;
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/ConstantTreeNode.cs

    r4722 r4989  
    6363    public override void ShakeLocalParameters(IRandom random, double shakingFactor) {
    6464      base.ShakeLocalParameters(random, shakingFactor);
    65       double x = NormalDistributedRandom.NextDouble(random, Symbol.ManipulatorNu, Symbol.ManipulatorSigma);
     65      double x = NormalDistributedRandom.NextDouble(random, Symbol.ManipulatorMu, Symbol.ManipulatorSigma);
    6666      Value = Value + x * shakingFactor;
    6767    }
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/Variable.cs

    r4722 r4989  
    3333    #region Properties
    3434    [Storable]
    35     private double weightNu;
    36     public double WeightNu {
    37       get { return weightNu; }
     35    private double weightMu;
     36    public double WeightMu {
     37      get { return weightMu; }
    3838      set {
    39         if (value != weightNu) {
    40           weightNu = value;
     39        if (value != weightMu) {
     40          weightMu = value;
    4141          OnChanged(EventArgs.Empty);
    4242        }
     
    5656    }
    5757    [Storable]
    58     private double weightManipulatorNu;
    59     public double WeightManipulatorNu {
    60       get { return weightManipulatorNu; }
     58    private double weightManipulatorMu;
     59    public double WeightManipulatorMu {
     60      get { return weightManipulatorMu; }
    6161      set {
    62         if (value != weightManipulatorNu) {
    63           weightManipulatorNu = value;
     62        if (value != weightManipulatorMu) {
     63          weightManipulatorMu = value;
    6464          OnChanged(EventArgs.Empty);
    6565        }
     
    9696    protected Variable(Variable original, Cloner cloner)
    9797      : base(original, cloner) {
    98       weightNu = original.weightNu;
     98      weightMu = original.weightMu;
    9999      weightSigma = original.weightSigma;
    100100      variableNames = new List<string>(original.variableNames);
    101       weightManipulatorNu = original.weightManipulatorNu;
     101      weightManipulatorMu = original.weightManipulatorMu;
    102102      weightManipulatorSigma = original.weightManipulatorSigma;
    103103    }
     
    105105    public Variable(string name, string description)
    106106      : base(name, description) {
    107       weightNu = 1.0;
     107      weightMu = 1.0;
    108108      weightSigma = 1.0;
    109       weightManipulatorNu = 0.0;
     109      weightManipulatorMu = 0.0;
    110110      weightManipulatorSigma = 1.0;
    111111      variableNames = new List<string>();
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/VariableTreeNode.cs

    r4722 r4989  
    6262    public override void ResetLocalParameters(IRandom random) {
    6363      base.ResetLocalParameters(random);
    64       weight = NormalDistributedRandom.NextDouble(random, Symbol.WeightNu, Symbol.WeightSigma);
     64      weight = NormalDistributedRandom.NextDouble(random, Symbol.WeightMu, Symbol.WeightSigma);
    6565      variableName = Symbol.VariableNames.SelectRandom(random);
    6666    }
     
    6868    public override void ShakeLocalParameters(IRandom random, double shakingFactor) {
    6969      base.ShakeLocalParameters(random, shakingFactor);
    70       double x = NormalDistributedRandom.NextDouble(random, Symbol.WeightManipulatorNu, Symbol.WeightManipulatorSigma);
     70      double x = NormalDistributedRandom.NextDouble(random, Symbol.WeightManipulatorMu, Symbol.WeightManipulatorSigma);
    7171      weight = weight + x * shakingFactor;
    7272      variableName = Symbol.VariableNames.SelectRandom(random);
Note: See TracChangeset for help on using the changeset viewer.