Changeset 16759
- Timestamp:
- 04/04/19 14:28:23 (6 years ago)
- Location:
- branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r16756 r16759 192 192 193 193 Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, namedIntervals)); 194 Parameters.Add(new FixedValueParameter<ParsedConstraint>(IntervalConstraintsParameterName, new ParsedConstraint( )));194 Parameters.Add(new FixedValueParameter<ParsedConstraint>(IntervalConstraintsParameterName, new ParsedConstraint(commentMessage))); 195 195 RegisterParameterEvents(); 196 196 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/ParsedConstraint.cs
r16756 r16759 28 28 protected ParsedConstraint(ParsedConstraint original, Cloner cloner) 29 29 : base(original, cloner) { 30 this.input = original.Input ?? string.Empty; 31 this.constraints = original.Constraints ?? new List<IntervalConstraint>(); 30 32 } 31 33 … … 39 41 } 40 42 43 public ParsedConstraint(string input) { 44 this.input = input; 45 this.constraints = new List<IntervalConstraint>(); 46 } 47 41 48 public ParsedConstraint(string input, IEnumerable<IntervalConstraint> constraints) { 42 49 this.input = input;
Note: See TracChangeset
for help on using the changeset viewer.