Ignore:
Timestamp:
04/15/19 08:53:12 (17 months ago)
Author:
chaider
Message:

#2971

  • Added Target prefix for parsed onstraints in IntervalConstraintParser
  • Added isChecked validation for constraints in ConstraintAnalyzer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Parser/IntervalConstraintsParser.cs

    r16778 r16780  
    7070              var lowerBound = ParseIntervalBounds(match.Groups[4].Value);
    7171              var upperBound = ParseIntervalBounds(match.Groups[6].Value);
    72               var constraint = new IntervalConstraint(match.Groups[0].Value);
    73               constraint.Expression = "Target " + match.Groups[0].Value;
     72              var constraint = new IntervalConstraint("Target:" + match.Groups[0].Value);
     73              constraint.Expression = "Target:" + match.Groups[0].Value;
    7474              constraint.Definition = "Target " + match.Groups[1].Value.Trim();
    7575              constraint.Variable = match.Groups[1].Value.Trim();
Note: See TracChangeset for help on using the changeset viewer.