Changeset 8543
- Timestamp:
- 08/30/12 11:56:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisProblemData.cs
r8542 r8543 52 52 get { return (IFixedValueParameter<IntRange>)Parameters[TestPartitionParameterName]; } 53 53 } 54 public IFixedValueParameter<FeatureCorrelation> DatasetCorrelationParameter {55 get { return (IFixedValueParameter<FeatureCorrelation>)Parameters[DatasetCorrelationParameterName]; }56 }57 54 #endregion 58 55 … … 77 74 public IntRange TestPartition { 78 75 get { return TestPartitionParameter.Value; } 79 }80 public FeatureCorrelation DatasetCorrelation {81 get { return DatasetCorrelationParameter.Value; }82 76 } 83 77 … … 118 112 private void AfterDeserialization() { 119 113 RegisterEventHandlers(); 120 #region Backwards compatible code, remove with 3.4121 if (!Parameters.ContainsKey(DatasetCorrelationParameterName)) {122 Parameters.Add(new FixedValueParameter<FeatureCorrelation>(DatasetCorrelationParameterName, "", new FeatureCorrelation(this)));123 }124 #endregion125 114 } 126 115 … … 145 134 Parameters.Add(new FixedValueParameter<IntRange>(TrainingPartitionParameterName, "", new IntRange(trainingPartitionStart, trainingPartitionEnd))); 146 135 Parameters.Add(new FixedValueParameter<IntRange>(TestPartitionParameterName, "", new IntRange(testPartitionStart, testPartitionEnd))); 147 Parameters.Add(new FixedValueParameter<FeatureCorrelation>(DatasetCorrelationParameterName, "", new FeatureCorrelation(this)));148 136 149 137 ((ValueParameter<Dataset>)DatasetParameter).ReactOnValueToStringChangedAndValueItemImageChanged = false;
Note: See TracChangeset
for help on using the changeset viewer.