Changeset 17097 for stable/HeuristicLab.Algorithms.GeneticAlgorithm
- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.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 System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 30 31 using HeuristicLab.Optimization.Operators; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 using HeuristicLab.PluginInfrastructure; 34 34 using HeuristicLab.Random; … … 40 40 [Item("Genetic Algorithm (GA)", "A genetic algorithm.")] 41 41 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 100)] 42 [Storable Class]42 [StorableType("B63D21BD-D6AE-474B-A319-AC92CCB30AF6")] 43 43 public sealed class GeneticAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent { 44 44 public string Filename { get; set; } … … 213 213 } 214 214 [StorableConstructor] 215 private GeneticAlgorithm( bool deserializing) : base(deserializing) { }215 private GeneticAlgorithm(StorableConstructorFlag _) : base(_) { } 216 216 [StorableHook(HookType.AfterDeserialization)] 217 217 private void AfterDeserialization() { -
stable/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithmMainLoop.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.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("GeneticAlgorithmMainLoop", "An operator which represents the main loop of a genetic algorithm.")] 36 [Storable Class]36 [StorableType("890C1856-16C9-45F0-A0DD-67A152A70D28")] 37 37 public sealed class GeneticAlgorithmMainLoop : AlgorithmOperator { 38 38 #region Parameter properties … … 92 92 93 93 [StorableConstructor] 94 private GeneticAlgorithmMainLoop( bool deserializing) : base(deserializing) { }94 private GeneticAlgorithmMainLoop(StorableConstructorFlag _) : base(_) { } 95 95 private GeneticAlgorithmMainLoop(GeneticAlgorithmMainLoop original, Cloner cloner) 96 96 : base(original, cloner) { -
stable/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/HeuristicLab.Algorithms.GeneticAlgorithm-3.3.csproj
r11920 r17097 20 20 <StartupObject> 21 21 </StartupObject> 22 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>22 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 23 23 <TargetFrameworkProfile> 24 24 </TargetFrameworkProfile> … … 107 107 </PropertyGroup> 108 108 <ItemGroup> 109 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 110 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 111 </Reference> 112 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 113 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre02\lib\net461\HEAL.Attic.dll</HintPath> 114 </Reference> 109 115 <Reference Include="System" /> 110 116 <Reference Include="System.Core"> … … 112 118 </Reference> 113 119 <Reference Include="System.Data" /> 120 <Reference Include="System.Drawing" /> 121 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 122 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 123 </Reference> 114 124 <Reference Include="System.Xml" /> 115 125 </ItemGroup> … … 191 201 <ItemGroup> 192 202 <None Include="HeuristicLab.snk" /> 203 <None Include="packages.config" /> 193 204 <None Include="Plugin.cs.frame" /> 194 205 <None Include="Properties\AssemblyInfo.cs.frame" /> -
stable/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.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. … … 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("Island Genetic Algorithm (Island-GA)", "An island genetic algorithm.")] 41 41 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 110)] 42 [Storable Class]42 [StorableType("C36FD509-4EF2-4BA7-9483-8CFCEF7EDA91")] 43 43 public sealed class IslandGeneticAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent { 44 44 public string Filename { get; set; } … … 203 203 204 204 [StorableConstructor] 205 private IslandGeneticAlgorithm( bool deserializing) : base(deserializing) { }205 private IslandGeneticAlgorithm(StorableConstructorFlag _) : base(_) { } 206 206 [StorableHook(HookType.AfterDeserialization)] 207 207 private void AfterDeserialization() { -
stable/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithmMainLoop.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.Optimization.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Selection; 31 31 … … 35 35 /// </summary> 36 36 [Item("IslandGeneticAlgorithmMainLoop", "An island genetic algorithm main loop operator.")] 37 [Storable Class]37 [StorableType("E015F135-AA23-4425-A84A-DEF880185D0A")] 38 38 public sealed class IslandGeneticAlgorithmMainLoop : AlgorithmOperator { 39 39 #region Parameter Properties … … 119 119 120 120 [StorableConstructor] 121 private IslandGeneticAlgorithmMainLoop( bool deserializing) : base(deserializing) { }121 private IslandGeneticAlgorithmMainLoop(StorableConstructorFlag _) : base(_) { } 122 122 private IslandGeneticAlgorithmMainLoop(IslandGeneticAlgorithmMainLoop original, Cloner cloner) 123 123 : base(original, cloner) { -
stable/HeuristicLab.Algorithms.GeneticAlgorithm/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.Algorithms.GeneticAlgorithm/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.Algorithms.GeneticAlgorithm/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.