Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4023


Ignore:
Timestamp:
07/09/10 17:06:21 (14 years ago)
Author:
gkronber
Message:

removed commented code #1081.

File:
1 edited

Legend:

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

    r4022 r4023  
    3535  [Item("LaggedVariable", "Represents a variable value with a time offset.")]
    3636  public sealed class LaggedVariable : Variable {
    37     //#region Properties
    38     //[Storable]
    39     //private double weightNu;
    40     //public double WeightNu {
    41     //  get { return weightNu; }
    42     //  set { weightNu = value; }
    43     //}
    44     //[Storable]
    45     //private double weightSigma;
    46     //public double WeightSigma {
    47     //  get { return weightSigma; }
    48     //  set {
    49     //    if (weightSigma < 0.0) throw new ArgumentException("Negative sigma is not allowed.");
    50     //    weightSigma = value;
    51     //  }
    52     //}
    53     //[Storable]
    54     //private double weightManipulatorNu;
    55     //public double WeightManipulatorNu {
    56     //  get { return weightManipulatorNu; }
    57     //  set { weightManipulatorNu = value; }
    58     //}
    59     //[Storable]
    60     //private double weightManipulatorSigma;
    61     //public double WeightManipulatorSigma {
    62     //  get { return weightManipulatorSigma; }
    63     //  set {
    64     //    if (weightManipulatorSigma < 0.0) throw new ArgumentException("Negative sigma is not allowed.");
    65     //    weightManipulatorSigma = value;
    66     //  }
    67     //}
    68     //private List<string> variableNames;
    69     //[Storable]
    70     //public IEnumerable<string> VariableNames {
    71     //  get { return variableNames; }
    72     //  set {
    73     //    if (value == null) throw new ArgumentNullException();
    74     //    variableNames.Clear();
    75     //    variableNames.AddRange(value);
    76     //  }
    77     //}
    7837    [Storable]
    7938    private int minLag;
     
    8847      set { maxLag = value; }
    8948    }
    90     //#endregion
    9149    public LaggedVariable()
    9250      : base("LaggedVariable", "Represents a variable value with a time offset.") {
    93       //weightNu = 1.0;
    94       //weightSigma = 1.0;
    95       //weightManipulatorNu = 0.0;
    96       //weightManipulatorSigma = 1.0;
    97       //variableNames = new List<string>();
    9851      minLag = -1; maxLag = -1;
    9952    }
     
    10558    public override IDeepCloneable Clone(Cloner cloner) {
    10659      LaggedVariable clone = (LaggedVariable)base.Clone(cloner);
    107       //clone.weightNu = weightNu;
    108       //clone.weightSigma = weightSigma;
    109       //clone.variableNames = new List<string>(variableNames);
    110       //clone.weightManipulatorNu = weightManipulatorNu;
    111       //clone.weightManipulatorSigma = weightManipulatorSigma;
    11260      clone.minLag = minLag;
    11361      clone.maxLag = maxLag;
Note: See TracChangeset for help on using the changeset viewer.