Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionGroupCreater.cs
- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionGroupCreater.cs
r14185 r14927 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Optimization { 32 32 33 33 [Item("RunCollection Group Creater", "Regroups existing runs according to equal values in GroupBy and prefixes them according to their value in Prefix.")] 34 [Storable Class]34 [StorableType("ef5dd619-133c-4c72-9730-d330b9bf2c04")] 35 35 public class RunCollectionGroupCreater : ParameterizedNamedItem, IRunCollectionModifier { 36 36 37 37 public ValueParameter<ItemCollection<StringValue>> GroupByParameter { 38 38 get { return (ValueParameter<ItemCollection<StringValue>>)Parameters["GroupBy"]; } … … 54 54 new ItemCollection<StringValue>(new[] { new StringValue("Problem Name") }))); 55 55 Parameters.Add(new ValueParameter<StringValue>("Prefix", "The distinguishing prefix values for the individual runs.", 56 new StringValue("Algorithm Name"))); 56 new StringValue("Algorithm Name"))); 57 57 } 58 58 public override IDeepCloneable Clone(Cloner cloner) { … … 100 100 name = string.Format("{0}_{1}.{2}", prefix, ++n, key); 101 101 } 102 dict.Add(name, value); 102 dict.Add(name, value); 103 103 } 104 104 }
Note: See TracChangeset
for help on using the changeset viewer.