Changeset 16956 for branches/2457_ExpertSystem/HeuristicLab.Analysis/3.3/DataVisualization/DataTableValuesCollector.cs
- Timestamp:
- 05/15/19 13:36:51 (6 years ago)
- Location:
- branches/2457_ExpertSystem/HeuristicLab.Analysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2457_ExpertSystem/HeuristicLab.Analysis
- Property svn:mergeinfo changed
-
branches/2457_ExpertSystem/HeuristicLab.Analysis/3.3/DataVisualization/DataTableValuesCollector.cs
r16075 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 27 28 using HeuristicLab.Operators; 28 29 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 31 31 namespace HeuristicLab.Analysis { … … 34 34 /// </summary> 35 35 [Item("DataTableValuesCollector", "An operator which collects the actual values of parameters and adds them to a table of data values.")] 36 [Storable Class]36 [StorableType("B3409421-D7F0-4C79-B8F8-B7E77E7C554F")] 37 37 public class DataTableValuesCollector : ValuesCollector { 38 38 public ValueLookupParameter<DataTable> DataTableParameter { … … 50 50 #region Storing & Cloning 51 51 [StorableConstructor] 52 protected DataTableValuesCollector( bool deserializing) : base(deserializing) { }52 protected DataTableValuesCollector(StorableConstructorFlag _) : base(_) { } 53 53 protected DataTableValuesCollector(DataTableValuesCollector original, Cloner cloner) : base(original, cloner) { } 54 54 public override IDeepCloneable Clone(Cloner cloner) { … … 59 59 : base() { 60 60 Parameters.Add(new ValueLookupParameter<DataTable>("DataTable", "The table of data values where the collected values should be stored.")); 61 Parameters.Add(new FixedValueParameter<BoolValue>("StartIndexZero", "True, if the collected data values should start with index 0, otherwise false.", new BoolValue(true) , false));61 Parameters.Add(new FixedValueParameter<BoolValue>("StartIndexZero", "True, if the collected data values should start with index 0, otherwise false.", new BoolValue(true)) { GetsCollected = false }); 62 62 StartIndexZeroParameter.Hidden = true; 63 63 } … … 68 68 #region Backwards compatible code (remove with 3.4) 69 69 if (!Parameters.ContainsKey("StartIndexZero")) { 70 Parameters.Add(new FixedValueParameter<BoolValue>("StartIndexZero", "True, if the collected data values should start with index 0, otherwise false.", new BoolValue(true) , false));70 Parameters.Add(new FixedValueParameter<BoolValue>("StartIndexZero", "True, if the collected data values should start with index 0, otherwise false.", new BoolValue(true)) { GetsCollected = false }); 71 71 StartIndexZeroParameter.Hidden = true; 72 72 }
Note: See TracChangeset
for help on using the changeset viewer.