Changeset 17097 for stable/HeuristicLab.Parameters
- Timestamp:
- 07/07/19 23:40:10 (6 years ago)
- Location:
- stable
- Files:
-
- 15 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Parameters/3.3/ConstrainedValueParameter.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.Parameters { … … 32 32 /// </summary> 33 33 [Item("ConstrainedValueParameter", "A parameter whose value has to be chosen from a set of valid values.")] 34 [Storable Class]34 [StorableType("A9B43259-2687-4AE8-9803-B58CE01B81EE")] 35 35 public class ConstrainedValueParameter<T> : OptionalConstrainedValueParameter<T> where T : class, IItem { 36 36 public override T Value { … … 43 43 44 44 [StorableConstructor] 45 protected ConstrainedValueParameter( bool deserializing) : base(deserializing) { }45 protected ConstrainedValueParameter(StorableConstructorFlag _) : base(_) { } 46 46 protected ConstrainedValueParameter(ConstrainedValueParameter<T> original, Cloner cloner) : base(original, cloner) { } 47 47 public ConstrainedValueParameter() : base() { } -
stable/HeuristicLab.Parameters/3.3/FixedValueParameter.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.Parameters { … … 30 30 /// </summary> 31 31 [Item("FixedValueParameter", "A parameter whose value is defined in the parameter itself and cannot be set.")] 32 [Storable Class]32 [StorableType("7787B99D-5F32-4639-B47A-76CB4D204392")] 33 33 public class FixedValueParameter<T> : ValueParameter<T>, IFixedValueParameter<T> where T : class,IItem, new() { 34 34 … … 41 41 42 42 [StorableConstructor] 43 protected FixedValueParameter( bool deserializing) : base(deserializing) { }43 protected FixedValueParameter(StorableConstructorFlag _) : base(_) { } 44 44 protected FixedValueParameter(FixedValueParameter<T> original, Cloner cloner) : base(original, cloner) { } 45 45 -
stable/HeuristicLab.Parameters/3.3/HeuristicLab.Parameters-3.3.csproj
r11920 r17097 11 11 <RootNamespace>HeuristicLab.Parameters</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Parameters-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <TargetFrameworkProfile> 15 15 </TargetFrameworkProfile> … … 105 105 </PropertyGroup> 106 106 <ItemGroup> 107 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 108 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 109 </Reference> 110 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 111 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre02\lib\net461\HEAL.Attic.dll</HintPath> 112 </Reference> 107 113 <Reference Include="System" /> 108 114 <Reference Include="System.Core"> … … 110 116 </Reference> 111 117 <Reference Include="System.Drawing" /> 118 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 119 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 120 </Reference> 112 121 <Reference Include="System.Xml.Linq"> 113 122 <RequiredTargetFramework>3.5</RequiredTargetFramework> … … 120 129 </ItemGroup> 121 130 <ItemGroup> 131 <None Include="packages.config" /> 122 132 <None Include="Plugin.cs.frame" /> 123 133 <Compile Include="ConstrainedValueParameter.cs" /> -
stable/HeuristicLab.Parameters/3.3/LookupParameter.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.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("LookupParameter", "A parameter whose value is retrieved from or written to a scope.")] 33 [Storable Class]33 [StorableType("84FE5F33-94B8-4E30-B1CB-CD15314FB83B")] 34 34 public class LookupParameter<T> : Parameter, IStatefulItem, ILookupParameter<T> where T : class, IItem { 35 35 [Storable] … … 78 78 79 79 [StorableConstructor] 80 protected LookupParameter(bool deserializing) 81 : base(deserializing) { 80 protected LookupParameter(StorableConstructorFlag _) : base(_) { 82 81 cachedActualValues = new Lazy<ThreadLocal<IItem>>(() => { return new ThreadLocal<IItem>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 83 82 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); -
stable/HeuristicLab.Parameters/3.3/OperatorParameter.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.Parameters { … … 29 29 /// </summary> 30 30 [Item("OperatorParameter", "A parameter which represents an operator.")] 31 [Storable Class]31 [StorableType("59C86C8F-CAE1-45FE-A17C-837925284D93")] 32 32 public class OperatorParameter : OptionalValueParameter<IOperator> { 33 33 [StorableConstructor] 34 protected OperatorParameter( bool deserializing) : base(deserializing) { }34 protected OperatorParameter(StorableConstructorFlag _) : base(_) { } 35 35 protected OperatorParameter(OperatorParameter original, Cloner cloner) : base(original, cloner) { } 36 36 public OperatorParameter() : base("Anonymous") { } -
stable/HeuristicLab.Parameters/3.3/OptionalConstrainedValueParameter.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.Parameters { … … 32 32 /// </summary> 33 33 [Item("OptionalConstrainedValueParameter", "A parameter whose value has to be chosen from a set of valid values or is null.")] 34 [Storable Class]34 [StorableType("9B2BFAE8-CD6E-499C-83A0-401B6CEE3A08")] 35 35 public class OptionalConstrainedValueParameter<T> : Parameter, IConstrainedValueParameter<T> where T : class, IItem { 36 36 public override Image ItemImage { … … 88 88 #region Constructors 89 89 [StorableConstructor] 90 protected OptionalConstrainedValueParameter( bool deserializing) : base(deserializing) { }90 protected OptionalConstrainedValueParameter(StorableConstructorFlag _) : base(_) { } 91 91 protected OptionalConstrainedValueParameter(OptionalConstrainedValueParameter<T> original, Cloner cloner) 92 92 : base(original, cloner) { -
stable/HeuristicLab.Parameters/3.3/OptionalValueParameter.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.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("OptionalValueParameter", "A parameter whose value is defined in the parameter itself or is null.")] 33 [Storable Class]33 [StorableType("1A825EE0-3A72-458C-B621-7CE989EE2F0D")] 34 34 public class OptionalValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem { 35 35 public override Image ItemImage { … … 104 104 #region Constructors 105 105 [StorableConstructor] 106 protected OptionalValueParameter( bool deserializing) : base(deserializing) { }106 protected OptionalValueParameter(StorableConstructorFlag _) : base(_) { } 107 107 protected OptionalValueParameter(OptionalValueParameter<T> original, Cloner cloner) 108 108 : base(original, cloner) { -
stable/HeuristicLab.Parameters/3.3/Parameter.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.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("Parameter", "A base class for parameters.")] 33 [Storable Class]33 [StorableType("EB8A33BD-466A-4035-8544-8F86E5FDA458")] 34 34 public abstract class Parameter : NamedItem, IParameter { 35 35 public override Image ItemImage { … … 72 72 73 73 [StorableConstructor] 74 protected Parameter(bool deserializing) 75 : base(deserializing) { 74 protected Parameter(StorableConstructorFlag _) : base(_) { 76 75 } 77 76 protected Parameter(Parameter original, Cloner cloner) -
stable/HeuristicLab.Parameters/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.Parameters/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.Parameters/3.3/ScopeParameter.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. … … 21 21 22 22 using System; 23 using System.Threading;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 27 26 28 27 namespace HeuristicLab.Parameters { … … 31 30 /// </summary> 32 31 [Item("ScopeParameter", "A parameter which represents the current scope.")] 33 [Storable Class]32 [StorableType("6A25C2F9-B184-4870-88B4-C16BF8534BD4")] 34 33 public class ScopeParameter : LookupParameter<IScope> { 35 34 public new IScope ActualValue { … … 39 38 40 39 [StorableConstructor] 41 protected ScopeParameter( bool deserializing) : base(deserializing) { }40 protected ScopeParameter(StorableConstructorFlag _) : base(_) { } 42 41 protected ScopeParameter(ScopeParameter original, Cloner cloner) : base(original, cloner) { } 43 42 public ScopeParameter() -
stable/HeuristicLab.Parameters/3.3/ScopeTreeLookupParameter.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.Parameters { … … 32 32 /// </summary> 33 33 [Item("ScopeTreeLookupParameter", "A generic parameter representing instances of type T which are collected from or written to scope tree.")] 34 [Storable Class]34 [StorableType("51F36637-C22C-4CDC-B34B-F49CA7896E35")] 35 35 public class ScopeTreeLookupParameter<T> : LookupParameter<ItemArray<T>>, IScopeTreeLookupParameter<T> where T : class, IItem { 36 36 [Storable] … … 48 48 49 49 [StorableConstructor] 50 protected ScopeTreeLookupParameter( bool deserializing) : base(deserializing) { }50 protected ScopeTreeLookupParameter(StorableConstructorFlag _) : base(_) { } 51 51 protected ScopeTreeLookupParameter(ScopeTreeLookupParameter<T> original, Cloner cloner) 52 52 : base(original, cloner) { -
stable/HeuristicLab.Parameters/3.3/ValueLookupParameter.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.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("ValueLookupParameter", "A parameter whose value is either defined in the parameter itself or is retrieved from or written to a scope.")] 33 [Storable Class]33 [StorableType("B34BB41A-CF50-4275-9BCD-1861EBA7C58F")] 34 34 public class ValueLookupParameter<T> : LookupParameter<T>, IValueLookupParameter<T> where T : class, IItem { 35 35 public override Image ItemImage { … … 80 80 #region Constructors 81 81 [StorableConstructor] 82 protected ValueLookupParameter( bool deserializing) : base(deserializing) { }82 protected ValueLookupParameter(StorableConstructorFlag _) : base(_) { } 83 83 protected ValueLookupParameter(ValueLookupParameter<T> original, Cloner cloner) 84 84 : base(original, cloner) { -
stable/HeuristicLab.Parameters/3.3/ValueParameter.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.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("ValueParameter", "A parameter whose value is defined in the parameter itself.")] 33 [Storable Class]33 [StorableType("CB9B83B6-DE2B-45CC-AB0B-C551E1A6E0BD")] 34 34 public class ValueParameter<T> : OptionalValueParameter<T> where T : class, IItem { 35 35 public override T Value { … … 42 42 43 43 [StorableConstructor] 44 protected ValueParameter( bool deserializing) : base(deserializing) { }44 protected ValueParameter(StorableConstructorFlag _) : base(_) { } 45 45 protected ValueParameter(ValueParameter<T> original, Cloner cloner) : base(original, cloner) { } 46 46 -
stable/HeuristicLab.Parameters/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.