Changeset 16565 for trunk/HeuristicLab.Optimization.Operators
- Timestamp:
- 01/28/19 13:41:42 (6 years ago)
- Location:
- trunk
- Files:
-
- 38 edited
- 1 copied
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.Optimization.Operators/3.3/ChildrenCopyCreator.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.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.Operators { … … 35 35 /// </remarks> 36 36 [Item("ChildrenCopyCreator", "Creates a copy of every sub-scope in the current scope and adds it as a child to the sub-scope.")] 37 [Storable Class]37 [StorableType("10AEEFF9-A713-41B5-8551-DD2331E069F2")] 38 38 public sealed class ChildrenCopyCreator : SingleSuccessorOperator { 39 39 private ScopeParameter CurrentScopeParameter { … … 45 45 46 46 [StorableConstructor] 47 private ChildrenCopyCreator( bool deserializing) : base(deserializing) { }47 private ChildrenCopyCreator(StorableConstructorFlag _) : base(_) { } 48 48 private ChildrenCopyCreator(ChildrenCopyCreator original, Cloner cloner) : base(original, cloner) { } 49 49 public ChildrenCopyCreator() -
trunk/HeuristicLab.Optimization.Operators/3.3/ChildrenCreator.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. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization.Operators { … … 38 38 /// </remarks> 39 39 [Item("ChildrenCreator", "An operator which is used to prepare crossover. The sub-scopes of the current scope the operator is applied on represent the parents. The operator creates new and empty scopes for each child, adds the scopes that represent the child's parents as sub-scopes to the child and adds the child as sub-scope to the current scope.")] 40 [Storable Class]40 [StorableType("C9D3181F-B3ED-4953-B0B4-1A307069F11D")] 41 41 public sealed class ChildrenCreator : SingleSuccessorOperator { 42 42 private ScopeParameter CurrentScopeParameter { … … 55 55 56 56 [StorableConstructor] 57 private ChildrenCreator( bool deserializing) : base(deserializing) { }57 private ChildrenCreator(StorableConstructorFlag _) : base(_) { } 58 58 private ChildrenCreator(ChildrenCreator original, Cloner cloner) : base(original, cloner) { } 59 59 public ChildrenCreator() -
trunk/HeuristicLab.Optimization.Operators/3.3/DiscreteDoubleValueModifier.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.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.Operators { … … 32 32 /// </summary> 33 33 [Item("DiscreteDoubleValueModifier", "Base class for modifying a double value according to a certain function in discrete intervalls.")] 34 [Storable Class]34 [StorableType("C1FCC849-93B7-49FA-A5B4-D1F24031A795")] 35 35 public abstract class DiscreteDoubleValueModifier : SingleSuccessorOperator, IDiscreteDoubleValueModifier { 36 36 #region parameter properties … … 73 73 #endregion 74 74 [StorableConstructor] 75 protected DiscreteDoubleValueModifier( bool deserializing) : base(deserializing) { }75 protected DiscreteDoubleValueModifier(StorableConstructorFlag _) : base(_) { } 76 76 protected DiscreteDoubleValueModifier(DiscreteDoubleValueModifier original, Cloner cloner) : base(original, cloner) { } 77 77 /// <summary> -
trunk/HeuristicLab.Optimization.Operators/3.3/ExponentialDiscreteDoubleValueModifier.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. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Optimization.Operators { … … 32 32 @"Modifies the value by exponential fall (steep fall initially, slow fall to the end) or rise (slow rise initially, fast rise to the end). 33 33 This uses a standard exponential distribution and yields a base which is implicitly derived by start and end indices and values.")] 34 [Storable Class]34 [StorableType("9DEDC020-F9A5-4067-AC23-7A29B656E818")] 35 35 public class ExponentialDiscreteDoubleValueModifier : DiscreteDoubleValueModifier { 36 36 [StorableConstructor] 37 protected ExponentialDiscreteDoubleValueModifier( bool deserializing) : base(deserializing) { }37 protected ExponentialDiscreteDoubleValueModifier(StorableConstructorFlag _) : base(_) { } 38 38 protected ExponentialDiscreteDoubleValueModifier(ExponentialDiscreteDoubleValueModifier original, Cloner cloner) : base(original, cloner) { } 39 39 public ExponentialDiscreteDoubleValueModifier() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/ExpressionCalculator.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. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization.Operators { … … 33 33 /// </summary> 34 34 [Item("ExpressionCalculator", "An operator that evaluates an expression.")] 35 [Storable Class]35 [StorableType("04FAB284-D11A-4EFF-86C2-B13C1D3D22CE")] 36 36 public class ExpressionCalculator : ValuesCollector { 37 37 [Storable] … … 57 57 58 58 [StorableConstructor] 59 protected ExpressionCalculator( bool deserializing) : base(deserializing) { }59 protected ExpressionCalculator(StorableConstructorFlag _) : base(_) { } 60 60 protected ExpressionCalculator(ExpressionCalculator original, Cloner cloner) 61 61 : base(original, cloner) { -
trunk/HeuristicLab.Optimization.Operators/3.3/GeneralizedExponentialDiscreteDoubleValueModifier.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.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.Operators { … … 40 40 Negative slopes are automatically generated if the start value is greater than the end value. 41 41 If you use `base`=1 you will get a linear interpolation.")] 42 [Storable Class]42 [StorableType("349D17F2-44D8-46EB-813F-E6D6E73B007F")] 43 43 public class GeneralizedExponentialDiscreteDoubleValueModifier : DiscreteDoubleValueModifier { 44 44 … … 49 49 50 50 [StorableConstructor] 51 protected GeneralizedExponentialDiscreteDoubleValueModifier( bool deserializing) : base(deserializing) { }51 protected GeneralizedExponentialDiscreteDoubleValueModifier(StorableConstructorFlag _) : base(_) { } 52 52 protected GeneralizedExponentialDiscreteDoubleValueModifier(GeneralizedExponentialDiscreteDoubleValueModifier original, Cloner cloner) : base(original, cloner) { } 53 53 public GeneralizedExponentialDiscreteDoubleValueModifier() { -
trunk/HeuristicLab.Optimization.Operators/3.3/HeuristicLab.Optimization.Operators-3.3.csproj
r13164 r16565 18 18 <UpgradeBackupLocation> 19 19 </UpgradeBackupLocation> 20 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>20 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 21 21 <TargetFrameworkProfile> 22 22 </TargetFrameworkProfile> … … 106 106 </PropertyGroup> 107 107 <ItemGroup> 108 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 109 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 110 </Reference> 111 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 112 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre01\lib\netstandard2.0\HEAL.Attic.dll</HintPath> 113 </Reference> 108 114 <Reference Include="System" /> 109 115 <Reference Include="System.Core"> … … 112 118 <Reference Include="System.Data" /> 113 119 <Reference Include="System.Drawing" /> 120 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 121 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 122 </Reference> 114 123 <Reference Include="System.Xml" /> 115 124 </ItemGroup> … … 154 163 <ItemGroup> 155 164 <None Include="HeuristicLab.snk" /> 165 <None Include="packages.config" /> 156 166 <None Include="Plugin.cs.frame" /> 157 167 <None Include="Properties\AssemblyInfo.cs.frame" /> -
trunk/HeuristicLab.Optimization.Operators/3.3/LinearDiscreteDoubleValueModifier.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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Optimization.Operators { … … 29 29 /// </summary> 30 30 [Item("LinearDiscreteDoubleValueModifier", "Modifies the value by linear (constant) fall or rise.")] 31 [Storable Class]31 [StorableType("B0EFCF88-9463-43BA-A0E6-0E0ACB0E4793")] 32 32 public class LinearDiscreteDoubleValueModifier : DiscreteDoubleValueModifier { 33 33 [StorableConstructor] 34 protected LinearDiscreteDoubleValueModifier( bool deserializing) : base(deserializing) { }34 protected LinearDiscreteDoubleValueModifier(StorableConstructorFlag _) : base(_) { } 35 35 protected LinearDiscreteDoubleValueModifier(LinearDiscreteDoubleValueModifier original, Cloner cloner) : base(original, cloner) { } 36 36 public LinearDiscreteDoubleValueModifier() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/MultiObjective/CrowdedComparisonSorter.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. … … 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Optimization.Operators { … … 37 37 [Item("CrowdedComparisonSorter", @"CrowdedComparisonSorter as described in: Deb, Pratap, Agrawal and Meyarivan, ""A Fast and Elitist Multiobjective 38 38 Genetic Algorithm: NSGA-II"", IEEE Transactions On Evolutionary Computation, Vol. 6, No. 2, April 2002.")] 39 [Storable Class]39 [StorableType("48F09742-454D-4BAB-A057-96BDF4ACDCE9")] 40 40 public class CrowdedComparisonSorter : SingleSuccessorOperator { 41 41 … … 49 49 50 50 [StorableConstructor] 51 protected CrowdedComparisonSorter( bool deserializing) : base(deserializing) { }51 protected CrowdedComparisonSorter(StorableConstructorFlag _) : base(_) { } 52 52 protected CrowdedComparisonSorter(CrowdedComparisonSorter original, Cloner cloner) : base(original, cloner) { } 53 53 public CrowdedComparisonSorter() { … … 69 69 } 70 70 71 [StorableType("c16dd393-bd08-4a81-abb5-1b7e918a1038")] 71 72 private class CustomComparer : IComparer<int> { 72 73 ItemArray<IntValue> ranks; -
trunk/HeuristicLab.Optimization.Operators/3.3/MultiObjective/CrowdingDistanceAssignment.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. … … 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Optimization.Operators { 33 33 [Item("CrowdingDistanceAssignment", "Calculates the crowding distances for each sub-scope as described in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.")] 34 [Storable Class]34 [StorableType("F7DF8B74-F1E6-45D6-A1A8-5D381F20B382")] 35 35 public class CrowdingDistanceAssignment : SingleSuccessorOperator, IMultiObjectiveOperator { 36 36 … … 48 48 49 49 [StorableConstructor] 50 protected CrowdingDistanceAssignment( bool deserializing) : base(deserializing) { }50 protected CrowdingDistanceAssignment(StorableConstructorFlag _) : base(_) { } 51 51 protected CrowdingDistanceAssignment(CrowdingDistanceAssignment original, Cloner cloner) : base(original, cloner) { } 52 52 public CrowdingDistanceAssignment() { … … 103 103 } 104 104 105 [StorableType("30fd1927-b268-4ce7-8960-b04bfa83f1e6")] 105 106 private class QualitiesComparer : IComparer<DoubleArray> { 106 107 private int index; -
trunk/HeuristicLab.Optimization.Operators/3.3/MultiObjective/FastNonDominatedSort.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. … … 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Linq; 25 24 using HeuristicLab.Common; … … 28 27 using HeuristicLab.Operators; 29 28 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 31 30 32 31 namespace HeuristicLab.Optimization.Operators { … … 37 36 [Item("FastNonDominatedSort", @"FastNonDominatedSort as described in: Deb, Pratap, Agrawal and Meyarivan, ""A Fast and Elitist Multiobjective 38 37 Genetic Algorithm: NSGA-II"", IEEE Transactions On Evolutionary Computation, Vol. 6, No. 2, April 2002")] 39 [Storable Class]38 [StorableType("0D1919E6-FCDE-4216-831A-E6427C3D986E")] 40 39 public class FastNonDominatedSort : SingleSuccessorOperator, IMultiObjectiveOperator { 41 40 … … 56 55 57 56 [StorableConstructor] 58 protected FastNonDominatedSort( bool deserializing) : base(deserializing) { }57 protected FastNonDominatedSort(StorableConstructorFlag _) : base(_) { } 59 58 protected FastNonDominatedSort(FastNonDominatedSort original, Cloner cloner) : base(original, cloner) { } 60 59 public FastNonDominatedSort() { -
trunk/HeuristicLab.Optimization.Operators/3.3/MultiObjective/RankAndCrowdingSorter.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.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Selection; 29 29 30 30 namespace HeuristicLab.Optimization.Operators { 31 [Storable Class]31 [StorableType("CC2A5B04-361C-451B-87A4-524895748E79")] 32 32 public class RankAndCrowdingSorter : AlgorithmOperator, IMultiObjectiveOperator { 33 33 #region Parameter properties … … 50 50 51 51 [StorableConstructor] 52 protected RankAndCrowdingSorter( bool deserializing) : base(deserializing) { }52 protected RankAndCrowdingSorter(StorableConstructorFlag _) : base(_) { } 53 53 protected RankAndCrowdingSorter(RankAndCrowdingSorter original, Cloner cloner) : base(original, cloner) { } 54 54 public RankAndCrowdingSorter() -
trunk/HeuristicLab.Optimization.Operators/3.3/NoSimilarityCalculator.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. … … 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; … … 31 32 /// </remarks> 32 33 [Item("NoSimilarityCalculator", "An item that performs similarity calculation between two solutions. The item always considers two solutions to be distinct.")] 34 [StorableType("dd0dc63b-f691-4132-963e-eab3e1bc366a")] 33 35 public sealed class NoSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 34 36 protected override bool IsCommutative { get { return true; } } 35 37 36 private NoSimilarityCalculator(bool deserializing) : base(deserializing) { } 38 [StorableConstructor] 39 private NoSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 37 40 private NoSimilarityCalculator(NoSimilarityCalculator original, Cloner cloner) : base(original, cloner) { } 38 41 public NoSimilarityCalculator() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/ParentCopyCrossover.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.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Optimization.Operators { 29 29 [Item("ParentCopyCrossover", "This operator creates an offspring by creating a clone of a randomly chosen parent. It can be used in situations where no crossover should occur after selection.")] 30 [Storable Class]30 [StorableType("B97DCEBA-B631-4D12-997A-665C33B86C70")] 31 31 public class ParentCopyCrossover : InstrumentedOperator, ICrossover, IStochasticOperator { 32 32 public ILookupParameter<IRandom> RandomParameter { … … 36 36 37 37 [StorableConstructor] 38 protected ParentCopyCrossover( bool deserializing) : base(deserializing) { }38 protected ParentCopyCrossover(StorableConstructorFlag _) : base(_) { } 39 39 protected ParentCopyCrossover(ParentCopyCrossover original, Cloner cloner) : base(original, cloner) { } 40 40 public ParentCopyCrossover() -
trunk/HeuristicLab.Optimization.Operators/3.3/Plugin.cs.frame
r15589 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. -
trunk/HeuristicLab.Optimization.Operators/3.3/ProbabilisticQualityComparator.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.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.Operators { … … 37 37 /// </remarks> 38 38 [Item("ProbabilisticQualityComparator", "Compares two qualities and creates a boolean flag that indicates if the left side is better than the right side or if the difference in quality is acceptable given a certain probability.")] 39 [Storable Class]39 [StorableType("E8467C96-D88F-4EFA-B3BF-78DBFA63B36A")] 40 40 public class ProbabilisticQualityComparator : QualityComparator, IStochasticOperator { 41 41 public ILookupParameter<DoubleValue> DampeningParameter { … … 47 47 48 48 [StorableConstructor] 49 protected ProbabilisticQualityComparator( bool deserializing) : base(deserializing) { }49 protected ProbabilisticQualityComparator(StorableConstructorFlag _) : base(_) { } 50 50 protected ProbabilisticQualityComparator(ProbabilisticQualityComparator original, Cloner cloner) : base(original, cloner) { } 51 51 public ProbabilisticQualityComparator() -
trunk/HeuristicLab.Optimization.Operators/3.3/ProgrammableAnalyzer.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.Operators.Programmable; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Optimization.Operators { 30 30 31 31 [Item("ProgrammableAnalyzer", "An analyzer that can be programmed for arbitrary needs.")] 32 [Storable Class]32 [StorableType("6C821E9E-098E-409B-B281-9B530C1F5835")] 33 33 public class ProgrammableAnalyzer : ProgrammableSingleSuccessorOperator, IAnalyzer { 34 34 public virtual bool EnabledByDefault { … … 37 37 38 38 [StorableConstructor] 39 protected ProgrammableAnalyzer( bool deserializing) : base(deserializing) { }39 protected ProgrammableAnalyzer(StorableConstructorFlag _) : base(_) { } 40 40 protected ProgrammableAnalyzer(ProgrammableAnalyzer original, Cloner cloner) 41 41 : base(original, cloner) { -
trunk/HeuristicLab.Optimization.Operators/3.3/Properties/AssemblyInfo.cs.frame
r15589 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. -
trunk/HeuristicLab.Optimization.Operators/3.3/QuadraticDiscreteDoubleValueModifier.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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Optimization.Operators { … … 29 29 /// </summary> 30 30 [Item("QuadraticDiscreteDoubleValueModifier", "Modifies the value by quadratic fall (slow fall initially, fast fall to the end) or rise (slow rise initally, fast rise to the end).")] 31 [Storable Class]31 [StorableType("49CADD22-7074-4ADB-AA7B-36D03115FB1A")] 32 32 public class QuadraticDiscreteDoubleValueModifier : DiscreteDoubleValueModifier { 33 33 [StorableConstructor] 34 protected QuadraticDiscreteDoubleValueModifier( bool deserializing) : base(deserializing) { }34 protected QuadraticDiscreteDoubleValueModifier(StorableConstructorFlag _) : base(_) { } 35 35 protected QuadraticDiscreteDoubleValueModifier(QuadraticDiscreteDoubleValueModifier original, Cloner cloner) : base(original, cloner) { } 36 36 public QuadraticDiscreteDoubleValueModifier() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/QualityComparator.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.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.Operators { 30 30 [Item("QualityComparator", "Compares two qualities and creates a boolean flag that indicates if the left side is better than the right side.")] 31 [Storable Class]31 [StorableType("ACCB56BB-699C-493D-8832-2E3B1D6AEE97")] 32 32 public class QualityComparator : SingleSuccessorOperator, IQualityComparator { 33 33 public ILookupParameter<DoubleValue> LeftSideParameter { … … 45 45 46 46 [StorableConstructor] 47 protected QualityComparator( bool deserializing) : base(deserializing) { }47 protected QualityComparator(StorableConstructorFlag _) : base(_) { } 48 48 protected QualityComparator(QualityComparator original, Cloner cloner) : base(original, cloner) { } 49 49 public QualityComparator() -
trunk/HeuristicLab.Optimization.Operators/3.3/QualitySimilarityCalculator.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. … … 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 33 34 /// </remarks> 34 35 [Item("QualitySimilarityCalculator", "An item that performs similarity calculation between two solutions. The item only considers the qualities of the two solutions.")] 36 [StorableType("b5ef2b97-4a4a-43cd-aeae-7f951b49cdc1")] 35 37 public sealed class QualitySimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 36 38 protected override bool IsCommutative { get { return true; } } 37 39 38 private QualitySimilarityCalculator(bool deserializing) : base(deserializing) { } 40 [StorableConstructor] 41 private QualitySimilarityCalculator(StorableConstructorFlag _) : base(_) { } 39 42 private QualitySimilarityCalculator(QualitySimilarityCalculator original, Cloner cloner) : base(original, cloner) { } 40 43 public QualitySimilarityCalculator() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/ResultsCollector.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. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization.Operators { … … 33 33 /// </summary> 34 34 [Item("ResultsCollector", "An operator which collects the actual values of parameters and adds them to a collection of results.")] 35 [Storable Class]35 [StorableType("AAC0CE73-E492-48FB-9645-7AC282ECD860")] 36 36 public class ResultsCollector : ValuesCollector { 37 37 public ValueLookupParameter<ResultCollection> ResultsParameter { … … 48 48 49 49 [StorableConstructor] 50 protected ResultsCollector( bool deserializing) : base(deserializing) { }50 protected ResultsCollector(StorableConstructorFlag _) : base(_) { } 51 51 protected ResultsCollector(ResultsCollector original, Cloner cloner) : base(original, cloner) { } 52 52 public ResultsCollector() -
trunk/HeuristicLab.Optimization.Operators/3.3/SASEGASAReunificator.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. … … 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.Operators { … … 35 35 /// </summary> 36 36 [Item("SASEGASAReunificator", "This operator merges the villages (sub-scopes) and redistributes the individuals. It is implemented as described in Affenzeller, M. et al. 2009. Genetic Algorithms and Genetic Programming - Modern Concepts and Practical Applications, CRC Press.")] 37 [Storable Class]37 [StorableType("09433AE4-A51B-40F5-967D-3A2A83EE8814")] 38 38 public class SASEGASAReunificator : SingleSuccessorOperator { 39 39 … … 43 43 44 44 [StorableConstructor] 45 protected SASEGASAReunificator( bool deserializing) : base(deserializing) { }45 protected SASEGASAReunificator(StorableConstructorFlag _) : base(_) { } 46 46 protected SASEGASAReunificator(SASEGASAReunificator original, Cloner cloner) : base(original, cloner) { } 47 47 public SASEGASAReunificator() -
trunk/HeuristicLab.Optimization.Operators/3.3/ShakingOperator.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. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization.Operators { … … 33 33 /// </summary> 34 34 [Item("ShakingOperator", "A shaking operator for VNS that can be filled with arbitrary manipulation operators.")] 35 [Storable Class]35 [StorableType("38CE1371-38BB-40F7-A4FC-0B8049D3BE2E")] 36 36 public class ShakingOperator<T> : CheckedMultiOperator<T>, IMultiNeighborhoodShakingOperator where T : class, IManipulator { 37 37 … … 45 45 46 46 [StorableConstructor] 47 protected ShakingOperator( bool deserializing) : base(deserializing) { }47 protected ShakingOperator(StorableConstructorFlag _) : base(_) { } 48 48 protected ShakingOperator(ShakingOperator<T> original, Cloner cloner) : base(original, cloner) { } 49 49 public override IDeepCloneable Clone(Cloner cloner) { -
trunk/HeuristicLab.Optimization.Operators/3.3/SingleObjectivePathRelinker.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.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.Operators { … … 32 32 /// </summary> 33 33 [Item("SingleObjectivePathRelinker", "A base class for operators that perform path relinking between single objective solutions.")] 34 [Storable Class]34 [StorableType("364CE8A7-0258-4EC1-BBDB-E40C944BD196")] 35 35 public abstract class SingleObjectivePathRelinker : SingleSuccessorOperator, ISingleObjectivePathRelinker { 36 36 #region Parameter properties … … 59 59 60 60 [StorableConstructor] 61 protected SingleObjectivePathRelinker( bool deserializing) : base(deserializing) { }61 protected SingleObjectivePathRelinker(StorableConstructorFlag _) : base(_) { } 62 62 protected SingleObjectivePathRelinker(SingleObjectivePathRelinker original, Cloner cloner) : base(original, cloner) { } 63 63 protected SingleObjectivePathRelinker() -
trunk/HeuristicLab.Optimization.Operators/3.3/SingleObjectiveSolutionSimilarityCalculator.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. … … 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.Operators { … … 30 30 /// </summary> 31 31 [Item("SimilarityCalculator", "A base class for items that perform similarity calculation between two solutions.")] 32 [Storable Class]32 [StorableType("16E69099-B75B-467B-ADAC-8CA64796F389")] 33 33 #pragma warning disable 0618 34 34 public abstract class SingleObjectiveSolutionSimilarityCalculator : SolutionSimilarityCalculator, ISingleObjectiveSolutionSimilarityCalculator { 35 35 #pragma warning restore 0618 36 36 [StorableConstructor] 37 protected SingleObjectiveSolutionSimilarityCalculator( bool deserializing) : base(deserializing) { }37 protected SingleObjectiveSolutionSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 38 38 protected SingleObjectiveSolutionSimilarityCalculator(SingleObjectiveSolutionSimilarityCalculator original, Cloner cloner) 39 39 : base(original, cloner) { -
trunk/HeuristicLab.Optimization.Operators/3.3/SolutionSimilarityCalculator.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. … … 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Data; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization.Operators { … … 33 33 /// </summary> 34 34 [Item("SimilarityCalculator", "A base class for items that perform similarity calculation between two solutions.")] 35 [Storable Class]35 [StorableType("ACDF2895-0C4E-4C34-A091-F41EF5C78241")] 36 36 public abstract class SolutionSimilarityCalculator : Item, ISolutionSimilarityCalculator { 37 37 protected abstract bool IsCommutative { get; } … … 49 49 50 50 [StorableConstructor] 51 protected SolutionSimilarityCalculator( bool deserializing) : base(deserializing) { }51 protected SolutionSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 52 52 53 53 protected SolutionSimilarityCalculator(SolutionSimilarityCalculator original, Cloner cloner) -
trunk/HeuristicLab.Optimization.Operators/3.3/SolutionsCreator.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.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.Operators { … … 32 32 /// </summary> 33 33 [Item("SolutionsCreator", "An operator which creates new solutions. Evaluation of the new solutions is executed in parallel, if an engine is used which supports parallelization.")] 34 [Storable Class]34 [StorableType("3EE12E32-F8AF-4C7E-A9C9-B5DC5561CFE2")] 35 35 public sealed class SolutionsCreator : SingleSuccessorOperator { 36 36 public ValueLookupParameter<IntValue> NumberOfSolutionsParameter { … … 58 58 59 59 [StorableConstructor] 60 private SolutionsCreator( bool deserializing) : base(deserializing) { }60 private SolutionsCreator(StorableConstructorFlag _) : base(_) { } 61 61 private SolutionsCreator(SolutionsCreator original, Cloner cloner) : base(original, cloner) { } 62 62 public SolutionsCreator() -
trunk/HeuristicLab.Optimization.Operators/3.3/SquareRootDiscreteDoubleValueModifier.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. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Optimization.Operators { … … 30 30 /// </summary> 31 31 [Item("SquareRootDiscreteDoubleValueModifier", "Modifies the value by square rooted fall (fast fall initially, slow fall to the end) or rise (fast rise initially, slow rise to the end).")] 32 [Storable Class]32 [StorableType("0D62E89E-87D9-4F4F-889E-D64CB4CCBF6E")] 33 33 public class SquareRootDiscreteDoubleValueModifier : DiscreteDoubleValueModifier { 34 34 [StorableConstructor] 35 protected SquareRootDiscreteDoubleValueModifier( bool deserializing) : base(deserializing) { }35 protected SquareRootDiscreteDoubleValueModifier(StorableConstructorFlag _) : base(_) { } 36 36 protected SquareRootDiscreteDoubleValueModifier(SquareRootDiscreteDoubleValueModifier original, Cloner cloner) : base(original, cloner) { } 37 37 public SquareRootDiscreteDoubleValueModifier() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/TabuMaker.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. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization.Operators { 31 31 [Item("TabuMaker", "Base class for all operators that set a move tabu.")] 32 [Storable Class]32 [StorableType("1124A697-DDF1-442E-8CBB-FA0D51B4C736")] 33 33 public abstract class TabuMaker : SingleSuccessorOperator, ITabuMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 52 52 53 53 [StorableConstructor] 54 protected TabuMaker( bool deserializing) : base(deserializing) { }54 protected TabuMaker(StorableConstructorFlag _) : base(_) { } 55 55 protected TabuMaker(TabuMaker original, Cloner cloner) : base(original, cloner) { } 56 56 protected TabuMaker() -
trunk/HeuristicLab.Optimization.Operators/3.3/UnidirectionalRingMigrator.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. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization.Operators { … … 33 33 /// </summary> 34 34 [Item("UnidirectionalRingMigrator", "Migrates the selected sub scopes in each subscope in an unidirectional ring.")] 35 [Storable Class]35 [StorableType("A6642E0A-2FA1-49F3-9BA8-94EA370FE2CF")] 36 36 public class UnidirectionalRingMigrator : SingleSuccessorOperator, IMigrator { 37 37 public IValueLookupParameter<BoolValue> ClockwiseMigrationParameter { … … 40 40 41 41 [StorableConstructor] 42 protected UnidirectionalRingMigrator( bool deserializing) : base(deserializing) { }42 protected UnidirectionalRingMigrator(StorableConstructorFlag _) : base(_) { } 43 43 protected UnidirectionalRingMigrator(UnidirectionalRingMigrator original, Cloner cloner) : base(original, cloner) { } 44 44 -
trunk/HeuristicLab.Optimization.Operators/3.3/UserDefinedCrossover.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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Optimization.Operators { 27 27 [Item("UserDefinedCrossover", "A crossover that can be customized with operators which it will execute one after another.")] 28 [Storable Class]28 [StorableType("93EE357C-60D8-492B-AC69-F5D48370CAE1")] 29 29 public class UserDefinedCrossover : UserDefinedOperator, ICrossover { 30 30 [StorableConstructor] 31 protected UserDefinedCrossover( bool deserializing) : base(deserializing) { }31 protected UserDefinedCrossover(StorableConstructorFlag _) : base(_) { } 32 32 protected UserDefinedCrossover(UserDefinedCrossover original, Cloner cloner) : base(original, cloner) { } 33 33 public UserDefinedCrossover() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/UserDefinedEvaluator.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.Data; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Optimization.Operators { 29 29 [Item("UserDefinedEvaluator", "An evaluator that can be customized with operators which it will execute one after another.")] 30 [Storable Class]30 [StorableType("BE378550-EAD2-4D4B-A2FD-3CBC563B2C2B")] 31 31 public class UserDefinedEvaluator : UserDefinedOperator, ISingleObjectiveEvaluator { 32 32 public ILookupParameter<DoubleValue> QualityParameter { … … 35 35 36 36 [StorableConstructor] 37 protected UserDefinedEvaluator( bool deserializing) : base(deserializing) { }37 protected UserDefinedEvaluator(StorableConstructorFlag _) : base(_) { } 38 38 protected UserDefinedEvaluator(UserDefinedEvaluator original, Cloner cloner) : base(original, cloner) { } 39 39 public UserDefinedEvaluator() -
trunk/HeuristicLab.Optimization.Operators/3.3/UserDefinedManipulator.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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Optimization.Operators { 27 27 [Item("UserDefinedManipulator", "A manipulator that can be customized with operators which it will execute one after another.")] 28 [Storable Class]28 [StorableType("B64E8AF0-990A-4E4F-BE1A-1194E0A6CA4E")] 29 29 public class UserDefinedManipulator : UserDefinedOperator, IManipulator { 30 30 [StorableConstructor] 31 protected UserDefinedManipulator( bool deserializing) : base(deserializing) { }31 protected UserDefinedManipulator(StorableConstructorFlag _) : base(_) { } 32 32 protected UserDefinedManipulator(UserDefinedManipulator original, Cloner cloner) : base(original, cloner) { } 33 33 public UserDefinedManipulator() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/UserDefinedOperator.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.Operators; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Optimization.Operators { 29 29 [Item("UserDefinedOperator", "An operator that can be parameterized with multiple operators which will be executed one after another.")] 30 [Storable Class]30 [StorableType("2B0E574C-AAD7-4A0B-A4F2-A80F9C428A11")] 31 31 public abstract class UserDefinedOperator : CheckedMultiOperator<IOperator> { 32 32 [StorableConstructor] 33 protected UserDefinedOperator( bool deserializing) : base(deserializing) { }33 protected UserDefinedOperator(StorableConstructorFlag _) : base(_) { } 34 34 protected UserDefinedOperator(UserDefinedOperator original, Cloner cloner) : base(original, cloner) { } 35 35 public UserDefinedOperator() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/UserDefinedSolutionCreator.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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Optimization.Operators { 27 27 [Item("UserDefinedSolutionCreator", "A solution creator that can be customized with operators which it will execute one after another.")] 28 [Storable Class]28 [StorableType("E6B305A2-A5E5-4DAC-933D-1DC1AA50ED7B")] 29 29 public class UserDefinedSolutionCreator : UserDefinedOperator, ISolutionCreator { 30 30 [StorableConstructor] 31 protected UserDefinedSolutionCreator( bool deserializing) : base(deserializing) { }31 protected UserDefinedSolutionCreator(StorableConstructorFlag _) : base(_) { } 32 32 protected UserDefinedSolutionCreator(UserDefinedSolutionCreator original, Cloner cloner) : base(original, cloner) { } 33 33 public UserDefinedSolutionCreator() : base() { } -
trunk/HeuristicLab.Optimization.Operators/3.3/WeightedParentsQualityComparator.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. … … 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Optimization.Operators { 33 33 [Item("WeightedParentsQualityComparator", "Compares the quality against that of its parents (assumes the parents are subscopes to the child scope). This operator works with any number of subscopes > 0.")] 34 [Storable Class]34 [StorableType("82DA6E16-049F-4BF5-B900-FF11B01FA866")] 35 35 public class WeightedParentsQualityComparator : SingleSuccessorOperator, ISubScopesQualityComparator { 36 36 public IValueLookupParameter<BoolValue> MaximizationParameter { … … 51 51 52 52 [StorableConstructor] 53 protected WeightedParentsQualityComparator( bool deserializing) : base(deserializing) { }53 protected WeightedParentsQualityComparator(StorableConstructorFlag _) : base(_) { } 54 54 protected WeightedParentsQualityComparator(WeightedParentsQualityComparator original, Cloner cloner) : base(original, cloner) { } 55 55 public WeightedParentsQualityComparator()
Note: See TracChangeset
for help on using the changeset viewer.