- Timestamp:
- 03/28/19 16:54:20 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.NSGA2/3.3/HeuristicLab.Algorithms.NSGA2-3.3.csproj
r11623 r16723 11 11 <RootNamespace>HeuristicLab.Algorithms.NSGA2</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Algorithms.NSGA2-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 <SignAssembly>true</SignAssembly> … … 168 168 </Reference> 169 169 <Reference Include="System.Data" /> 170 <Reference Include="System.Drawing" /> 170 171 <Reference Include="System.Xml" /> 171 172 </ItemGroup> … … 195 196 <Install>true</Install> 196 197 </BootstrapperPackage> 198 </ItemGroup> 199 <ItemGroup> 200 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 201 <SpecificVersion>False</SpecificVersion> 202 <HintPath>..\..\bin\HEAL.Attic.dll</HintPath> 203 <Private>False</Private> 204 </Reference> 197 205 </ItemGroup> 198 206 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.NSGA2/3.3/NSGA2.cs
r16692 r16723 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.Operators; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Attic; 33 33 using HeuristicLab.PluginInfrastructure; 34 34 using HeuristicLab.Random; … … 40 40 [Item("NSGA-II", "The Nondominated Sorting Genetic Algorithm II was introduced in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.")] 41 41 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 135)] 42 [Storable Class]42 [StorableType("9F34A562-68E7-4C4A-B452-F915802BACDA")] 43 43 public class NSGA2 : HeuristicOptimizationEngineAlgorithm, IStorableContent { 44 44 public string Filename { get; set; } … … 162 162 163 163 [StorableConstructor] 164 protected NSGA2( bool deserializing) : base(deserializing) { }164 protected NSGA2(StorableConstructorFlag _) : base(_) { } 165 165 protected NSGA2(NSGA2 original, Cloner cloner) 166 166 : base(original, cloner) { 167 167 paretoFrontAnalyzer = (RankBasedParetoFrontAnalyzer)cloner.Clone(original.paretoFrontAnalyzer); 168 AfterDeserialization();168 RegisterEventhandlers(); 169 169 } 170 170 public NSGA2() { … … 240 240 UpdateAnalyzers(); 241 241 242 AfterDeserialization();242 RegisterEventhandlers(); 243 243 } 244 244 … … 338 338 #endregion 339 339 340 RegisterEventhandlers(); 341 } 342 343 private void RegisterEventhandlers() { 340 344 PopulationSizeParameter.ValueChanged += new EventHandler(PopulationSizeParameter_ValueChanged); 341 345 PopulationSize.ValueChanged += new EventHandler(PopulationSize_ValueChanged); … … 346 350 } 347 351 } 352 348 353 private void ParameterizeSolutionsCreator() { 349 354 SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.NSGA2/3.3/NSGA2MainLoop.cs
r16692 r16723 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.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.Selection; 30 30 … … 34 34 /// </summary> 35 35 [Item("NSGA2MainLoop", "An operator which represents the main loop of the NSGA-II algorithm.")] 36 [Storable Class]36 [StorableType("F81EA9B1-0A1A-4597-BF2C-C830C32D3394")] 37 37 public class NSGA2MainLoop : AlgorithmOperator { 38 38 #region Parameter properties … … 85 85 86 86 [StorableConstructor] 87 protected NSGA2MainLoop( bool deserializing) : base(deserializing) { }87 protected NSGA2MainLoop(StorableConstructorFlag _) : base(_) { } 88 88 [StorableHook(HookType.AfterDeserialization)] 89 89 private void AfterDeserialization() { -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.NSGA2/3.3/Plugin.cs.frame
r16692 r16723 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. … … 34 34 [PluginDependency("HeuristicLab.Optimization.Operators", "3.3")] 35 35 [PluginDependency("HeuristicLab.Parameters", "3.3")] 36 [PluginDependency("HeuristicLab. Persistence", "3.3")]36 [PluginDependency("HeuristicLab.Attic", "1.0")] 37 37 [PluginDependency("HeuristicLab.Random", "3.3")] 38 38 [PluginDependency("HeuristicLab.Selection", "3.3")] -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.NSGA2/3.3/Properties/AssemblyInfo.cs.frame
r16692 r16723 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.
Note: See TracChangeset
for help on using the changeset viewer.