Changeset 16756 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
- Timestamp:
- 04/04/19 13:15:58 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r16731 r16756 95 95 problemData.Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>())); 96 96 problemData.Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, "", new NamedIntervals())); 97 problemData.Parameters.Add(new FixedValueParameter< TextValue>(IntervalConstraintsParameterName, "", new TextValue()));97 problemData.Parameters.Add(new FixedValueParameter<ParsedConstraint>(IntervalConstraintsParameterName, "", new ParsedConstraint())); 98 98 emptyProblemData = problemData; 99 99 } … … 108 108 public NamedIntervals VariableRanges => VariableRangesParameter.Value; 109 109 110 public IFixedValueParameter< TextValue> IntervalConstraintsParameter => (IFixedValueParameter<TextValue>)Parameters[IntervalConstraintsParameterName];111 public TextValueIntervalConstraints => IntervalConstraintsParameter.Value;110 public IFixedValueParameter<ParsedConstraint> IntervalConstraintsParameter => (IFixedValueParameter<ParsedConstraint>)Parameters[IntervalConstraintsParameterName]; 111 public ParsedConstraint IntervalConstraints => IntervalConstraintsParameter.Value; 112 112 113 113 public string TargetVariable { … … 192 192 193 193 Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, namedIntervals)); 194 Parameters.Add(new FixedValueParameter< TextValue>(IntervalConstraintsParameterName, new TextValue(commentMessage)));194 Parameters.Add(new FixedValueParameter<ParsedConstraint>(IntervalConstraintsParameterName, new ParsedConstraint())); 195 195 RegisterParameterEvents(); 196 196 }
Note: See TracChangeset
for help on using the changeset viewer.