Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/19 12:09:34 (5 years ago)
Author:
chaider
Message:

#2971 Renamed NamedIntervals to IntervalCollection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval/IntervalCollection.cs

    r16896 r16904  
    2828  [Item("NamedIntervals", "Represents variables with their interval ranges.")]
    2929  [StorableType("230B4E4B-41E5-4D33-9BC3-E2DAADDCA5AE")]
    30   public class NamedIntervals : Item {
     30  public class IntervalCollection : Item {
    3131    public static new System.Drawing.Image StaticItemImage {
    3232      get => HeuristicLab.Common.Resources.VSImageLibrary.Object;
     
    5151    }
    5252
    53     public NamedIntervals() : base() { }
     53    public IntervalCollection() : base() { }
    5454    [StorableConstructor]
    55     protected NamedIntervals(StorableConstructorFlag _) : base(_) { }
     55    protected IntervalCollection(StorableConstructorFlag _) : base(_) { }
    5656
    57     protected NamedIntervals(NamedIntervals original, Cloner cloner) : base(original, cloner) {
     57    protected IntervalCollection(IntervalCollection original, Cloner cloner) : base(original, cloner) {
    5858      foreach (var keyValuePair in original.VariableIntervals) {
    5959        VariableIntervals.Add(keyValuePair.Key, new Interval(keyValuePair.Value.LowerBound, keyValuePair.Value.UpperBound));
     
    6262
    6363    public override IDeepCloneable Clone(Cloner cloner) {
    64       return new NamedIntervals(this, cloner);
     64      return new IntervalCollection(this, cloner);
    6565    }
    6666
Note: See TracChangeset for help on using the changeset viewer.