Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/02/19 12:49:03 (6 years ago)
Author:
chaider
Message:

#2971 Added Storable-Attribues to IntervalConstraint

File:
1 edited

Legend:

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

    r16881 r16886  
    2929  public class IntervalConstraint : NamedItem {
    3030    private string expression;
     31    [Storable]
    3132    public string Expression {
    3233      get => expression;
     
    3839      }
    3940    }
    40 
    4141    private string definition;
     42    [Storable]
    4243    public string Definition {
    4344      get => definition;
     
    4950      }
    5051    }
     52    [Storable]
    5153    public Interval Interval { get; set; }
    5254    private bool inclusiveLowerBound;
     55    [Storable]
    5356    public bool InclusiveLowerBound {
    5457      get => inclusiveLowerBound;
     
    6063      }
    6164    }
     65    [Storable]
    6266    public bool InclusiveUpperBound { get; set; }
     67    [Storable]
    6368    public bool IsDerivation { get; set; }
    6469
    6570    private string variable;
     71    [Storable]
    6672    public string Variable {
    6773      get => variable;
     
    7581
    7682    public int numberOfDerivation;
     83    [Storable]
    7784    public int NumberOfDerivation {
    7885      get => numberOfDerivation;
     
    8693
    8794    private bool enabled;
     95    [Storable]
    8896    public bool Enabled {
    8997      get => enabled;
     
    95103      }
    96104    }
     105
     106    [StorableConstructor]
     107    protected IntervalConstraint(StorableConstructorFlag _) : base(_) { }
    97108
    98109    public IntervalConstraint(string expression, string definition, Interval interval, bool inclusiveLowerBound,
Note: See TracChangeset for help on using the changeset viewer.