- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/BestSelector.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Selection { … … 34 34 /// </summary> 35 35 [Item("BestSelector", "A selection operator which considers a single double quality value and selects the best.")] 36 [Storable Class]36 [StorableType("D0D03F30-C2A2-488B-81B0-856CA259AA03")] 37 37 public sealed class BestSelector : SingleObjectiveSelector, ISingleObjectiveSelector { 38 38 public BestSelector() : base() { } 39 39 [StorableConstructor] 40 private BestSelector( bool deserializing) : base(deserializing) { }40 private BestSelector(StorableConstructorFlag _) : base(_) { } 41 41 private BestSelector(BestSelector original, Cloner cloner) 42 42 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/ConditionalSelector.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Selection { 30 30 [Item("ConditionalSelector", "Selects sub-scopes where a certain boolean variable is true.")] 31 [Storable Class]31 [StorableType("ACF05DDC-50DC-41CF-BD5D-CF89AD309A38")] 32 32 public class ConditionalSelector : Selector { 33 33 public ScopeTreeLookupParameter<BoolValue> ConditionParameter { … … 44 44 45 45 [StorableConstructor] 46 protected ConditionalSelector( bool deserializing) : base(deserializing) { }46 protected ConditionalSelector(StorableConstructorFlag _) : base(_) { } 47 47 protected ConditionalSelector(ConditionalSelector original, Cloner cloner) 48 48 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/CrowdedTournamentSelector.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.Selection { 32 32 [Item("CrowdedTournamentSelector", "Selects solutions using tournament selection by using the partial order defined in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.")] 33 [Storable Class]33 [StorableType("343E8160-873B-4F76-BCA0-9F031CB6D1D7")] 34 34 public class CrowdedTournamentSelector : Selector, IMultiObjectiveSelector, IStochasticOperator { 35 35 public ILookupParameter<BoolArray> MaximizationParameter { … … 64 64 65 65 [StorableConstructor] 66 protected CrowdedTournamentSelector( bool deserializing) : base(deserializing) { }66 protected CrowdedTournamentSelector(StorableConstructorFlag _) : base(_) { } 67 67 protected CrowdedTournamentSelector(CrowdedTournamentSelector original, Cloner cloner) : base(original, cloner) { } 68 68 public CrowdedTournamentSelector() -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/EvolutionStrategyOffspringSelector.cs
r16453 r16462 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Runtime.InteropServices;25 24 using HeuristicLab.Common; 26 25 using HeuristicLab.Core; … … 28 27 using HeuristicLab.Operators; 29 28 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 31 30 32 31 namespace HeuristicLab.Selection { 33 32 [Item("EvolutionStrategyOffspringSelector", "Selects among the offspring population those that are designated successful and discards the unsuccessful offspring, except for some lucky losers. It expects the parent scopes to be below the first sub-scope, and offspring scopes to be below the second sub-scope separated again in two sub-scopes, the first with the failed offspring and the second with successful offspring.")] 34 [Storable Class]33 [StorableType("CE585C3C-5139-44F0-9CB2-CC901A290831")] 35 34 public class EvolutionStrategyOffspringSelector : SingleSuccessorOperator { 36 35 … … 113 112 114 113 [StorableConstructor] 115 protected EvolutionStrategyOffspringSelector( bool deserializing) : base(deserializing) { }114 protected EvolutionStrategyOffspringSelector(StorableConstructorFlag _) : base(_) { } 116 115 protected EvolutionStrategyOffspringSelector(EvolutionStrategyOffspringSelector original, Cloner cloner) : base(original, cloner) { } 117 116 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/GenderSpecificSelector.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.Selection { 32 32 [Item("GenderSpecificSelection", "Brings two parents together by sampling each with a different selection scheme (Wagner, S. and Affenzeller, M. 2005. SexualGA: Gender-Specific Selection for Genetic Algorithms. Proceedings of the 9th World Multi-Conference on Systemics, Cybernetics and Informatics (WMSCI), pp. 76-81).")] 33 [Storable Class]33 [StorableType("4707D6F3-A792-456A-87DB-0B1F82D5DBDC")] 34 34 public class GenderSpecificSelector : AlgorithmOperator, ISingleObjectiveSelector, IStochasticOperator { 35 35 #region Parameters … … 81 81 82 82 [StorableConstructor] 83 protected GenderSpecificSelector( bool deserializing) : base(deserializing) { }83 protected GenderSpecificSelector(StorableConstructorFlag _) : base(_) { } 84 84 protected GenderSpecificSelector(GenderSpecificSelector original, Cloner cloner) 85 85 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/GeneralizedRankSelector.cs
r16453 r16462 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Selection { … … 35 35 /// </summary> 36 36 [Item("GeneralizedRankSelector", "The generalized rank selection operator selects qualities by rank with a varying focus on better qualities. It is implemented as described in Tate, D. M. and Smith, A. E. 1995. A genetic approach to the quadratic assignment problem. Computers & Operations Research, vol. 22, pp. 73-83.")] 37 [Storable Class]37 [StorableType("6423609D-9C11-4CC5-99A1-39257A306DF6")] 38 38 public sealed class GeneralizedRankSelector : StochasticSingleObjectiveSelector, ISelector { 39 39 … … 43 43 44 44 [StorableConstructor] 45 private GeneralizedRankSelector( bool deserializing) : base(deserializing) { }45 private GeneralizedRankSelector(StorableConstructorFlag _) : base(_) { } 46 46 private GeneralizedRankSelector(GeneralizedRankSelector original, Cloner cloner) : base(original, cloner) { } 47 47 public GeneralizedRankSelector() -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/HeuristicLab.Selection-3.3.csproj
r16454 r16462 109 109 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 110 110 </Reference> 111 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">111 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 112 112 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 113 113 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/LeftReducer.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("LeftReducer", "An operator which reduces to the sub-scopes of the leftmost sub-scope of the current scope.")] 33 [Storable Class]33 [StorableType("AFD2FF4E-2F84-491D-9ED2-540E94F8B6B3")] 34 34 public sealed class LeftReducer : Reducer, IReducer { 35 35 [StorableConstructor] 36 private LeftReducer( bool deserializing) : base(deserializing) { }36 private LeftReducer(StorableConstructorFlag _) : base(_) { } 37 37 private LeftReducer(LeftReducer original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/LeftSelector.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("LeftSelector", "An operator which selects sub-scopes from left to right.")] 34 [Storable Class]34 [StorableType("7D249BF4-0D6A-4AED-9F1A-128F3BEF66B4")] 35 35 public sealed class LeftSelector : Selector { 36 36 private IValueParameter<BoolValue> CopySelectedParameter { … … 47 47 48 48 [StorableConstructor] 49 private LeftSelector( bool deserializing) : base(deserializing) { }49 private LeftSelector(StorableConstructorFlag _) : base(_) { } 50 50 private LeftSelector(LeftSelector original, Cloner cloner) 51 51 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/LinearRankSelector.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Selection { … … 34 34 /// </summary> 35 35 [Item("LinearRankSelector", "A linear rank selection operator which considers the rank based on a single double quality value for selection.")] 36 [Storable Class]36 [StorableType("A1DFD3CF-9CA2-452D-BCF4-D2B5316C1765")] 37 37 public sealed class LinearRankSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 38 38 [StorableConstructor] 39 private LinearRankSelector( bool deserializing) : base(deserializing) { }39 private LinearRankSelector(StorableConstructorFlag _) : base(_) { } 40 40 private LinearRankSelector(LinearRankSelector original, Cloner cloner) 41 41 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/MergingReducer.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("MergingReducer", "An operator which reduces to the sub-scopes of all sub-scopes of the current scope.")] 33 [Storable Class]33 [StorableType("409FC265-3622-43E0-8314-5D23DED4B381")] 34 34 public sealed class MergingReducer : Reducer, IReducer { 35 35 [StorableConstructor] 36 private MergingReducer( bool deserializing) : base(deserializing) { }36 private MergingReducer(StorableConstructorFlag _) : base(_) { } 37 37 private MergingReducer(MergingReducer original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/NoSameMatesSelector.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Selection { … … 38 38 /// </summary> 39 39 [Item("NoSameMatesSelector", "A selector which tries to select two parents which differ in quality as described in: \"S. Gustafson, E. K. Burke, N. Krasnogor, On improving genetic programming for symbolic regression, The 2005 IEEE Congress on Evolutionary Computation, pp. 912-919, 2005.\"")] 40 [Storable Class]40 [StorableType("51C70E5F-0CF4-4BE6-9454-AEAF9D13485A")] 41 41 public class NoSameMatesSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 42 42 private const string SelectorParameterName = "Selector"; … … 77 77 78 78 [StorableConstructor] 79 protected NoSameMatesSelector( bool deserializing) : base(deserializing) { }79 protected NoSameMatesSelector(StorableConstructorFlag _) : base(_) { } 80 80 protected NoSameMatesSelector(NoSameMatesSelector original, Cloner cloner) 81 81 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/OffspringSelector.cs
r16453 r16462 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Selection { 31 31 [Item("OffspringSelector", "Selects among the offspring population those that are designated successful and discards the unsuccessful offspring, except for some lucky losers. It expects the parent scopes to be below the first sub-scope, and offspring scopes to be below the second sub-scope separated again in two sub-scopes, the first with the failed offspring and the second with successful offspring.")] 32 [Storable Class]32 [StorableType("20283BB2-C41B-404B-BDE2-4117D9719C45")] 33 33 public class OffspringSelector : SingleSuccessorOperator { 34 34 public ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter { … … 67 67 68 68 [StorableConstructor] 69 protected OffspringSelector( bool deserializing) : base(deserializing) { }69 protected OffspringSelector(StorableConstructorFlag _) : base(_) { } 70 70 [StorableHook(HookType.AfterDeserialization)] 71 71 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/ProportionalSelector.cs
r16453 r16462 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Selection { … … 35 35 /// </summary> 36 36 [Item("ProportionalSelector", "A quality proportional selection operator which considers a single double quality value for selection.")] 37 [Storable Class]37 [StorableType("82E6E547-4B36-4873-B9B9-E155EE913228")] 38 38 public sealed class ProportionalSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 39 39 private ValueParameter<BoolValue> WindowingParameter { … … 47 47 48 48 [StorableConstructor] 49 private ProportionalSelector( bool deserializing) : base(deserializing) { }49 private ProportionalSelector(StorableConstructorFlag _) : base(_) { } 50 50 private ProportionalSelector(ProportionalSelector original, Cloner cloner) 51 51 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/RandomReplacer.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Selection { 30 30 [Item("RandomReplacer", "Replaces some randomly selected sub-scopes of the remaining scope with all those (or the best if there are more) from the selected scope.")] 31 [Storable Class]31 [StorableType("526A1887-C636-4702-8041-36EE0C2F1DA0")] 32 32 public sealed class RandomReplacer : Replacer, IStochasticOperator, ISingleObjectiveReplacer { 33 33 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 private RandomReplacer( bool deserializing) : base(deserializing) { }51 private RandomReplacer(StorableConstructorFlag _) : base(_) { } 52 52 private RandomReplacer(RandomReplacer original, Cloner cloner) 53 53 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/RandomSelector.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 30 30 namespace HeuristicLab.Selection { … … 33 33 /// </summary> 34 34 [Item("RandomSelector", "A random selection operator.")] 35 [Storable Class]35 [StorableType("4F442F5F-CCE7-4DC3-9C88-5B719A011C88")] 36 36 public sealed class RandomSelector : StochasticSelector, ISelector { 37 37 private IValueParameter<BoolValue> CopySelectedParameter { … … 48 48 49 49 [StorableConstructor] 50 private RandomSelector( bool deserializing) : base(deserializing) { }50 private RandomSelector(StorableConstructorFlag _) : base(_) { } 51 51 private RandomSelector(RandomSelector original, Cloner cloner) 52 52 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/Reducer.cs
r16453 r16462 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("Reducer", "A base class for reduction operators.")] 34 [Storable Class]34 [StorableType("ADEA7125-A5E1-4A26-AE05-9DE900B9BE5C")] 35 35 public abstract class Reducer : SingleSuccessorOperator { 36 36 protected ScopeParameter CurrentScopeParameter { … … 43 43 44 44 [StorableConstructor] 45 protected Reducer( bool deserializing) : base(deserializing) { }45 protected Reducer(StorableConstructorFlag _) : base(_) { } 46 46 protected Reducer(Reducer original, Cloner cloner) 47 47 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/Replacer.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.Selection { 32 32 [Item("Replacer", "Generic replacer that replaces sub-scopes of the remaining scope with those from the selected scope.")] 33 [Storable Class]33 [StorableType("E92517F6-5936-4143-B07A-E76BC7A508F3")] 34 34 public class Replacer : AlgorithmOperator, IReplacer { 35 35 public IValueLookupParameter<ISelector> ReplacedSelectorParameter { … … 41 41 42 42 [StorableConstructor] 43 protected Replacer( bool deserializing) : base(deserializing) { }43 protected Replacer(StorableConstructorFlag _) : base(_) { } 44 44 protected Replacer(Replacer original, Cloner cloner) : base(original, cloner) { } 45 45 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/RightChildReducer.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Selection { … … 41 41 /// </summary> 42 42 [Item("RightChildReducer", "Merges all sub-scopes generated by successively selecting sub-scopes of the remaining part.")] 43 [Storable Class]43 [StorableType("D1857728-A661-46BE-AA08-CDF830DD81A8")] 44 44 public class RightChildReducer : Reducer, IReducer { 45 45 [StorableConstructor] 46 protected RightChildReducer( bool deserializing) : base(deserializing) { }46 protected RightChildReducer(StorableConstructorFlag _) : base(_) { } 47 47 protected RightChildReducer(RightChildReducer original, Cloner cloner) : base(original, cloner) { } 48 48 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/RightReducer.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("RightReducer", "An operator which reduces to the sub-scopes of the rightmost sub-scope of the current scope.")] 33 [Storable Class]33 [StorableType("D06F6701-B166-4AF1-9EB7-BA6C187DFBB1")] 34 34 public sealed class RightReducer : Reducer, IReducer { 35 35 [StorableConstructor] 36 private RightReducer( bool deserializing) : base(deserializing) { }36 private RightReducer(StorableConstructorFlag _) : base(_) { } 37 37 private RightReducer(RightReducer original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/RightSelector.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("RightSelector", "An operator which selects sub-scopes from right to left.")] 34 [Storable Class]34 [StorableType("D34AB8F1-5F8E-4265-9607-D5EE26DA75D0")] 35 35 public sealed class RightSelector : Selector { 36 36 private IValueParameter<BoolValue> CopySelectedParameter { … … 46 46 } 47 47 [StorableConstructor] 48 private RightSelector( bool deserializing) : base(deserializing) { }48 private RightSelector(StorableConstructorFlag _) : base(_) { } 49 49 private RightSelector(RightSelector original, Cloner cloner) : base(original, cloner) { } 50 50 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/Selector.cs
r16453 r16462 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("Selector", "A base class for selection operators.")] 34 [Storable Class]34 [StorableType("88363FF9-09A4-4A31-A099-D3C86E84947D")] 35 35 public abstract class Selector : InstrumentedOperator { 36 36 public override bool CanChangeName { … … 46 46 47 47 [StorableConstructor] 48 protected Selector( bool deserializing) : base(deserializing) { }48 protected Selector(StorableConstructorFlag _) : base(_) { } 49 49 protected Selector(Selector original, Cloner cloner) : base(original, cloner) { } 50 50 -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/SingleObjectiveSelector.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("SingleObjectiveSelector", "A base class for selection operators which consider a single double quality value for selection.")] 34 [Storable Class]34 [StorableType("50A55690-CD32-4675-B74F-E6B6D860587E")] 35 35 public abstract class SingleObjectiveSelector : Selector, ISingleObjectiveOperator { 36 36 protected IValueParameter<BoolValue> CopySelectedParameter { … … 53 53 54 54 [StorableConstructor] 55 protected SingleObjectiveSelector( bool deserializing) : base(deserializing) { }55 protected SingleObjectiveSelector(StorableConstructorFlag _) : base(_) { } 56 56 protected SingleObjectiveSelector(SingleObjectiveSelector original, Cloner cloner) : base(original, cloner) { } 57 57 -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/StochasticSelector.cs
r16453 r16462 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("StochasticSelector", "A base class for stochastic selection operators.")] 33 [Storable Class]33 [StorableType("311180FE-97EE-48FF-A4C0-40982D6B862A")] 34 34 public abstract class StochasticSelector : Selector, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { … … 38 38 39 39 [StorableConstructor] 40 protected StochasticSelector( bool deserializing) : base(deserializing) { }40 protected StochasticSelector(StorableConstructorFlag _) : base(_) { } 41 41 protected StochasticSelector(StochasticSelector original, Cloner cloner) : base(original, cloner) { } 42 42 protected StochasticSelector() -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/StochasticSingleObjectiveSelector.cs
r16453 r16462 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("StochasticSingleObjectiveSelector", "A base class for stochastic selection operators which consider a single double quality value for selection.")] 33 [Storable Class]33 [StorableType("566030A6-F1F8-4F45-A768-4D2BD236D39E")] 34 34 public abstract class StochasticSingleObjectiveSelector : SingleObjectiveSelector, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { … … 37 37 } 38 38 [StorableConstructor] 39 protected StochasticSingleObjectiveSelector( bool deserializing) : base(deserializing) { }39 protected StochasticSingleObjectiveSelector(StorableConstructorFlag _) : base(_) { } 40 40 protected StochasticSingleObjectiveSelector(StochasticSingleObjectiveSelector original, Cloner cloner) : base(original, cloner) { } 41 41 protected StochasticSingleObjectiveSelector() -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/TournamentSelector.cs
r16453 r16462 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Selection { … … 35 35 /// </summary> 36 36 [Item("TournamentSelector", "A tournament selection operator which considers a single double quality value for selection.")] 37 [Storable Class]37 [StorableType("84B5B6EA-A3A0-4E06-B663-DE451306A1CE")] 38 38 public sealed class TournamentSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 39 39 public ValueLookupParameter<IntValue> GroupSizeParameter { … … 42 42 43 43 [StorableConstructor] 44 private TournamentSelector( bool deserializing) : base(deserializing) { }44 private TournamentSelector(StorableConstructorFlag _) : base(_) { } 45 45 private TournamentSelector(TournamentSelector original, Cloner cloner) : base(original, cloner) { } 46 46 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/WorstReplacer.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Selection { 30 30 [Item("WorstReplacer", "Replaces the worst sub-scopes of the remaining scope with all those (or the best if there are more) from the selected scope.")] 31 [Storable Class]31 [StorableType("9B56E562-0E21-4FED-AB2F-553D49AEC47D")] 32 32 public sealed class WorstReplacer : Replacer, ISingleObjectiveReplacer { 33 33 public override bool CanChangeName { … … 46 46 47 47 [StorableConstructor] 48 private WorstReplacer( bool deserializing) : base(deserializing) { }48 private WorstReplacer(StorableConstructorFlag _) : base(_) { } 49 49 private WorstReplacer(WorstReplacer original, Cloner cloner) : base(original, cloner) { } 50 50 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/WorstSelector.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Selection { … … 34 34 /// </summary> 35 35 [Item("WorstSelector", "A selection operator which considers a single double quality value and selects the worst.")] 36 [Storable Class]36 [StorableType("FD37F242-2CB7-4528-9047-4011A61CE24F")] 37 37 public sealed class WorstSelector : SingleObjectiveSelector, ISingleObjectiveSelector { 38 38 [StorableConstructor] 39 private WorstSelector( bool deserializing) : base(deserializing) { }39 private WorstSelector(StorableConstructorFlag _) : base(_) { } 40 40 private WorstSelector(WorstSelector original, Cloner cloner) : base(original, cloner) { } 41 41 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.