Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/19 14:28:23 (6 years ago)
Author:
chaider
Message:

#2971

  • Added commented infotext into IntervalConstraint Textbox
  • Modified copy constructor
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  
    192192
    193193      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)));
    195195      RegisterParameterEvents();
    196196    }
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/ParsedConstraint.cs

    r16756 r16759  
    2828    protected ParsedConstraint(ParsedConstraint original, Cloner cloner)
    2929      : base(original, cloner) {
     30      this.input = original.Input ?? string.Empty;
     31      this.constraints = original.Constraints ?? new List<IntervalConstraint>();
    3032    }
    3133
     
    3941    }
    4042
     43    public ParsedConstraint(string input) {
     44      this.input = input;
     45      this.constraints = new List<IntervalConstraint>();
     46    }
     47
    4148    public ParsedConstraint(string input, IEnumerable<IntervalConstraint> constraints) {
    4249      this.input = input;
Note: See TracChangeset for help on using the changeset viewer.