Changeset 16586 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression
- Timestamp:
- 02/05/19 10:12:59 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r16549 r16586 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Net.Mime; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 36 37 protected const string TargetVariableParameterName = "TargetVariable"; 37 38 protected const string VariableRangesParameterName = "VariableRanges"; 39 protected const string IntervalConstraintsParameterName = "IntervalConstraints"; 38 40 public string Filename { get; set; } 39 41 … … 94 96 problemData.Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>())); 95 97 problemData.Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName,"", new NamedIntervals())); 98 problemData.Parameters.Add(new FixedValueParameter<TextValue>(IntervalConstraintsParameterName, "", new TextValue())); 96 99 emptyProblemData = problemData; 97 100 } … … 105 108 get { return (IFixedValueParameter<NamedIntervals>)Parameters[VariableRangesParameterName]; } 106 109 } 110 111 public IFixedValueParameter<TextValue> IntervalConstraintsParameter => (IFixedValueParameter<TextValue>) Parameters[IntervalConstraintsParameterName]; 107 112 108 113 public string TargetVariable { … … 168 173 169 174 Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, namedIntervals)); 175 Parameters.Add(new FixedValueParameter<TextValue>(IntervalConstraintsParameterName, new TextValue())); 170 176 RegisterParameterEvents(); 171 177 }
Note: See TracChangeset
for help on using the changeset viewer.