- Timestamp:
- 05/15/19 13:36:51 (6 years ago)
- Location:
- branches/2457_ExpertSystem/HeuristicLab.Optimization
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2457_ExpertSystem/HeuristicLab.Optimization
- Property svn:mergeinfo changed
-
branches/2457_ExpertSystem/HeuristicLab.Optimization/3.3/Termination/ComparisonTerminator.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. … … 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("ComparisonTerminator", "An termination criterion which compares two values.")] 32 [Storable Class]32 [StorableType("4059C985-CA18-4C95-AC1C-BA8AAE64AD98")] 33 33 public class ComparisonTerminator<T> : ThresholdTerminator<T> where T : class, IItem, IComparable, IStringConvertibleValue, new() { 34 34 public ILookupParameter<T> ComparisonValueParameter { … … 46 46 47 47 [StorableConstructor] 48 protected ComparisonTerminator( bool deserializing) : base(deserializing) { }48 protected ComparisonTerminator(StorableConstructorFlag _) : base(_) { } 49 49 [StorableHook(HookType.AfterDeserialization)] 50 50 private void AfterDeserialization() { -
branches/2457_ExpertSystem/HeuristicLab.Optimization/3.3/Termination/ExecutionTimeTerminator.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. … … 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.Optimization { 29 29 [Item("ExecutionTimeTerminator", "A termination criterion based on execution time of an algorithm.")] 30 [Storable Class]30 [StorableType("7BBF7D6F-C41C-4826-963B-5ED9544F8391")] 31 31 public class ExecutionTimeTerminator : ThresholdTerminator<TimeSpanValue> { 32 32 … … 35 35 36 36 [StorableConstructor] 37 protected ExecutionTimeTerminator( bool deserializing) : base(deserializing) { }37 protected ExecutionTimeTerminator(StorableConstructorFlag _) : base(_) { } 38 38 protected ExecutionTimeTerminator(ExecutionTimeTerminator original, Cloner cloner) 39 39 : base(original, cloner) { -
branches/2457_ExpertSystem/HeuristicLab.Optimization/3.3/Termination/MultiTerminator.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. … … 29 29 using HeuristicLab.Operators; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 33 33 namespace HeuristicLab.Optimization { 34 34 [Item("MultiTerminator", "A multi operator, containing termination criteria.")] 35 [Storable Class]35 [StorableType("E03CCB0D-C76C-4DBC-94C5-8FED50E25D26")] 36 36 public sealed class MultiTerminator : CheckedMultiOperator<ITerminator>, ITerminator { 37 37 public static new Image StaticItemImage { … … 44 44 45 45 [StorableConstructor] 46 private MultiTerminator( bool deserializing) : base(deserializing) { }46 private MultiTerminator(StorableConstructorFlag _) : base(_) { } 47 47 private MultiTerminator(MultiTerminator original, Cloner cloner) : base(original, cloner) { } 48 48 public override IDeepCloneable Clone(Cloner cloner) { return new MultiTerminator(this, cloner); } -
branches/2457_ExpertSystem/HeuristicLab.Optimization/3.3/Termination/SingleObjectiveQualityTerminator.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. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Optimization { 28 28 [Item("SingleObjectiveQualityTerminator", "A termination criterion which uses a quality parameter (eg. current best quality) for termination.")] 29 [Storable Class]29 [StorableType("A32469FB-7370-46E3-AB7F-EAF8053AF105")] 30 30 public class SingleObjectiveQualityTerminator : ComparisonTerminator<DoubleValue> { 31 31 [StorableConstructor] 32 protected SingleObjectiveQualityTerminator( bool deserializing) : base(deserializing) { }32 protected SingleObjectiveQualityTerminator(StorableConstructorFlag _) : base(_) { } 33 33 protected SingleObjectiveQualityTerminator(SingleObjectiveQualityTerminator original, Cloner cloner) 34 34 : base(original, cloner) { } -
branches/2457_ExpertSystem/HeuristicLab.Optimization/3.3/Termination/TerminationOperator.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. … … 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Optimization { 30 30 [Item("TerminationOperator", "An operator which either calls the terminate- or the continue branch.")] 31 [Storable Class]31 [StorableType("FD4B77FF-4C9D-45D9-8CDF-F5F5EE2664F7")] 32 32 public sealed class TerminationOperator : InstrumentedOperator, ITerminationBasedOperator { 33 33 public ILookupParameter<ITerminator> TerminatorParameter { … … 54 54 55 55 [StorableConstructor] 56 private TerminationOperator( bool deserializing) : base(deserializing) { }56 private TerminationOperator(StorableConstructorFlag _) : base(_) { } 57 57 private TerminationOperator(TerminationOperator original, Cloner cloner) 58 58 : base(original, cloner) { -
branches/2457_ExpertSystem/HeuristicLab.Optimization/3.3/Termination/Terminator.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. … … 27 27 using HeuristicLab.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Optimization { 32 32 [Item("Terminator", "A base class for all termination criteria.")] 33 [Storable Class]33 [StorableType("E5DC984C-95B3-40F1-9D35-7B6E90A26B8A")] 34 34 public abstract class Terminator : SingleSuccessorOperator, ITerminator { 35 35 public static new Image StaticItemImage { … … 42 42 43 43 [StorableConstructor] 44 protected Terminator( bool deserializing) : base(deserializing) { }44 protected Terminator(StorableConstructorFlag _) : base(_) { } 45 45 protected Terminator(Terminator original, Cloner cloner) : base(original, cloner) { } 46 46 -
branches/2457_ExpertSystem/HeuristicLab.Optimization/3.3/Termination/ThresholdTerminator.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. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Optimization { 30 30 [Item("ThresholdTerminator", "Base class for all termination criteria which specifies some threshold.")] 31 [Storable Class]31 [StorableType("E5D99104-54B2-471D-B27A-07CC737804A6")] 32 32 public abstract class ThresholdTerminator<T> : Terminator where T : class, IItem, IStringConvertibleValue, new() { 33 33 [Storable] … … 52 52 53 53 [StorableConstructor] 54 protected ThresholdTerminator( bool deserializing) : base(deserializing) { }54 protected ThresholdTerminator(StorableConstructorFlag _) : base(_) { } 55 55 [StorableHook(HookType.AfterDeserialization)] 56 56 private void AfterDeserialization() {
Note: See TracChangeset
for help on using the changeset viewer.