- Timestamp:
- 12/28/18 16:10:48 (5 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/Analyzers/OffspringSuccessAnalyzer.cs
r16453 r16462 28 28 using HeuristicLab.Optimization.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Algorithms.RAPGA { … … 35 35 /// </summary> 36 36 [Item("OffspringSuccessAnalyzer", "An operator which analyzes the success of the created offspring in a generation.")] 37 [Storable Class]37 [StorableType("1E42247A-C685-448C-82FF-247A598D6C10")] 38 38 public sealed class OffspringSuccessAnalyzer : AlgorithmOperator, IAnalyzer { 39 39 #region Parameter properties … … 72 72 #region Storing & Cloning 73 73 [StorableConstructor] 74 private OffspringSuccessAnalyzer( bool deserializing) : base(deserializing) { }74 private OffspringSuccessAnalyzer(StorableConstructorFlag _) : base(_) { } 75 75 private OffspringSuccessAnalyzer(OffspringSuccessAnalyzer original, Cloner cloner) : base(original, cloner) { } 76 76 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/Analyzers/PopulationSizeAnalyzer.cs
r16453 r16462 28 28 using HeuristicLab.Optimization.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Algorithms.RAPGA { … … 35 35 /// </summary> 36 36 [Item("PopulationSizeAnalyzer", "An operator which analyzes the size of the population in a scope tree.")] 37 [Storable Class]37 [StorableType("766717D5-F4B8-41E6-9E3F-A270CA53C311")] 38 38 public sealed class PopulationSizeAnalyzer : AlgorithmOperator, IAnalyzer { 39 39 #region Parameter properties … … 69 69 #region Storing & Cloning 70 70 [StorableConstructor] 71 private PopulationSizeAnalyzer( bool deserializing) : base(deserializing) { }71 private PopulationSizeAnalyzer(StorableConstructorFlag _) : base(_) { } 72 72 private PopulationSizeAnalyzer(PopulationSizeAnalyzer original, Cloner cloner) : base(original, cloner) { } 73 73 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/Analyzers/SelectionPressureAnalyzer.cs
r16453 r16462 28 28 using HeuristicLab.Optimization.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Algorithms.RAPGA { … … 35 35 /// </summary> 36 36 [Item("SelectionPressureAnalyzer", "An operator which analyzes the actual selection pressure.")] 37 [Storable Class]37 [StorableType("D09EA429-381C-43EC-B033-36B113886CB8")] 38 38 public sealed class SelectionPressureAnalyzer : AlgorithmOperator, IAnalyzer { 39 39 #region Parameter properties … … 63 63 #region Storing & Cloning 64 64 [StorableConstructor] 65 private SelectionPressureAnalyzer( bool deserializing) : base(deserializing) { }65 private SelectionPressureAnalyzer(StorableConstructorFlag _) : base(_) { } 66 66 private SelectionPressureAnalyzer(SelectionPressureAnalyzer original, Cloner cloner) : base(original, cloner) { } 67 67 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/DuplicatesSelector.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 using HeuristicLab.Selection; 30 30 … … 37 37 /// </remarks> 38 38 [Item("DuplicatesSelector", "A selection operator which considers a single solution representation and selects duplicates. The remaining scope then contains unique solutions and the selected scope their duplicates.")] 39 [Storable Class]39 [StorableType("08446059-0FB3-4B20-9D70-B73F2EEC2AAF")] 40 40 public sealed class DuplicatesSelector : SingleObjectiveSelector { 41 41 public IValueLookupParameter<ISolutionSimilarityCalculator> SimilarityCalculatorParameter { … … 44 44 45 45 [StorableConstructor] 46 private DuplicatesSelector( bool deserializing) : base(deserializing) { }46 private DuplicatesSelector(StorableConstructorFlag _) : base(_) { } 47 47 private DuplicatesSelector(DuplicatesSelector original, Cloner cloner) : base(original, cloner) { } 48 48 public DuplicatesSelector() -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/HeuristicLab.Algorithms.RAPGA-3.3.csproj
r16454 r16462 88 88 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 89 89 </Reference> 90 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">90 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 91 91 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 92 92 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/ProgressiveOffspringPreserver.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Algorithms.RAPGA { … … 37 37 /// </remarks> 38 38 [Item("ProgressiveOffspringPreserver", "An operator that progressively selects offspring by adding it to a scope list. The operator also performs duplication control.")] 39 [Storable Class]39 [StorableType("36A99B15-7DF3-481A-8D76-24BF4ED7B6F8")] 40 40 public sealed class ProgressiveOffspringPreserver : SingleSuccessorOperator { 41 41 #region Parameter Properties … … 73 73 74 74 [StorableConstructor] 75 private ProgressiveOffspringPreserver( bool deserializing) : base(deserializing) { }75 private ProgressiveOffspringPreserver(StorableConstructorFlag _) : base(_) { } 76 76 private ProgressiveOffspringPreserver(ProgressiveOffspringPreserver original, Cloner cloner) : base(original, cloner) { } 77 77 public ProgressiveOffspringPreserver() -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/RAPGA.cs
r16453 r16462 30 30 using HeuristicLab.Optimization.Operators; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 using HeuristicLab.PluginInfrastructure; 34 34 using HeuristicLab.Random; … … 40 40 [Item("RAPGA", "A relevant alleles preserving genetic algorithm (Affenzeller, M. et al. 2007. Self-adaptive population size adjustment for genetic algorithms. Proceedings of Computer Aided Systems Theory: EuroCAST 2007, Lecture Notes in Computer Science, pp 820–828. Springer).")] 41 41 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 140)] 42 [Storable Class]42 [StorableType("8E326660-354E-4016-B96B-A5B137F766D7")] 43 43 public sealed class RAPGA : HeuristicOptimizationEngineAlgorithm, IStorableContent { 44 44 public string Filename { get; set; } … … 197 197 198 198 [StorableConstructor] 199 private RAPGA( bool deserializing) : base(deserializing) { }199 private RAPGA(StorableConstructorFlag _) : base(_) { } 200 200 [StorableHook(HookType.AfterDeserialization)] 201 201 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/RAPGAMainLoop.cs
r16453 r16462 27 27 using HeuristicLab.Optimization.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 using HeuristicLab.Selection; 31 31 … … 35 35 /// </summary> 36 36 [Item("RAPGAMainLoop", "An operator which represents the main loop of a relevant alleles preserving genetic algorithm.")] 37 [Storable Class]37 [StorableType("31A887DE-2FE2-419A-9784-1BAE52067930")] 38 38 public sealed class RAPGAMainLoop : AlgorithmOperator { 39 39 #region Parameter properties … … 111 111 112 112 [StorableConstructor] 113 private RAPGAMainLoop( bool deserializing) : base(deserializing) { }113 private RAPGAMainLoop(StorableConstructorFlag _) : base(_) { } 114 114 private RAPGAMainLoop(RAPGAMainLoop original, Cloner cloner) : base(original, cloner) { } 115 115 public RAPGAMainLoop() -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.RAPGA/3.3/ScopeRestorer.cs
r16453 r16462 24 24 using HeuristicLab.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Algorithms.RAPGA { … … 34 34 /// </remarks> 35 35 [Item("ScopeRestorer", "An operator that restores created offspring from a scope list. It adds all scopes in the list as sub-scopes to the current scope.")] 36 [Storable Class]36 [StorableType("3246BDED-5177-4681-A2EF-2E9892AAED09")] 37 37 public class ScopeRestorer : SingleSuccessorOperator { 38 38 #region Parameter Properties … … 55 55 56 56 [StorableConstructor] 57 protected ScopeRestorer( bool deserializing) : base(deserializing) { }57 protected ScopeRestorer(StorableConstructorFlag _) : base(_) { } 58 58 protected ScopeRestorer(ScopeRestorer original, Cloner cloner) : base(original, cloner) { } 59 59 public ScopeRestorer()
Note: See TracChangeset
for help on using the changeset viewer.