Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorNeighborhoodParticleUpdater.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. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 using HeuristicLab.PluginInfrastructure; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 29 [Item("Neighborhood Particle Updater", "Updates the particle's position using (among other things) the best neighbor's position. Point = Point + Velocity*Inertia + (PersonalBestPoint-Point)*Phi_P*r_p + (BestNeighborPoint-Point)*Phi_G*r_g.")] 30 [Storable Class]30 [StorableType("D30B72C0-247D-466C-B677-0C99DBFEB2E4")] 31 31 [NonDiscoverableType] 32 32 [Obsolete("Use SPSO2011ParticleUpdater")] … … 35 35 #region Construction & Cloning 36 36 [StorableConstructor] 37 private RealVectorNeighborhoodParticleUpdater( bool deserializing) : base(deserializing) { }37 private RealVectorNeighborhoodParticleUpdater(StorableConstructorFlag _) : base(_) { } 38 38 private RealVectorNeighborhoodParticleUpdater(RealVectorNeighborhoodParticleUpdater original, Cloner cloner) : base(original, cloner) { } 39 39 public RealVectorNeighborhoodParticleUpdater() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleCreator.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 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Encodings.RealVectorEncoding { 33 33 [Item("RealVectorParticleCreator", "Creates a particle with position, zero velocity vector and personal best.")] 34 [Storable Class]34 [StorableType("C2C2600B-BB18-4A97-960C-74C9303D2A33")] 35 35 [NonDiscoverableType] 36 36 [Obsolete("Use SPSOParticleCreator")] … … 69 69 #region Construction & Cloning 70 70 [StorableConstructor] 71 protected RealVectorParticleCreator( bool deserializing) : base(deserializing) { }71 protected RealVectorParticleCreator(StorableConstructorFlag _) : base(_) { } 72 72 protected RealVectorParticleCreator(RealVectorParticleCreator original, Cloner cloner) : base(original, cloner) { } 73 73 public RealVectorParticleCreator() -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleUpdater.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.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.PluginInfrastructure; 30 30 … … 32 32 33 33 [Item("RealVectorParticleUpdater", "Updates a certain particle taking the current position and velocity into account, as well as the best point and the best point in a local neighborhood.")] 34 [Storable Class]34 [StorableType("1396AC75-4875-4A0F-B6C9-640047078E6E")] 35 35 [NonDiscoverableType] 36 36 [Obsolete("Use SPSO2011ParticleUpdater")] … … 120 120 #region Construction & Cloning 121 121 [StorableConstructor] 122 protected RealVectorParticleUpdater( bool deserializing) : base(deserializing) { }122 protected RealVectorParticleUpdater(StorableConstructorFlag _) : base(_) { } 123 123 protected RealVectorParticleUpdater(RealVectorParticleUpdater original, Cloner cloner) : base(original, cloner) { } 124 124 public RealVectorParticleUpdater() -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.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. … … 29 29 using HeuristicLab.Optimization.Operators; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 using HeuristicLab.PluginInfrastructure; 33 33 34 34 namespace HeuristicLab.Encodings.RealVectorEncoding { 35 35 [Item("RealVectorSwarmUpdater", "Updates personal best point and quality as well as global best point and quality.")] 36 [Storable Class]36 [StorableType("190172D5-090F-49DA-B2FB-AD2DF8064F77")] 37 37 [NonDiscoverableType] 38 38 [Obsolete("Use SPSOSwarmUpdater")] … … 176 176 177 177 [StorableConstructor] 178 private RealVectorSwarmUpdater( bool deserializing) : base(deserializing) { }178 private RealVectorSwarmUpdater(StorableConstructorFlag _) : base(_) { } 179 179 private RealVectorSwarmUpdater(RealVectorSwarmUpdater original, Cloner cloner) 180 180 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorTotallyConnectedParticleUpdater.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. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 using HeuristicLab.PluginInfrastructure; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 29 [Item("Totally Connected Particle Updater", "Updates the particle's position using (among other things) the global best position. Use together with the empty topology initialzer. Point = Point + Velocity*Inertia + (PersonalBestPoint-Point)*Phi_P*r_p + (BestPoint-Point)*Phi_G*r_g")] 30 [Storable Class]30 [StorableType("39FC0C08-AE80-4FA1-8C04-F54DE266C19E")] 31 31 [NonDiscoverableType] 32 32 [Obsolete("Use SPSO2011ParticleUpdater")] … … 35 35 #region Construction & Cloning 36 36 [StorableConstructor] 37 private RealVectorTotallyConnectedParticleUpdater( bool deserializing) : base(deserializing) { }37 private RealVectorTotallyConnectedParticleUpdater(StorableConstructorFlag _) : base(_) { } 38 38 private RealVectorTotallyConnectedParticleUpdater(RealVectorTotallyConnectedParticleUpdater original, Cloner cloner) : base(original, cloner) { } 39 39 public RealVectorTotallyConnectedParticleUpdater() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2007ParticleUpdater.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. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HEAL.Attic; 28 27 29 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 30 29 [Item("SPSO 2007 Particle Updater", "Updates the particle's position according to the formulae described in SPSO 2007.")] 31 [Storable Class]30 [StorableType("60C34D7A-CA73-432C-9EB1-05E503D8D2DD")] 32 31 public sealed class SPSO2007ParticleUpdater : SPSOParticleUpdater { 33 32 34 33 #region Construction & Cloning 35 34 [StorableConstructor] 36 private SPSO2007ParticleUpdater( bool deserializing) : base(deserializing) { }35 private SPSO2007ParticleUpdater(StorableConstructorFlag _) : base(_) { } 37 36 private SPSO2007ParticleUpdater(SPSO2007ParticleUpdater original, Cloner cloner) : base(original, cloner) { } 38 37 public SPSO2007ParticleUpdater() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2007VelocityInitializer.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 26 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 27 [Item("Velocity Initializer (SPSO 2007)", "Initializes the velocity vector.")] 28 [Storable Class]28 [StorableType("40B46512-D94E-45E5-ABE5-6D9AA5B7D13A")] 29 29 public class SPSO2007VelocityInitializer : SPSOVelocityInitializer { 30 30 31 31 #region Construction & Cloning 32 32 [StorableConstructor] 33 protected SPSO2007VelocityInitializer( bool deserializing) : base(deserializing) { }33 protected SPSO2007VelocityInitializer(StorableConstructorFlag _) : base(_) { } 34 34 protected SPSO2007VelocityInitializer(SPSO2007VelocityInitializer original, Cloner cloner) : base(original, cloner) { } 35 35 public SPSO2007VelocityInitializer() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2011ParticleUpdater.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. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Random; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { 30 30 [Item("SPSO 2011 Particle Updater", "Updates the particle's position according to the formulae described in SPSO 2011.")] 31 [Storable Class]31 [StorableType("C680E305-159C-4A76-83E5-53982B583F9B")] 32 32 public sealed class SPSO2011ParticleUpdater : SPSOParticleUpdater { 33 33 #region Construction & Cloning 34 34 [StorableConstructor] 35 private SPSO2011ParticleUpdater( bool deserializing) : base(deserializing) { }35 private SPSO2011ParticleUpdater(StorableConstructorFlag _) : base(_) { } 36 36 private SPSO2011ParticleUpdater(SPSO2011ParticleUpdater original, Cloner cloner) : base(original, cloner) { } 37 37 public SPSO2011ParticleUpdater() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2011VelocityInitializer.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 26 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 27 [Item("Velocity Initializer (SPSO 2011)", "Initializes the velocity vector.")] 28 [Storable Class]28 [StorableType("E844F8B9-068B-433D-8693-9416CA9140FB")] 29 29 public class SPSO2011VelocityInitializer : SPSOVelocityInitializer { 30 30 31 31 #region Construction & Cloning 32 32 [StorableConstructor] 33 protected SPSO2011VelocityInitializer( bool deserializing) : base(deserializing) { }33 protected SPSO2011VelocityInitializer(StorableConstructorFlag _) : base(_) { } 34 34 protected SPSO2011VelocityInitializer(SPSO2011VelocityInitializer original, Cloner cloner) : base(original, cloner) { } 35 35 public SPSO2011VelocityInitializer() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOParticleCreator.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.Encodings.RealVectorEncoding { 31 31 [Item("Particle Creator (SPSO)", "Creates a particle with position, velocity vector and personal best.")] 32 [Storable Class]32 [StorableType("A2BB1DB9-7E4A-4DEA-B469-612F26645E0B")] 33 33 public class SPSOParticleCreator : AlgorithmOperator, IRealVectorParticleCreator, IStochasticOperator { 34 34 … … 59 59 #region Construction & Cloning 60 60 [StorableConstructor] 61 protected SPSOParticleCreator( bool deserializing) : base(deserializing) { }61 protected SPSOParticleCreator(StorableConstructorFlag _) : base(_) { } 62 62 protected SPSOParticleCreator(SPSOParticleCreator original, Cloner cloner) : base(original, cloner) { } 63 63 public SPSOParticleCreator() -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOParticleUpdater.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.Encodings.RealVectorEncoding { 31 31 32 32 [Item("Particle Updater (SPSO)", "Updates a certain particle taking the current position and velocity into account, as well as the best point and the best point in a local neighborhood.")] 33 [Storable Class]33 [StorableType("D29959F9-476B-47E3-8426-B358C9C07E01")] 34 34 public abstract class SPSOParticleUpdater : SingleSuccessorOperator, IRealVectorParticleUpdater { 35 35 … … 75 75 #region Construction & Cloning 76 76 [StorableConstructor] 77 protected SPSOParticleUpdater( bool deserializing) : base(deserializing) { }77 protected SPSOParticleUpdater(StorableConstructorFlag _) : base(_) { } 78 78 protected SPSOParticleUpdater(SPSOParticleUpdater original, Cloner cloner) : base(original, cloner) { } 79 79 public SPSOParticleUpdater() -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOSwarmUpdater.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 35 35 namespace HeuristicLab.Encodings.RealVectorEncoding { 36 36 [Item("Swarm Updater (SPSO)", "Updates personal best point and quality as well as neighbor best point and quality.")] 37 [Storable Class]37 [StorableType("B8244196-9DB9-477C-A0A1-C1EB5BF4E1C1")] 38 38 public sealed class SPSOSwarmUpdater : SingleSuccessorOperator, IRealVectorSwarmUpdater, ISingleObjectiveOperator { 39 39 … … 109 109 110 110 [StorableConstructor] 111 private SPSOSwarmUpdater( bool deserializing) : base(deserializing) { }111 private SPSOSwarmUpdater(StorableConstructorFlag _) : base(_) { } 112 112 private SPSOSwarmUpdater(SPSOSwarmUpdater original, Cloner cloner) 113 113 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOVelocityInitializer.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.Encodings.RealVectorEncoding { 31 31 [Item("Velocity Initializer (SPSO)", "Initializes the velocity vector.")] 32 [Storable Class]32 [StorableType("BB130DA2-221C-4C56-BF8D-9492BFA8E3C2")] 33 33 public abstract class SPSOVelocityInitializer : SingleSuccessorOperator, IStochasticOperator { 34 34 #region Parameters … … 49 49 #region Construction & Cloning 50 50 [StorableConstructor] 51 protected SPSOVelocityInitializer( bool deserializing) : base(deserializing) { }51 protected SPSOVelocityInitializer(StorableConstructorFlag _) : base(_) { } 52 52 protected SPSOVelocityInitializer(SPSOVelocityInitializer original, Cloner cloner) : base(original, cloner) { } 53 53 protected SPSOVelocityInitializer()
Note: See TracChangeset
for help on using the changeset viewer.