Changeset 16565 for trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy
- Timestamp:
- 01/28/19 13:41:42 (6 years ago)
- Location:
- trunk
- Files:
-
- 19 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.Algorithms.CMAEvolutionStrategy/3.4/CMAAnalyzer.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. … … 30 30 using HeuristicLab.Optimization; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Attic; 33 33 34 34 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 35 35 [Item("CMAAnalyzer", "Analyzes the development of strategy parameters and visualizes the performance of CMA-ES.")] 36 [Storable Class]36 [StorableType("7E36BAC4-D2A5-405D-B46F-FF91BC592D43")] 37 37 public sealed class CMAAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator { 38 38 … … 60 60 61 61 [StorableConstructor] 62 private CMAAnalyzer( bool deserializing) : base(deserializing) { }62 private CMAAnalyzer(StorableConstructorFlag _) : base(_) { } 63 63 private CMAAnalyzer(CMAAnalyzer original, Cloner cloner) : base(original, cloner) { } 64 64 public CMAAnalyzer() -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAEvolutionStrategy.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. … … 31 31 using HeuristicLab.Optimization.Operators; 32 32 using HeuristicLab.Parameters; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;33 using HEAL.Attic; 34 34 using HeuristicLab.PluginInfrastructure; 35 35 using HeuristicLab.Random; … … 38 38 [Item("CMA Evolution Strategy (CMAES)", "An evolution strategy based on covariance matrix adaptation.")] 39 39 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 210)] 40 [Storable Class]40 [StorableType("92CB2910-2D63-49A4-94DE-54DBA0CF2180")] 41 41 public sealed class CMAEvolutionStrategy : HeuristicOptimizationEngineAlgorithm, IStorableContent { 42 42 public string Filename { get; set; } … … 224 224 225 225 [StorableConstructor] 226 private CMAEvolutionStrategy( bool deserializing) : base(deserializing) { }226 private CMAEvolutionStrategy(StorableConstructorFlag _) : base(_) { } 227 227 private CMAEvolutionStrategy(CMAEvolutionStrategy original, Cloner cloner) 228 228 : base(original, cloner) { -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAOperators/CMAEqualweightedRecombinator.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.Algorithms.CMAEvolutionStrategy { 27 27 [Item("CMA Equal-weighted Recombinator", "Calculates weighted mean using equal weights.")] 28 [Storable Class]28 [StorableType("989FE031-C410-4435-B5F5-17A22C4A97BC")] 29 29 public class CMAEqualweightedRecombinator : CMARecombinator { 30 30 31 31 [StorableConstructor] 32 protected CMAEqualweightedRecombinator( bool deserializing) : base(deserializing) { }32 protected CMAEqualweightedRecombinator(StorableConstructorFlag _) : base(_) { } 33 33 protected CMAEqualweightedRecombinator(CMAEqualweightedRecombinator original, Cloner cloner) : base(original, cloner) { } 34 34 public CMAEqualweightedRecombinator() : base() { } -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAOperators/CMAInitializer.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.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using System; 30 30 using System.Collections.Generic; … … 33 33 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 34 34 [Item("CMAInitializer", "Initializes the covariance matrix and step size variables.")] 35 [Storable Class]35 [StorableType("AEE40FF4-A610-474B-B969-032A54D814CE")] 36 36 public class CMAInitializer : SingleSuccessorOperator, ICMAInitializer, IIterationBasedOperator { 37 37 … … 79 79 80 80 [StorableConstructor] 81 protected CMAInitializer( bool deserializing) : base(deserializing) { }81 protected CMAInitializer(StorableConstructorFlag _) : base(_) { } 82 82 protected CMAInitializer(CMAInitializer original, Cloner cloner) : base(original, cloner) { } 83 83 public CMAInitializer() -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAOperators/CMALinearweightedRecombinator.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.Algorithms.CMAEvolutionStrategy { 27 27 [Item("CMA Linear-weighted Recombinator", "Calculates weighted mean using linear decreasing weights.")] 28 [Storable Class]28 [StorableType("628D27E7-AD3F-418B-A44D-E5338017CA69")] 29 29 public class CMALinearweightedRecombinator : CMARecombinator { 30 30 31 31 [StorableConstructor] 32 protected CMALinearweightedRecombinator( bool deserializing) : base(deserializing) { }32 protected CMALinearweightedRecombinator(StorableConstructorFlag _) : base(_) { } 33 33 protected CMALinearweightedRecombinator(CMALinearweightedRecombinator original, Cloner cloner) : base(original, cloner) { } 34 34 public CMALinearweightedRecombinator() : base() { } -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAOperators/CMALogweightedRecombinator.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.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 29 29 [Item("CMA Log-weighted Recombinator", "Calculates weighted mean based on a logarithmic decreasing weights.")] 30 [Storable Class]30 [StorableType("83A47E81-FF87-4A28-AEB4-DE453B55B680")] 31 31 public class CMALogweightedRecombinator : CMARecombinator { 32 32 33 33 [StorableConstructor] 34 protected CMALogweightedRecombinator( bool deserializing) : base(deserializing) { }34 protected CMALogweightedRecombinator(StorableConstructorFlag _) : base(_) { } 35 35 protected CMALogweightedRecombinator(CMALogweightedRecombinator original, Cloner cloner) : base(original, cloner) { } 36 36 public CMALogweightedRecombinator() : base() { } -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAOperators/CMAMutator.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.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 using HeuristicLab.Random; 32 32 33 33 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 34 34 [Item("CMAMutator", "Mutates the solution vector according to the CMA-ES scheme.")] 35 [Storable Class]35 [StorableType("13539C1A-1D94-4CD7-8514-2173C661333D")] 36 36 public sealed class CMAMutator : SingleSuccessorOperator, IStochasticOperator, ICMAManipulator, IIterationBasedOperator { 37 37 … … 83 83 84 84 [StorableConstructor] 85 private CMAMutator( bool deserializing) : base(deserializing) { }85 private CMAMutator(StorableConstructorFlag _) : base(_) { } 86 86 private CMAMutator(CMAMutator original, Cloner cloner) : base(original, cloner) { } 87 87 public CMAMutator() -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAOperators/CMARecombinator.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 System; 29 29 30 30 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 31 31 [Item("CMARecombinator", "Base class that calculates the weighted mean of a number of offspring.")] 32 [Storable Class]32 [StorableType("C0798B4D-1685-4720-828A-17E40879000B")] 33 33 public abstract class CMARecombinator : SingleSuccessorOperator, ICMARecombinator { 34 34 … … 56 56 57 57 [StorableConstructor] 58 protected CMARecombinator( bool deserializing) : base(deserializing) { }58 protected CMARecombinator(StorableConstructorFlag _) : base(_) { } 59 59 protected CMARecombinator(CMARecombinator original, Cloner cloner) : base(original, cloner) { } 60 60 protected CMARecombinator() -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAOperators/CMAUpdater.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.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using System; 31 31 using System.Linq; … … 33 33 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 34 34 [Item("CMAUpdater", "Updates the covariance matrix and strategy parameters of CMA-ES.")] 35 [Storable Class]35 [StorableType("872D120A-1CBE-4C01-8250-E34BF8BBD9DA")] 36 36 public class CMAUpdater : SingleSuccessorOperator, ICMAUpdater, IIterationBasedOperator, ISingleObjectiveOperator { 37 37 … … 79 79 80 80 [StorableConstructor] 81 protected CMAUpdater( bool deserializing) : base(deserializing) { }81 protected CMAUpdater(StorableConstructorFlag _) : base(_) { } 82 82 protected CMAUpdater(CMAUpdater original, Cloner cloner) : base(original, cloner) { } 83 83 public CMAUpdater() -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAParameters.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.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 29 29 [Item("CMAParameters", "CMA-ES controls many strategy parameters that guide the search and which are combined in this class.")] 30 [Storable Class]30 [StorableType("FB7495E1-6285-4E3E-AEC3-F40CCB182F0F")] 31 31 public sealed class CMAParameters : Item { 32 32 … … 81 81 82 82 [StorableConstructor] 83 private CMAParameters( bool deserializing) : base(deserializing) { }83 private CMAParameters(StorableConstructorFlag _) : base(_) { } 84 84 private CMAParameters(CMAParameters original, Cloner cloner) 85 85 : base(original, cloner) { -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/HeuristicLab.Algorithms.CMAEvolutionStrategy-3.4.csproj
r12817 r16565 11 11 <RootNamespace>HeuristicLab.Algorithms.CMAEvolutionStrategy</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Algorithms.CMAEvolutionStrategy-3.4</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <TargetFrameworkProfile> 15 15 </TargetFrameworkProfile> … … 104 104 <Private>False</Private> 105 105 </Reference> 106 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 107 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 108 </Reference> 109 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 110 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre01\lib\netstandard2.0\HEAL.Attic.dll</HintPath> 111 </Reference> 106 112 <Reference Include="System" /> 107 113 <Reference Include="System.Core"> … … 109 115 </Reference> 110 116 <Reference Include="System.Drawing" /> 117 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 118 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 119 </Reference> 111 120 <Reference Include="System.Xml.Linq"> 112 121 <RequiredTargetFramework>3.5</RequiredTargetFramework> … … 139 148 <ItemGroup> 140 149 <None Include="HeuristicLab.snk" /> 150 <None Include="packages.config" /> 141 151 <None Include="Plugin.cs.frame" /> 142 152 <None Include="Properties\AssemblyInfo.cs.frame" /> -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/Interfaces/ICMAInitializer.cs
r15583 r16565 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. … … 25 25 using HeuristicLab.Data; 26 26 using System; 27 using HEAL.Attic; 27 28 28 29 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 30 [StorableType("EA9351D0-94F1-49D5-BE86-000CA0D4996E")] 29 31 public interface ICMAInitializer : IOperator { 30 32 Type CMAType { get; } -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/Interfaces/ICMAManipulator.cs
r15583 r16565 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. … … 26 26 using HeuristicLab.Encodings.RealVectorEncoding; 27 27 using System; 28 using HEAL.Attic; 28 29 29 30 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 31 [StorableType("04C80B53-C695-490F-9D1E-6DAE90FF6AFC")] 30 32 public interface ICMAManipulator : IOperator { 31 33 Type CMAType { get; } -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/Interfaces/ICMARecombinator.cs
r15583 r16565 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. … … 25 25 using HeuristicLab.Encodings.RealVectorEncoding; 26 26 using System; 27 using HEAL.Attic; 27 28 28 29 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 30 [StorableType("33524FCA-B31B-415E-BC53-87C126CAF124")] 29 31 public interface ICMARecombinator : IOperator { 30 32 Type CMAType { get; } -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/Interfaces/ICMAUpdater.cs
r15583 r16565 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. … … 26 26 using HeuristicLab.Encodings.RealVectorEncoding; 27 27 using System; 28 using HEAL.Attic; 28 29 29 30 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 31 [StorableType("0BFE0CF3-24A1-4495-A1F3-6D0ED6634BD7")] 30 32 public interface ICMAUpdater : IOperator { 31 33 Type CMAType { get; } -
trunk/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/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.Algorithms.CMAEvolutionStrategy/3.4/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.Algorithms.CMAEvolutionStrategy/3.4/Terminator.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.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using System; 30 30 using System.Linq; … … 32 32 namespace HeuristicLab.Algorithms.CMAEvolutionStrategy { 33 33 [Item("Terminator", "Decides if the algorithm should terminate or not.")] 34 [Storable Class]34 [StorableType("BE0F0791-4B19-4AC0-ACD6-C0FBEF829DBC")] 35 35 public class Terminator : Operator, IIterationBasedOperator, ISingleObjectiveOperator { 36 36 … … 109 109 110 110 [StorableConstructor] 111 protected Terminator( bool deserializing) : base(deserializing) { }111 protected Terminator(StorableConstructorFlag _) : base(_) { } 112 112 protected Terminator(Terminator original, Cloner cloner) 113 113 : base(original, cloner) { }
Note: See TracChangeset
for help on using the changeset viewer.