Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.MOCMAEvolutionStrategy
- Timestamp:
- 12/28/18 16:10:48 (5 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/HeuristicLab.Algorithms.MOCMAEvolutionStrategy-3.3.csproj
r16454 r16462 80 80 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 81 81 </Reference> 82 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">82 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 83 83 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 84 84 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/Indicators/CrowdingIndicator.cs
r16453 r16462 27 27 using HeuristicLab.Encodings.RealVectorEncoding; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Algorithms.MOCMAEvolutionStrategy { 32 32 [Item("CrowdingIndicator", "Selection of Offspring based on CrowdingDistance")] 33 [Storable Class]33 [StorableType("FEC5F17A-C720-4411-8AD6-42BA0F392AE9")] 34 34 internal class CrowdingIndicator : Item, IIndicator { 35 35 #region Constructors and Cloning 36 36 [StorableConstructor] 37 protected CrowdingIndicator( bool deserializing) : base(deserializing) { }37 protected CrowdingIndicator(StorableConstructorFlag _) : base(_) { } 38 38 protected CrowdingIndicator(CrowdingIndicator original, Cloner cloner) : base(original, cloner) { } 39 39 public override IDeepCloneable Clone(Cloner cloner) { return new CrowdingIndicator(this, cloner); } -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/Indicators/HypervolumeIndicator.cs
r16453 r16462 27 27 using HeuristicLab.Encodings.RealVectorEncoding; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 using HeuristicLab.Problems.TestFunctions.MultiObjective; 31 31 namespace HeuristicLab.Algorithms.MOCMAEvolutionStrategy { 32 32 [Item("HypervolumeIndicator", "Selection of Offspring based on contributing Hypervolume")] 33 [Storable Class]33 [StorableType("ADF439D6-64E4-4C92-A4D3-E8C05B050406")] 34 34 internal class HypervolumeIndicator : Item, IIndicator { 35 35 #region Constructors and Cloning 36 36 [StorableConstructor] 37 protected HypervolumeIndicator( bool deserializing) : base(deserializing) { }37 protected HypervolumeIndicator(StorableConstructorFlag _) : base(_) { } 38 38 protected HypervolumeIndicator(HypervolumeIndicator original, Cloner cloner) : base(original, cloner) { } 39 39 public override IDeepCloneable Clone(Cloner cloner) { return new HypervolumeIndicator(this, cloner); } -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/Indicators/MinimalDistanceIndicator.cs
r16453 r16462 27 27 using HeuristicLab.Encodings.RealVectorEncoding; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Algorithms.MOCMAEvolutionStrategy { 32 32 [Item("MinimalDistanceIndicator", "Selection of Offspring based on distance to nearest neighbour")] 33 [Storable Class]33 [StorableType("FBBD4517-164C-4DEE-B87D-49B99172EDF4")] 34 34 internal class MinimalDistanceIndicator : Item, IIndicator { 35 35 36 36 #region Constructor and Cloning 37 37 [StorableConstructor] 38 protected MinimalDistanceIndicator( bool deserializing) : base(deserializing) { }38 protected MinimalDistanceIndicator(StorableConstructorFlag _) : base(_) { } 39 39 protected MinimalDistanceIndicator(MinimalDistanceIndicator original, Cloner cloner) : base(original, cloner) { } 40 40 public override IDeepCloneable Clone(Cloner cloner) { return new MinimalDistanceIndicator(this, cloner); } -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/Individual.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Encodings.RealVectorEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 using HeuristicLab.Random; 29 29 30 30 namespace HeuristicLab.Algorithms.MOCMAEvolutionStrategy { 31 [Storable Class]31 [StorableType("8D5AF328-84A0-4924-9909-A113CDCFC117")] 32 32 public class Individual : IDeepCloneable { 33 33 … … 63 63 #region Constructors and Cloning 64 64 [StorableConstructor] 65 protected Individual( bool deserializing) { }65 protected Individual(StorableConstructorFlag _) { } 66 66 67 67 public Individual(RealVector mean, double pSucc, double sigma, RealVector pc, double[,] c, MOCMAEvolutionStrategy strategy) { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/MOCMAEvolutionStrategy.cs
r16453 r16462 32 32 using HeuristicLab.Optimization; 33 33 using HeuristicLab.Parameters; 34 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;34 using HEAL.Fossil; 35 35 using HeuristicLab.Problems.TestFunctions.MultiObjective; 36 36 using HeuristicLab.Random; … … 39 39 [Item("Multi-Objective CMA Evolution Strategy (MOCMAES)", "A multi objective evolution strategy based on covariance matrix adaptation. Code is based on 'Covariance Matrix Adaptation for Multi - objective Optimization' by Igel, Hansen and Roth")] 40 40 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 210)] 41 [Storable Class]41 [StorableType("C10264E3-E4C6-4735-8E94-0DC116E8908D")] 42 42 public class MOCMAEvolutionStrategy : BasicAlgorithm { 43 43 public override Type ProblemType { … … 265 265 266 266 [StorableConstructor] 267 protected MOCMAEvolutionStrategy( bool deserializing) : base(deserializing) { }267 protected MOCMAEvolutionStrategy(StorableConstructorFlag _) : base(_) { } 268 268 269 269 protected MOCMAEvolutionStrategy(MOCMAEvolutionStrategy original, Cloner cloner) : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.