Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Parser/IntervalConstraint.cs @ 16596

Last change on this file since 16596 was 16596, checked in by chaider, 5 years ago

#2971

  • Extended evaluator with linear scaling
  • Added constructor to IntervalConstraint
File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace HeuristicLab.Problems.DataAnalysis {
8  public class IntervalConstraint {
9    public string Expression { get; set; }
10    public string Definition { get; set; }
11    public Interval Interval { get; set; }
12    public bool InclusiveLowerBound { get; set; }
13    public bool InclusiveUpperBound { get; set; }
14    public bool IsDerivation { get; set; }
15    public string Variable { get; set; }
16    public int NumberOfDerivation { get; set; }
17
18    public IntervalConstraint() { }
19
20    public IntervalConstraint(string expression, string definition, Interval interval, bool inclusiveLowerBound, bool inclusiveUpperBound, bool isDerivation, string variable, int numberOfDerivation) {
21      Expression = expression;
22      Definition = definition;
23      Interval = interval;
24      InclusiveLowerBound = inclusiveLowerBound;
25      InclusiveUpperBound = inclusiveUpperBound;
26      IsDerivation = isDerivation;
27      Variable = variable;
28      NumberOfDerivation = numberOfDerivation;
29    }
30  }
31}
Note: See TracBrowser for help on using the repository browser.