Changeset 16728 for branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary
- Timestamp:
- 03/31/19 14:40:15 (6 years ago)
- Location:
- branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/ESContext.cs
r15572 r16728 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Parameters; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 26 27 27 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary { 28 28 [Item("Evolution Strategy (GQAP) Context", "Context for Evolution Strategies (GQAP).")] 29 [Storable Class]29 [StorableType("8A811131-337D-4CF6-A938-FFA08BF50B40")] 30 30 public sealed class ESContext : PopulationContext<ISingleObjectiveSolutionScope<ESGQAPSolution>> { 31 31 … … 52 52 53 53 [StorableConstructor] 54 private ESContext( bool deserializing) : base(deserializing) { }54 private ESContext(StorableConstructorFlag _) : base(_) { } 55 55 private ESContext(ESContext original, Cloner cloner) 56 56 : base(original, cloner) { -
branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/ESGQAPSolution.cs
r15616 r16728 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Data; 25 26 using HeuristicLab.Encodings.IntegerVectorEncoding; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;27 27 28 28 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary { 29 29 [Item("ES-specific GQAP Solution", "GQAP Solution that holds a strategy parameter")] 30 [Storable Class]30 [StorableType("00A9856C-5E25-4F12-B3B0-6A9FF855B8A9")] 31 31 public class ESGQAPSolution : GQAPSolution { 32 32 … … 43 43 44 44 [StorableConstructor] 45 protected ESGQAPSolution( bool deserializing) : base(deserializing) { }45 protected ESGQAPSolution(StorableConstructorFlag _) : base(_) { } 46 46 protected ESGQAPSolution(ESGQAPSolution original, Cloner cloner) 47 47 : base(original, cloner) { -
branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/EvolutionStrategy.cs
r15700 r16728 24 24 using System.Linq; 25 25 using System.Threading; 26 using HEAL.Attic; 26 27 using HeuristicLab.Common; 27 28 using HeuristicLab.Core; … … 30 31 using HeuristicLab.Optimization; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 using HeuristicLab.Random; 34 34 35 35 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary { 36 [StorableType("d568d524-1f84-461c-adf5-573d8e472063")] 36 37 public enum ESSelection { Plus = 0, Comma = 1 } 37 38 38 39 [Item("Evolution Strategy (GQAP)", "The algorithm implements a simple evolution strategy (ES).")] 39 40 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms)] 40 [Storable Class]41 [StorableType("A1590185-F2E3-4163-896E-28EEC93A5CDF")] 41 42 public sealed class EvolutionStrategy : StochasticAlgorithm<ESContext, IntegerVectorEncoding> { 42 43 … … 93 94 94 95 [StorableConstructor] 95 private EvolutionStrategy( bool deserializing) : base(deserializing) { }96 private EvolutionStrategy(StorableConstructorFlag _) : base(_) { } 96 97 private EvolutionStrategy(EvolutionStrategy original, Cloner cloner) 97 98 : base(original, cloner) { -
branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/OSGA.cs
r15700 r16728 23 23 using System.Linq; 24 24 using System.Threading; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 29 30 using HeuristicLab.Optimization; 30 31 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;32 32 33 33 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary { 34 34 [Item("OSGA (GQAP)", "The algorithm implements a strict offspring selection genetic algorithm (OSGA).")] 35 35 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms)] 36 [Storable Class]36 [StorableType("3BCF54DD-CECB-4027-AF2F-1764E6318B78")] 37 37 public sealed class OSGA : StochasticAlgorithm<OSGAContext, IntegerVectorEncoding> { 38 38 … … 71 71 72 72 [StorableConstructor] 73 private OSGA( bool deserializing) : base(deserializing) { }73 private OSGA(StorableConstructorFlag _) : base(_) { } 74 74 private OSGA(OSGA original, Cloner cloner) 75 75 : base(original, cloner) { -
branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/OSGAContext.cs
r15572 r16728 21 21 22 22 using System.Linq; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Data; 26 27 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;28 28 29 29 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.Evolutionary { 30 30 [Item("OSGA (GQAP) Context", "Context for OSGA (GQAP).")] 31 [Storable Class]31 [StorableType("65ADDF53-91A6-4C8C-9DDE-B330E87AB32B")] 32 32 public sealed class OSGAContext : PopulationContext<ISingleObjectiveSolutionScope<GQAPSolution>> { 33 33 … … 72 72 73 73 [StorableConstructor] 74 private OSGAContext( bool deserializing) : base(deserializing) { }74 private OSGAContext(StorableConstructorFlag _) : base(_) { } 75 75 private OSGAContext(OSGAContext original, Cloner cloner) 76 76 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.