- Timestamp:
- 01/28/19 13:41:42 (6 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration (added) merged: 16451-16454,16462,16465-16468,16470-16472,16474,16476-16477,16479-16487,16529-16530,16539,16551-16555,16558-16559,16562-16564
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/BoolConverter.cs
r15583 r16565 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. … … 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Problems.ExternalEvaluation { 30 30 [Item("BoolConverter", "Converts a ValueTypeValue<bool>, ValueTypeArray<bool>, or ValueTypeMatrix<bool> and adds it to the SolutionMessage's BoolVars or BoolArrayVars. A matrix is encoded as array by concatenating all rows and setting length as the length of a row.")] 31 [Storable Class]31 [StorableType("8341D6D1-33C1-4CB7-AC4F-9A5447948022")] 32 32 public class BoolConverter : Item, IItemToSolutionMessageConverter { 33 33 private static readonly Type[] itemTypes = new Type[] { typeof(ValueTypeValue<bool>), typeof(ValueTypeArray<bool>), typeof(ValueTypeMatrix<bool>) }; 34 34 [StorableConstructor] 35 protected BoolConverter( bool deserializing) : base(deserializing) { }35 protected BoolConverter(StorableConstructorFlag _) : base(_) { } 36 36 protected BoolConverter(BoolConverter original, Cloner cloner) : base(original, cloner) { } 37 37 public override IDeepCloneable Clone(Cloner cloner) { -
trunk/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/DateTimeValueConverter.cs
r15583 r16565 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. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Problems.ExternalEvaluation { 29 29 [Item("DateTimeValueConverter", "Converts a DateTimeValue and adds it to the SolutionMessage's StringVars. The format is yyyy-MM-dd HH:mm:sszzz, e.g. 2010-05-31 19:15:33+01:00.")] 30 [Storable Class]30 [StorableType("99D4CC9B-B4F3-4A79-9EC9-6C5BB40C8C87")] 31 31 public class DateTimeValueConverter : Item, IItemToSolutionMessageConverter { 32 32 private static readonly Type[] itemTypes = new Type[] { typeof(DateTimeValue) }; 33 33 [StorableConstructor] 34 protected DateTimeValueConverter( bool deserializing) : base(deserializing) { }34 protected DateTimeValueConverter(StorableConstructorFlag _) : base(_) { } 35 35 protected DateTimeValueConverter(DateTimeValueConverter original, Cloner cloner) : base(original, cloner) { } 36 36 public override IDeepCloneable Clone(Cloner cloner) { -
trunk/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/DoubleConverter.cs
r15583 r16565 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. … … 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Problems.ExternalEvaluation { 30 30 [Item("DoubleConverter", "Converts a ValueTypeValue<double>, ValueTypeArray<double>, or ValueTypeMatrix<double> and adds it to the SolutionMessage's DoubleVars or DoubleArrayVars. A matrix is encoded as array by concatenating all rows and setting length as the length of a row.")] 31 [Storable Class]31 [StorableType("30B9F1EE-5D41-4EE3-97F5-39500BBC5172")] 32 32 public class DoubleConverter : Item, IItemToSolutionMessageConverter { 33 33 private static readonly Type[] itemTypes = new Type[] { typeof(ValueTypeValue<double>), typeof(ValueTypeArray<double>), typeof(ValueTypeMatrix<double>) }; 34 34 35 35 [StorableConstructor] 36 protected DoubleConverter( bool deserializing) : base(deserializing) { }36 protected DoubleConverter(StorableConstructorFlag _) : base(_) { } 37 37 protected DoubleConverter(DoubleConverter original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
trunk/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/IntegerConverter.cs
r15583 r16565 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. … … 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Problems.ExternalEvaluation { 30 30 [Item("IntegerConverter", "Converts a ValueTypeValue<int>, ValueTypeArray<int>, or ValueTypeMatrix<int> and adds it to the SolutionMessage's IntegerVars or IntegerArrayVars. A matrix is encoded as array by concatenating all rows and setting length as the length of a row.")] 31 [Storable Class]31 [StorableType("540B4803-05EC-4AB8-AFAC-A8E35A98F4D7")] 32 32 public class IntegerConverter : Item, IItemToSolutionMessageConverter { 33 33 private static readonly Type[] itemTypes = new Type[] { typeof(ValueTypeValue<int>), typeof(ValueTypeArray<int>), typeof(ValueTypeMatrix<int>) }; 34 34 35 35 [StorableConstructor] 36 protected IntegerConverter( bool deserializing) : base(deserializing) { }36 protected IntegerConverter(StorableConstructorFlag _) : base(_) { } 37 37 protected IntegerConverter(IntegerConverter original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
trunk/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/StringConverter.cs
r15583 r16565 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. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Problems.ExternalEvaluation { 29 29 [Item("StringConverter", "Converts a StringValue, StringArray, StringMatrix, IStringConvertibleValue, IStringConvertibleArray, or IStringConvertibleMatrix and adds it to the SolutionMessage's StringVars or StringArrayVars. A matrix is encoded as array by concatenating all rows and setting length as the length of a row.")] 30 [Storable Class]30 [StorableType("FD48F37D-DA07-442D-85B9-EC7D5D1A6740")] 31 31 public class StringConverter : Item, IItemToSolutionMessageConverter { 32 32 private static readonly Type[] itemTypes = new Type[] { typeof(StringValue), typeof(StringArray), typeof(StringMatrix), typeof(IStringConvertibleValue), typeof(IStringConvertibleArray), typeof(IStringConvertibleMatrix) }; 33 33 34 34 [StorableConstructor] 35 protected StringConverter( bool deserializing) : base(deserializing) { }35 protected StringConverter(StorableConstructorFlag _) : base(_) { } 36 36 protected StringConverter(StringConverter original, Cloner cloner) : base(original, cloner) { } 37 37 public override IDeepCloneable Clone(Cloner cloner) { -
trunk/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/TimeSpanValueConverter.cs
r15583 r16565 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. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Problems.ExternalEvaluation { 29 29 [Item("TimeSpanValueConverter", "Converts a TimeSpanValue and adds it to the SolutionMessage's StringVars. The format is d.hh:mm:ss, e.g. 1113.10:55:00 (1113 days 10 hours, 55 minutes, 0 seconds).")] 30 [Storable Class]30 [StorableType("4617C8B5-89CF-42B5-82B5-C57E9B924C0F")] 31 31 public class TimeSpanValueConverter : Item, IItemToSolutionMessageConverter { 32 32 private static readonly Type[] itemTypes = new Type[] { typeof(TimeSpanValue) }; 33 33 34 34 [StorableConstructor] 35 protected TimeSpanValueConverter( bool deserializing) : base(deserializing) { }35 protected TimeSpanValueConverter(StorableConstructorFlag _) : base(_) { } 36 36 protected TimeSpanValueConverter(TimeSpanValueConverter original, Cloner cloner) : base(original, cloner) { } 37 37 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.