Changeset 17097 for stable/HeuristicLab.Operators
- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 35 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Operators/3.3/AlgorithmOperator.cs
r15584 r17097 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.Operators { … … 30 30 /// </summary> 31 31 [Item("AlgorithmOperator", "An operator which represents an algorithm represented as an operator graph.")] 32 [Storable Class]32 [StorableType("A0F318EF-7614-4208-99C0-56DF89D4C23D")] 33 33 public abstract class AlgorithmOperator : SingleSuccessorOperator, IOperatorGraphOperator { 34 34 public static new Image StaticItemImage { … … 48 48 49 49 [StorableConstructor] 50 protected AlgorithmOperator( bool deserializing) : base(deserializing) { }50 protected AlgorithmOperator(StorableConstructorFlag _) : base(_) { } 51 51 protected AlgorithmOperator(AlgorithmOperator original, Cloner cloner) 52 52 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/Assigner.cs
r15584 r17097 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.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Operators { … … 30 30 /// </summary> 31 31 [Item("Assigner", "An operator which clones and assigns the value of one parameter to another parameter.")] 32 [Storable Class]32 [StorableType("78FF1ACA-3D1E-4541-917F-B0431BAEC593")] 33 33 public sealed class Assigner : SingleSuccessorOperator { 34 34 public LookupParameter<IItem> LeftSideParameter { … … 40 40 41 41 [StorableConstructor] 42 private Assigner( bool deserializing) : base(deserializing) { }42 private Assigner(StorableConstructorFlag _) : base(_) { } 43 43 private Assigner(Assigner original, Cloner cloner) 44 44 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/CheckedMultiOperator.cs
r15584 r17097 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.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Operators { … … 32 32 /// </summary> 33 33 [Item("CheckedMultiOperator", "A base class for operators which apply arbitrary many other operators of a specific type that can be checked or unchecked.")] 34 [Storable Class]34 [StorableType("7C166074-0171-4574-8689-8CDB75A9BB1A")] 35 35 public abstract class CheckedMultiOperator<T> : MultiOperator<T>, ICheckedMultiOperator<T> where T : class, IOperator { 36 36 /// <summary> … … 43 43 44 44 [StorableConstructor] 45 protected CheckedMultiOperator( bool deserializing) : base(deserializing) { }45 protected CheckedMultiOperator(StorableConstructorFlag _) : base(_) { } 46 46 protected CheckedMultiOperator(CheckedMultiOperator<T> original, Cloner cloner) 47 47 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/CombinedOperator.cs
r15584 r17097 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.Operators { … … 29 29 /// </summary> 30 30 [Item("CombinedOperator", "An operator which contains an operator graph.")] 31 [Storable Class]31 [StorableType("8A035E57-6D50-4797-96D2-BDDD2B1FACC4")] 32 32 public sealed class CombinedOperator : AlgorithmOperator, IParameterizedItem, IStorableContent { 33 33 public string Filename { get; set; } … … 44 44 45 45 [StorableConstructor] 46 private CombinedOperator( bool deserializing) : base(deserializing) { }46 private CombinedOperator(StorableConstructorFlag _) : base(_) { } 47 47 private CombinedOperator(CombinedOperator original, Cloner cloner) 48 48 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/Comparator.cs
r15584 r17097 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.Operators { … … 32 32 /// </summary> 33 33 [Item("Comparator", "An operator which compares two items.")] 34 [Storable Class]34 [StorableType("21C6129E-1D5C-43BB-8E6D-1F1DD5C2E995")] 35 35 public sealed class Comparator : SingleSuccessorOperator { 36 36 public LookupParameter<IItem> LeftSideParameter { … … 52 52 53 53 [StorableConstructor] 54 private Comparator( bool deserializing) : base(deserializing) { }54 private Comparator(StorableConstructorFlag _) : base(_) { } 55 55 private Comparator(Comparator original, Cloner cloner) 56 56 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/ConditionalBranch.cs
r15584 r17097 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.Operators { … … 31 31 /// </summary> 32 32 [Item("ConditionalBranch", "A branch of two operators whose executions depend on a boolean condition. If the boolean condition is not present, the false branch is executed.")] 33 [Storable Class]33 [StorableType("DAE01CA9-CE0C-48BB-BA7B-6BF380B02862")] 34 34 public class ConditionalBranch : SingleSuccessorOperator { 35 35 public LookupParameter<BoolValue> ConditionParameter { … … 52 52 53 53 [StorableConstructor] 54 protected ConditionalBranch( bool deserializing) : base(deserializing) { }54 protected ConditionalBranch(StorableConstructorFlag _) : base(_) { } 55 55 protected ConditionalBranch(ConditionalBranch original, Cloner cloner) 56 56 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/DataReducer.cs
r15584 r17097 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.Data; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Operators { 32 32 [Item("DataReducer", "An operator to reduce values of sub scopes.")] 33 [Storable Class]33 [StorableType("87DC7AB9-4C8D-4FF9-B0B0-70B7E7F32C3C")] 34 34 public sealed class DataReducer : SingleSuccessorOperator { 35 35 #region Parameter Properties … … 49 49 50 50 [StorableConstructor] 51 private DataReducer( bool deserializing) : base(deserializing) { }51 private DataReducer(StorableConstructorFlag _) : base(_) { } 52 52 private DataReducer(DataReducer original, Cloner cloner) 53 53 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/DoubleCounter.cs
r15584 r17097 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.Operators { … … 31 31 /// </summary> 32 32 [Item("DoubleCounter", "An operator which increments a double variable.")] 33 [Storable Class]33 [StorableType("0DD61CAD-1FBB-4677-840C-3A1A85D77110")] 34 34 public sealed class DoubleCounter : SingleSuccessorOperator { 35 35 public LookupParameter<DoubleValue> ValueParameter { … … 45 45 46 46 [StorableConstructor] 47 private DoubleCounter( bool deserializing) : base(deserializing) { }47 private DoubleCounter(StorableConstructorFlag _) : base(_) { } 48 48 private DoubleCounter(DoubleCounter original, Cloner cloner) 49 49 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/EmptyOperator.cs
r15584 r17097 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.Operators { … … 29 29 /// </summary> 30 30 [Item("EmptyOperator", "An operator which represents an empty statement.")] 31 [Storable Class]31 [StorableType("E385372F-A82C-4C27-8D93-A5366F454A17")] 32 32 public sealed class EmptyOperator : SingleSuccessorOperator { 33 33 [StorableConstructor] 34 private EmptyOperator( bool deserializing) : base(deserializing) { }34 private EmptyOperator(StorableConstructorFlag _) : base(_) { } 35 35 private EmptyOperator(EmptyOperator original, Cloner cloner) 36 36 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/HeuristicLab.Operators-3.3.csproj
r11920 r17097 18 18 <UpgradeBackupLocation> 19 19 </UpgradeBackupLocation> 20 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>20 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 21 21 <TargetFrameworkProfile> 22 22 </TargetFrameworkProfile> … … 108 108 </PropertyGroup> 109 109 <ItemGroup> 110 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 111 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 112 </Reference> 113 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 114 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre02\lib\net461\HEAL.Attic.dll</HintPath> 115 </Reference> 110 116 <Reference Include="System" /> 111 117 <Reference Include="System.Core"> … … 114 120 <Reference Include="System.Data" /> 115 121 <Reference Include="System.Drawing" /> 122 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 123 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 124 </Reference> 116 125 <Reference Include="System.Xml" /> 117 126 </ItemGroup> … … 120 129 <Compile Include="CombinedOperator.cs" /> 121 130 <Compile Include="Operator.InstrumentedOperatorWrapper.cs" /> 131 <None Include="packages.config" /> 122 132 <None Include="Plugin.cs.frame" /> 123 133 <Compile Include="ConditionalBranch.cs" /> -
stable/HeuristicLab.Operators/3.3/InstrumentedOperator.cs
r15584 r17097 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.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Operators { 30 30 [Item("InstrumentedOperator", "A operator that can execute pre- and post actions.")] 31 [Storable Class]31 [StorableType("FE448512-394C-471E-B7E4-077FA273C173")] 32 32 public abstract class InstrumentedOperator : SingleSuccessorOperator, IInstrumentedOperator { 33 33 private const string BeforeExecutionOperatorsParameterName = "BeforeExecutionOperators"; … … 52 52 53 53 [StorableConstructor] 54 protected InstrumentedOperator( bool deserializing) : base(deserializing) { }54 protected InstrumentedOperator(StorableConstructorFlag _) : base(_) { } 55 55 protected InstrumentedOperator(InstrumentedOperator original, Cloner cloner) 56 56 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/IntCounter.cs
r15584 r17097 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.Operators { … … 31 31 /// </summary> 32 32 [Item("IntCounter", "An operator which increments an integer variable.")] 33 [Storable Class]33 [StorableType("053589D0-CEF2-465C-98F8-0A1FB7206B60")] 34 34 public sealed class IntCounter : SingleSuccessorOperator { 35 35 … … 46 46 47 47 [StorableConstructor] 48 private IntCounter( bool deserializing) : base(deserializing) { }48 private IntCounter(StorableConstructorFlag _) : base(_) { } 49 49 private IntCounter(IntCounter original, Cloner cloner) 50 50 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/LocalRandomCreator.cs
r15584 r17097 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.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Operators { 28 28 [Item("LocalRandomCreator", "Creates a local pseudo random number generator from a global random number generator.")] 29 [Storable Class]29 [StorableType("C1E56840-D71E-46F0-A964-AB8E9340333C")] 30 30 public sealed class LocalRandomCreator : SingleSuccessorOperator { 31 31 #region Parameter Properties … … 39 39 40 40 [StorableConstructor] 41 private LocalRandomCreator( bool deserializing) : base(deserializing) { }41 private LocalRandomCreator(StorableConstructorFlag _) : base(_) { } 42 42 private LocalRandomCreator(LocalRandomCreator original, Cloner cloner) 43 43 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/MultiOperator.cs
r15584 r17097 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.Core; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Operators { … … 34 34 /// </summary> 35 35 [Item("MultiOperator", "A base class for operators which apply arbitrary many other operators of a specific type.")] 36 [Storable Class]36 [StorableType("B8991981-2A8E-4A84-914D-24EE977BFB8F")] 37 37 public abstract class MultiOperator<T> : InstrumentedOperator, IMultiOperator<T> where T : class, IOperator { 38 38 private List<IValueParameter<T>> operatorParameters; … … 57 57 58 58 [StorableConstructor] 59 protected MultiOperator( bool deserializing) : base(deserializing) { }59 protected MultiOperator(StorableConstructorFlag _) : base(_) { } 60 60 protected MultiOperator(MultiOperator<T> original, Cloner cloner) 61 61 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/Operator.InstrumentedOperatorWrapper.cs
r15584 r17097 2 2 3 3 /* HeuristicLab 4 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 5 5 * 6 6 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Common; 28 28 using HeuristicLab.Core; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.PluginInfrastructure; 31 31 using ExecutionContext = HeuristicLab.Core.ExecutionContext; … … 38 38 } 39 39 40 [Storable Class]40 [StorableType("6F0E5A4B-596C-435E-8CCA-969FE8745E92")] 41 41 [NonDiscoverableType] 42 42 private class InstrumentedOperatorWrapper : Operator { … … 45 45 46 46 [StorableConstructor] 47 private InstrumentedOperatorWrapper( bool deserializing) : base(deserializing) { }47 private InstrumentedOperatorWrapper(StorableConstructorFlag _) : base(_) { } 48 48 49 49 private InstrumentedOperatorWrapper(InstrumentedOperatorWrapper original, Cloner cloner) -
stable/HeuristicLab.Operators/3.3/Operator.cs
r15584 r17097 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.Common; 27 27 using HeuristicLab.Core; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Operators { … … 33 33 /// </summary> 34 34 [Item("Operator", "Base class for operators.")] 35 [Storable Class]35 [StorableType("6AC01841-FF13-41B5-87E4-181F10D08835")] 36 36 public abstract partial class Operator : ParameterizedNamedItem, IOperator, IStatefulItem { 37 37 public static new Image StaticItemImage { … … 76 76 77 77 [StorableConstructor] 78 protected Operator(bool deserializing) 79 : base(deserializing) { 78 protected Operator(StorableConstructorFlag _) : base(_) { 80 79 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 81 80 } -
stable/HeuristicLab.Operators/3.3/Placeholder.cs
r15584 r17097 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.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Operators { … … 30 30 /// </summary> 31 31 [Item("Placeholder", "An operator which acts as a placeholder for another operator retrieved from the scope or a parent execution context.")] 32 [Storable Class]32 [StorableType("B197A6BB-9C18-4E0B-8FE6-D4746C4892CD")] 33 33 public sealed class Placeholder : SingleSuccessorOperator { 34 34 public LookupParameter<IOperator> OperatorParameter { … … 37 37 38 38 [StorableConstructor] 39 private Placeholder( bool deserializing) : base(deserializing) { }39 private Placeholder(StorableConstructorFlag _) : base(_) { } 40 40 private Placeholder(Placeholder original, Cloner cloner) 41 41 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/Plugin.cs.frame
r15587 r17097 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. -
stable/HeuristicLab.Operators/3.3/Properties/AssemblyInfo.cs.frame
r15587 r17097 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. -
stable/HeuristicLab.Operators/3.3/ReductionOperation.cs
r15584 r17097 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.Operators { 29 [StorableType("1080f82a-f4cd-41db-a474-6578a4b9ec82")] 29 30 public enum ReductionOperations { 30 31 Sum, … … 40 41 41 42 [Item("ReductionOperation", "Represents a certain type of reduction operation.")] 42 [Storable Class]43 [StorableType("32D733BA-9331-46D2-8BB3-95E23431F00B")] 43 44 public class ReductionOperation : ValueTypeValue<ReductionOperations> { 44 45 public static new Image StaticItemImage { … … 47 48 48 49 [StorableConstructor] 49 protected ReductionOperation( bool deserializing) : base(deserializing) { }50 protected ReductionOperation(StorableConstructorFlag _) : base(_) { } 50 51 protected ReductionOperation(ReductionOperation original, Cloner cloner) : base(original, cloner) { } 51 52 public ReductionOperation() : base() { } -
stable/HeuristicLab.Operators/3.3/ScopeCleaner.cs
r15584 r17097 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.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Operators { … … 30 30 /// </summary> 31 31 [Item("ScopeCleaner", "An operator which removes all variables and sub-scopes from the current scope.")] 32 [Storable Class]32 [StorableType("A18BFE15-F006-4603-9F66-A6EAABB0FCBF")] 33 33 public sealed class ScopeCleaner : SingleSuccessorOperator { 34 34 private ScopeParameter CurrentScopeParameter { … … 40 40 41 41 [StorableConstructor] 42 private ScopeCleaner( bool deserializing) : base(deserializing) { }42 private ScopeCleaner(StorableConstructorFlag _) : base(_) { } 43 43 private ScopeCleaner(ScopeCleaner original, Cloner cloner) 44 44 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/SingleSuccessorOperator.cs
r15584 r17097 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.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Operators { … … 30 30 /// </summary> 31 31 [Item("SingleSuccessorOperator", "A base class for operators which have only one successor.")] 32 [Storable Class]32 [StorableType("2A75BE8A-26AA-49CD-8152-42AA97C0FF45")] 33 33 public abstract class SingleSuccessorOperator : Operator { 34 34 protected OperatorParameter SuccessorParameter { … … 41 41 42 42 [StorableConstructor] 43 protected SingleSuccessorOperator( bool deserializing) : base(deserializing) { }43 protected SingleSuccessorOperator(StorableConstructorFlag _) : base(_) { } 44 44 protected SingleSuccessorOperator(SingleSuccessorOperator original, Cloner cloner) 45 45 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/StochasticBranch.cs
r15584 r17097 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.Operators { … … 31 31 /// </summary> 32 32 [Item("StochasticBranch", "A branch of two operators which are executed with a specified probability.")] 33 [Storable Class]33 [StorableType("5B4F6317-501A-4D29-A6D7-0B926BAD0A88")] 34 34 public class StochasticBranch : SingleSuccessorOperator { 35 35 public LookupParameter<IRandom> RandomParameter { … … 55 55 56 56 [StorableConstructor] 57 protected StochasticBranch( bool deserializing) : base(deserializing) { }57 protected StochasticBranch(StorableConstructorFlag _) : base(_) { } 58 58 protected StochasticBranch(StochasticBranch original, Cloner cloner) 59 59 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/StochasticMultiBranch.cs
r15584 r17097 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.Data; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Operators { … … 35 35 /// </summary> 36 36 [Item("StochasticMultiBranch", "Selects one of its branches (if there are any) given a list of relative probabilities.")] 37 [Storable Class]37 [StorableType("9BD4C2C2-945F-4FAD-AE19-28C0D66BE476")] 38 38 public abstract class StochasticMultiBranch<T> : CheckedMultiOperator<T> where T : class, IOperator { 39 39 /// <summary> … … 62 62 63 63 [StorableConstructor] 64 protected StochasticMultiBranch( bool deserializing) : base(deserializing) { }64 protected StochasticMultiBranch(StorableConstructorFlag _) : base(_) { } 65 65 protected StochasticMultiBranch(StochasticMultiBranch<T> original, Cloner cloner) 66 66 : base(original, cloner) { … … 176 176 /// </summary> 177 177 [Item("StochasticMultiBranch", "Selects one of its branches (if there are any) given a list of relative probabilities.")] 178 [Storable Class]178 [StorableType("33C9B48B-10F7-4832-9F5F-1421A4467A87")] 179 179 public class StochasticMultiBranch : StochasticMultiBranch<IOperator> { 180 180 [StorableConstructor] 181 protected StochasticMultiBranch( bool deserializing) : base(deserializing) { }181 protected StochasticMultiBranch(StorableConstructorFlag _) : base(_) { } 182 182 protected StochasticMultiBranch(StochasticMultiBranch original, Cloner cloner) 183 183 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/SubScopesCloner.cs
r15584 r17097 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 System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 22 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Attic; 28 24 using HeuristicLab.Common; 29 25 using HeuristicLab.Parameters; … … 35 31 /// </summary> 36 32 [Item("SubScopesCloner", "An operator which creates multiple copies of the subscopes of the current scope.")] 37 [Storable Class]33 [StorableType("1F299CDC-13E0-4F12-9E2D-7D3CAC8C651C")] 38 34 public class SubScopesCloner : SingleSuccessorOperator { 39 35 private ScopeParameter CurrentScopeParameter { … … 54 50 55 51 [StorableConstructor] 56 protected SubScopesCloner( bool deserializing) : base(deserializing) { }52 protected SubScopesCloner(StorableConstructorFlag _) : base(_) { } 57 53 protected SubScopesCloner(SubScopesCloner original, Cloner cloner) 58 54 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/SubScopesCounter.cs
r15584 r17097 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.Operators { 29 29 [Item("SubScopesCounter", "Counts the number of direct sub-scopes and increments or assigns it to the value given in the parameter.")] 30 [Storable Class]30 [StorableType("8F19EB3E-EA93-44DA-98C3-D19017FBCA1F")] 31 31 public class SubScopesCounter : SingleSuccessorOperator { 32 32 … … 39 39 40 40 [StorableConstructor] 41 protected SubScopesCounter( bool deserializing) : base(deserializing) { }41 protected SubScopesCounter(StorableConstructorFlag _) : base(_) { } 42 42 protected SubScopesCounter(SubScopesCounter original, Cloner cloner) 43 43 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/SubScopesCreator.cs
r15584 r17097 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.Operators { … … 31 31 /// </summary> 32 32 [Item("SubScopesCreator", "An operator which adds new and empty sub-scopes to the current scope.")] 33 [Storable Class]33 [StorableType("E9669404-045B-45CA-A922-9C81ACBBAF0C")] 34 34 public class SubScopesCreator : SingleSuccessorOperator { 35 35 public ValueLookupParameter<IntValue> NumberOfSubScopesParameter { … … 44 44 45 45 [StorableConstructor] 46 protected SubScopesCreator( bool deserializing) : base(deserializing) { }46 protected SubScopesCreator(StorableConstructorFlag _) : base(_) { } 47 47 protected SubScopesCreator(SubScopesCreator original, Cloner cloner) 48 48 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/SubScopesMixer.cs
r15584 r17097 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.Operators { … … 32 32 /// </summary> 33 33 [Item("SubScopesMixer", "Changes the order of the sub-scopes by repartitioning the sub-scopes such that each new partition contains one scope from each old partition.")] 34 [Storable Class]34 [StorableType("B69AE39A-B6E9-4ADB-94B4-77E172691D13")] 35 35 public class SubScopesMixer : SingleSuccessorOperator { 36 36 public ValueParameter<IntValue> PartitionsParameter { … … 44 44 45 45 [StorableConstructor] 46 protected SubScopesMixer( bool deserializing) : base(deserializing) { }46 protected SubScopesMixer(StorableConstructorFlag _) : base(_) { } 47 47 protected SubScopesMixer(SubScopesMixer original, Cloner cloner) 48 48 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/SubScopesProcessor.cs
r15584 r17097 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.Data; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Operators { … … 34 34 /// </summary> 35 35 [Item("SubScopesProcessor", "An operator which contains multiple operators of which each is applied on one sub-scope at the given depth of the current scope. The first operator is applied on the first sub-scope, the second on the second, and so on.")] 36 [Storable Class]36 [StorableType("A81F34BC-68D9-416D-9E6B-49652B4F7E98")] 37 37 public sealed class SubScopesProcessor : MultiOperator<IOperator> { 38 38 public ValueLookupParameter<BoolValue> ParallelParameter { … … 53 53 54 54 [StorableConstructor] 55 private SubScopesProcessor( bool deserializing) : base(deserializing) { }55 private SubScopesProcessor(StorableConstructorFlag _) : base(_) { } 56 56 private SubScopesProcessor(SubScopesProcessor original, Cloner cloner) 57 57 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/SubScopesRemover.cs
r15584 r17097 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.Operators { … … 31 31 /// </summary> 32 32 [Item("SubScopesRemover", "An operator which removes all sub-scopes or one specified sub-scope from the current scope.")] 33 [Storable Class]33 [StorableType("A9624A3A-F8E9-4B8C-AE89-D243987F3505")] 34 34 public sealed class SubScopesRemover : SingleSuccessorOperator { 35 35 private ValueParameter<BoolValue> RemoveAllSubScopesParameter { … … 52 52 53 53 [StorableConstructor] 54 private SubScopesRemover( bool deserializing) : base(deserializing) { }54 private SubScopesRemover(StorableConstructorFlag _) : base(_) { } 55 55 private SubScopesRemover(SubScopesRemover original, Cloner cloner) 56 56 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/SubScopesSorter.cs
r15584 r17097 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.Operators { … … 31 31 /// </summary> 32 32 [Item("SubScopesSorter", "An operator which sorts the sub-scopes of the current scope.")] 33 [Storable Class]33 [StorableType("39AAED75-CD24-43EF-86C4-0CC4CA03749C")] 34 34 public sealed class SubScopesSorter : SingleSuccessorOperator { 35 35 private bool descending; … … 50 50 51 51 [StorableConstructor] 52 private SubScopesSorter( bool deserializing) : base(deserializing) { }52 private SubScopesSorter(StorableConstructorFlag _) : base(_) { } 53 53 private SubScopesSorter(SubScopesSorter original, Cloner cloner) 54 54 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/UniformSubScopesProcessor.cs
r15584 r17097 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.Operators { … … 33 33 /// </summary> 34 34 [Item("UniformSubScopesProcessor", "An operator which applies a specified operator on all sub-scopes at the given depth of the current scope.")] 35 [Storable Class]35 [StorableType("C224E539-75F9-468C-B04F-2C2EE75D2F73")] 36 36 public sealed class UniformSubScopesProcessor : SingleSuccessorOperator { 37 37 private OperatorParameter OperatorParameter { … … 59 59 60 60 [StorableConstructor] 61 private UniformSubScopesProcessor( bool deserializing) : base(deserializing) { }61 private UniformSubScopesProcessor(StorableConstructorFlag _) : base(_) { } 62 62 private UniformSubScopesProcessor(UniformSubScopesProcessor original, Cloner cloner) 63 63 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/ValuesCollector.cs
r15584 r17097 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.Operators { … … 30 30 /// </summary> 31 31 [Item("ValuesCollector", "An operator which collects the actual values of parameters.")] 32 [Storable Class]32 [StorableType("83F958A5-AE91-44C9-B329-BC9A36DC4E40")] 33 33 public abstract class ValuesCollector : SingleSuccessorOperator, IOperator { 34 34 [Storable] … … 39 39 40 40 [StorableConstructor] 41 protected ValuesCollector( bool deserializing) : base(deserializing) { }41 protected ValuesCollector(StorableConstructorFlag _) : base(_) { } 42 42 protected ValuesCollector(ValuesCollector original, Cloner cloner) 43 43 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/VariableCreator.cs
r15584 r17097 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.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Operators { … … 30 30 /// </summary> 31 31 [Item("VariableCreator", "An operator which collects the actual values of parameters and clones them into the current scope.")] 32 [Storable Class]32 [StorableType("FF3526E7-216C-4F4B-8BBF-F3F67E9FE671")] 33 33 public class VariableCreator : ValuesCollector { 34 34 protected ScopeParameter CurrentScopeParameter { … … 40 40 41 41 [StorableConstructor] 42 protected VariableCreator( bool deserializing) : base(deserializing) { }42 protected VariableCreator(StorableConstructorFlag _) : base(_) { } 43 43 protected VariableCreator(VariableCreator original, Cloner cloner) 44 44 : base(original, cloner) { -
stable/HeuristicLab.Operators/3.3/packages.config
r16565 r17097 2 2 <packages> 3 3 <package id="Google.Protobuf" version="3.6.1" targetFramework="net461" /> 4 <package id="HEAL.Attic" version="1.0.0-pre0 1" targetFramework="net461" />4 <package id="HEAL.Attic" version="1.0.0-pre02" targetFramework="net461" /> 5 5 <package id="System.Drawing.Common" version="4.5.1" targetFramework="net461" /> 6 6 </packages>
Note: See TracChangeset
for help on using the changeset viewer.