- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 13 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/AdaptiveRandomTopologyUpdater.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. … … 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() -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/HeuristicLab.Algorithms.ParticleSwarmOptimization-3.3.csproj
r15277 r17097 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> … … 98 98 </PropertyGroup> 99 99 <ItemGroup> 100 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 101 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 102 </Reference> 103 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 104 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre02\lib\net461\HEAL.Attic.dll</HintPath> 105 </Reference> 100 106 <Reference Include="System" /> 101 107 <Reference Include="System.Core"> … … 103 109 </Reference> 104 110 <Reference Include="System.Drawing" /> 111 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 112 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 113 </Reference> 105 114 <Reference Include="System.Xml.Linq"> 106 115 <RequiredTargetFramework>3.5</RequiredTargetFramework> … … 127 136 <ItemGroup> 128 137 <None Include="HeuristicLab.snk" /> 138 <None Include="packages.config" /> 129 139 <None Include="Plugin.cs.frame" /> 130 140 <None Include="Properties\AssemblyInfo.cs.frame" /> -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/MultiPSOTopologyUpdater.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. … … 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() -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimization.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. … … 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) { -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimizationMainLoop.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 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) { -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/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.ParticleSwarmOptimization/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.ParticleSwarmOptimization/3.3/RandomTopologyInitializer.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; 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() { -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/RingTopologyInitializer.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 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() { } -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/SPSORandomTopologyInitializer.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; 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() { -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/TopologyInitializer.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; 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 -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/VonNeumannTopologyInitializer.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 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() { } -
stable/HeuristicLab.Algorithms.ParticleSwarmOptimization/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.