- Timestamp:
- 01/28/19 18:24:59 (5 years ago)
- Location:
- addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Utils
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Utils/Closure.cs
r13071 r16575 23 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 24 using System; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.BioBoost.Utils { … … 32 33 /// </summary> 33 34 /// <typeparam name="T">The Type of the value to be wrapped.</typeparam> 34 [Storable Class]35 [StorableType("75502002-CE4F-4B62-B37B-FEB93F899BA3")] 35 36 public class Closure<T> : IDeepCloneable { 36 37 … … 47 48 48 49 [StorableConstructor] 49 protected Closure( bool isDeserializing) {50 protected Closure(StorableConstructorFlag _) { 50 51 T value = default(T); 51 52 Getter = () => value; -
addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Utils/StepFunction.cs
r13071 r16575 30 30 using System.Linq; 31 31 using System.Text.RegularExpressions; 32 using HEAL.Attic; 32 33 33 34 namespace HeuristicLab.BioBoost.Utils { 34 35 35 [Storable Class]36 [StorableType("38ABD326-0F33-4B2F-A41C-547BADF7CA3A")] 36 37 [Item("StepFunction", "A simple step function specifying upper bounds and corresponding values.")] 37 38 public class StepFunction : ParameterizedNamedItem { … … 52 53 } 53 54 [StorableConstructor] 54 protected StepFunction( bool isDeserializing) : base(isDeserializing) {}55 protected StepFunction(StorableConstructorFlag _) : base(_) { } 55 56 protected StepFunction(StepFunction orig, Cloner cloner) : base(orig, cloner) {} 56 57 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.