Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/AdaptiveRandomTopologyUpdater.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. … … 20 20 #endregion 21 21 22 using System.Collections.Generic;23 using System.Linq;24 22 using HeuristicLab.Common; 25 23 using HeuristicLab.Core; … … 28 26 using HeuristicLab.Optimization; 29 27 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 31 29 32 30 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 33 31 [Item("SPSO Adaptive Random Topology Updater", "Each unsuccessful iteration the topology initializer is applied again.")] 34 [Storable Class]32 [StorableType("F0FC17DF-44B3-4005-9CC3-EDBA7945544A")] 35 33 public sealed class SPSOAdaptiveRandomTopologyUpdater : SingleSuccessorOperator, ITopologyUpdater, ISingleObjectiveOperator { 36 34 … … 59 57 #region Construction & Cloning 60 58 [StorableConstructor] 61 private SPSOAdaptiveRandomTopologyUpdater( bool deserializing) : base(deserializing) { }59 private SPSOAdaptiveRandomTopologyUpdater(StorableConstructorFlag _) : base(_) { } 62 60 private SPSOAdaptiveRandomTopologyUpdater(SPSOAdaptiveRandomTopologyUpdater original, Cloner cloner) : base(original, cloner) { } 63 61 public SPSOAdaptiveRandomTopologyUpdater() -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/HeuristicLab.Algorithms.ParticleSwarmOptimization-3.3.csproj
r16692 r16723 11 11 <RootNamespace>HeuristicLab.Algorithms.ParticleSwarmOptimization</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Algorithms.ParticleSwarmOptimization-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 <SignAssembly>true</SignAssembly> … … 209 209 </ProjectReference> 210 210 </ItemGroup> 211 <ItemGroup> 212 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 213 <SpecificVersion>False</SpecificVersion> 214 <HintPath>..\..\bin\HEAL.Attic.dll</HintPath> 215 <Private>False</Private> 216 </Reference> 217 </ItemGroup> 211 218 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 212 219 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/MultiPSOTopologyUpdater.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. … … 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 33 33 [Item("Multi PSO Topology Updater", "Splits swarm into NrOfSwarms non-overlapping sub-swarms. Swarms are re-grouped every regroupingPeriod iteration. The operator is implemented as described in Liang, J.J. and Suganthan, P.N 2005. Dynamic multi-swarm particle swarm optimizer. IEEE Swarm Intelligence Symposium, pp. 124-129.")] 34 [Storable Class]34 [StorableType("F5436478-B901-4357-AEE8-B63E5EB13AAF")] 35 35 public sealed class MultiPSOTopologyUpdater : SingleSuccessorOperator, ITopologyUpdater, IStochasticOperator { 36 36 … … 84 84 #region Construction & Cloning 85 85 [StorableConstructor] 86 private MultiPSOTopologyUpdater( bool deserializing) : base(deserializing) { }86 private MultiPSOTopologyUpdater(StorableConstructorFlag _) : base(_) { } 87 87 private MultiPSOTopologyUpdater(MultiPSOTopologyUpdater original, Cloner cloner) : base(original, cloner) { } 88 88 public MultiPSOTopologyUpdater() -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimization.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. … … 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Linq; 25 24 using HeuristicLab.Analysis; … … 31 30 using HeuristicLab.Optimization.Operators; 32 31 using HeuristicLab.Parameters; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Attic; 34 33 using HeuristicLab.PluginInfrastructure; 35 34 using HeuristicLab.Random; … … 38 37 [Item("Particle Swarm Optimization (PSO)", "A particle swarm optimization algorithm based on Standard PSO (SPSO) as described in Clerc, M. (2012). Standard particle swarm optimisation.")] 39 38 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 300)] 40 [Storable Class]39 [StorableType("068A0951-B08D-41D3-A142-BA345D0AD47E")] 41 40 public sealed class ParticleSwarmOptimization : HeuristicOptimizationEngineAlgorithm, IStorableContent { 42 41 #region Parameter Properties … … 165 164 166 165 [StorableConstructor] 167 private ParticleSwarmOptimization( bool deserializing) : base(deserializing) { }166 private ParticleSwarmOptimization(StorableConstructorFlag _) : base(_) { } 168 167 private ParticleSwarmOptimization(ParticleSwarmOptimization original, Cloner cloner) 169 168 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimizationMainLoop.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. … … 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 31 31 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 32 32 [Item("ParticleSwarmOptimizationMainLoop", "An operator which represents the main loop of a particle swarm optimization algorithm.")] 33 [Storable Class]33 [StorableType("C9824DCA-F791-4540-8EC8-F27C8FBC6BF5")] 34 34 public class ParticleSwarmOptimizationMainLoop : AlgorithmOperator { 35 35 … … 85 85 86 86 [StorableConstructor] 87 protected ParticleSwarmOptimizationMainLoop( bool deserializing) : base(deserializing) { }87 protected ParticleSwarmOptimizationMainLoop(StorableConstructorFlag _) : base(_) { } 88 88 protected ParticleSwarmOptimizationMainLoop(ParticleSwarmOptimizationMainLoop original, Cloner cloner) 89 89 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/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. … … 37 37 [PluginDependency("HeuristicLab.Optimization.Operators", "3.3")] 38 38 [PluginDependency("HeuristicLab.Parameters", "3.3")] 39 [PluginDependency("HeuristicLab. Persistence", "3.3")]39 [PluginDependency("HeuristicLab.Attic", "1.0")] 40 40 [PluginDependency("HeuristicLab.Random", "3.3")] 41 41 public class HeuristicLabAlgorithmsParticleSwarmOptimizationPlugin : PluginBase { -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/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. -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/RandomTopologyInitializer.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. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 32 32 [Item("Random Distinct Topology Initializer", "Each particle is informed by exactly k+1 distinct other particles (including itself).")] 33 [Storable Class]33 [StorableType("50A4DB55-5C5C-4C0E-A438-6C7DE14EA8A6")] 34 34 public sealed class RandomTopologyInitializer : TopologyInitializer, IStochasticOperator { 35 35 #region Parameters … … 44 44 #region Construction & Cloning 45 45 [StorableConstructor] 46 private RandomTopologyInitializer( bool deserializing) : base(deserializing) { }46 private RandomTopologyInitializer(StorableConstructorFlag _) : base(_) { } 47 47 private RandomTopologyInitializer(RandomTopologyInitializer original, Cloner cloner) : base(original, cloner) { } 48 48 public RandomTopologyInitializer() { -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/RingTopologyInitializer.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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 using HeuristicLab.Data; 26 26 27 27 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 28 28 [Item("Ring Topology Initializer", "Each particle is informed by its preceeding and its succeeding particle wrapping around at the beginning and the end of the swarm (in addition each particle also informs itself).")] 29 [Storable Class]29 [StorableType("B09A84CE-E1CC-4F38-BC84-1E541A792EBB")] 30 30 public sealed class RingTopologyInitializer : TopologyInitializer { 31 31 #region Construction & Cloning 32 32 33 33 [StorableConstructor] 34 private RingTopologyInitializer( bool deserializing) : base(deserializing) { }34 private RingTopologyInitializer(StorableConstructorFlag _) : base(_) { } 35 35 private RingTopologyInitializer(RingTopologyInitializer original, Cloner cloner) : base(original, cloner) { } 36 36 public RingTopologyInitializer() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/SPSORandomTopologyInitializer.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. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 32 32 [Item("SPSO Random Topology Initializer", "Each particle informs k+1 other particles (including itself). The same particle (including itself) can be informed multiple times.")] 33 [Storable Class]33 [StorableType("3A589247-0629-44E4-8A49-610DE0FEC642")] 34 34 public sealed class SPSORandomTopologyInitializer : TopologyInitializer, IStochasticOperator { 35 35 #region Parameters … … 44 44 #region Construction & Cloning 45 45 [StorableConstructor] 46 private SPSORandomTopologyInitializer( bool deserializing) : base(deserializing) { }46 private SPSORandomTopologyInitializer(StorableConstructorFlag _) : base(_) { } 47 47 private SPSORandomTopologyInitializer(SPSORandomTopologyInitializer original, Cloner cloner) : base(original, cloner) { } 48 48 public SPSORandomTopologyInitializer() { -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/TopologyInitializer.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; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 31 31 [Item("TopologyInitializer", "Groups the particles into neighborhoods according to a certain strategy.")] 32 [Storable Class]32 [StorableType("B1D32055-D844-4163-9D89-1423CCE2B4C3")] 33 33 public abstract class TopologyInitializer : SingleSuccessorOperator, ITopologyInitializer { 34 34 public override bool CanChangeName { … … 47 47 #region Construction & Cloning 48 48 [StorableConstructor] 49 protected TopologyInitializer( bool deserializing) : base(deserializing) { }49 protected TopologyInitializer(StorableConstructorFlag _) : base(_) { } 50 50 protected TopologyInitializer(TopologyInitializer original, Cloner cloner) : base(original, cloner) { } 51 51 -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/VonNeumannTopologyInitializer.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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 using HeuristicLab.Data; 26 26 27 27 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 28 28 [Item("Von Neumann Topology Initializer", "Every particle is informed by the two following and the two previous particles wrapping around at the beginning and the end of the swarm (in addition each particle also informs itself).")] 29 [Storable Class]29 [StorableType("F1516EBD-DA8D-462E-94DD-44391191ED8A")] 30 30 public sealed class VonNeumannTopologyInitializer : TopologyInitializer { 31 31 … … 33 33 34 34 [StorableConstructor] 35 private VonNeumannTopologyInitializer( bool deserializing) : base(deserializing) { }35 private VonNeumannTopologyInitializer(StorableConstructorFlag _) : base(_) { } 36 36 private VonNeumannTopologyInitializer(VonNeumannTopologyInitializer original, Cloner cloner) : base(original, cloner) { } 37 37 public VonNeumannTopologyInitializer() : base() { }
Note: See TracChangeset
for help on using the changeset viewer.