Changeset 16904 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval
- Timestamp:
- 05/07/19 12:09:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval/IntervalCollection.cs
r16896 r16904 28 28 [Item("NamedIntervals", "Represents variables with their interval ranges.")] 29 29 [StorableType("230B4E4B-41E5-4D33-9BC3-E2DAADDCA5AE")] 30 public class NamedIntervals: Item {30 public class IntervalCollection : Item { 31 31 public static new System.Drawing.Image StaticItemImage { 32 32 get => HeuristicLab.Common.Resources.VSImageLibrary.Object; … … 51 51 } 52 52 53 public NamedIntervals() : base() { }53 public IntervalCollection() : base() { } 54 54 [StorableConstructor] 55 protected NamedIntervals(StorableConstructorFlag _) : base(_) { }55 protected IntervalCollection(StorableConstructorFlag _) : base(_) { } 56 56 57 protected NamedIntervals(NamedIntervalsoriginal, Cloner cloner) : base(original, cloner) {57 protected IntervalCollection(IntervalCollection original, Cloner cloner) : base(original, cloner) { 58 58 foreach (var keyValuePair in original.VariableIntervals) { 59 59 VariableIntervals.Add(keyValuePair.Key, new Interval(keyValuePair.Value.LowerBound, keyValuePair.Value.UpperBound)); … … 62 62 63 63 public override IDeepCloneable Clone(Cloner cloner) { 64 return new NamedIntervals(this, cloner);64 return new IntervalCollection(this, cloner); 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.