Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

Location:
branches/PersistenceReintegration/HeuristicLab.Selection/3.3
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/BestSelector.cs

    r14185 r14927  
    2727using HeuristicLab.Data;
    2828using HeuristicLab.Optimization;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Selection {
     
    3434  /// </summary>
    3535  [Item("BestSelector", "A selection operator which considers a single double quality value and selects the best.")]
    36   [StorableClass]
     36  [StorableType("4c31cd0b-5ce8-4ef9-ba22-9b4b314f7e50")]
    3737  public sealed class BestSelector : SingleObjectiveSelector, ISingleObjectiveSelector {
    3838    public BestSelector() : base() { }
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/ConditionalSelector.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Selection {
    3030  [Item("ConditionalSelector", "Selects sub-scopes where a certain boolean variable is true.")]
    31   [StorableClass]
     31  [StorableType("983df469-ae14-4c5b-98f3-03a3a6231cf1")]
    3232  public class ConditionalSelector : Selector {
    3333    public ScopeTreeLookupParameter<BoolValue> ConditionParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/CrowdedTournamentSelector.cs

    r14185 r14927  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Selection {
    3232  [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   [StorableClass]
     33  [StorableType("3bc2b9e7-1139-4ded-aa22-555406e77bdc")]
    3434  public class CrowdedTournamentSelector : Selector, IMultiObjectiveSelector, IStochasticOperator {
    3535    public ILookupParameter<BoolArray> MaximizationParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/EvolutionStrategyOffspringSelector.cs

    r14185 r14927  
    2828using HeuristicLab.Operators;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Selection {
    3333  [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   [StorableClass]
     34  [StorableType("f8faf87f-76e6-4215-bbb8-b532338029ba")]
    3535  public class EvolutionStrategyOffspringSelector : SingleSuccessorOperator {
    3636
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/GenderSpecificSelector.cs

    r14185 r14927  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Selection {
    3232  [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   [StorableClass]
     33  [StorableType("4835fa3e-1ee9-4c39-819d-040c6148c573")]
    3434  public class GenderSpecificSelector : AlgorithmOperator, ISingleObjectiveSelector, IStochasticOperator {
    3535    #region Parameters
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/GeneralizedRankSelector.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Selection {
     
    3535  /// </summary>
    3636  [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   [StorableClass]
     37  [StorableType("1c413a53-853e-486e-8a9e-e436737be44c")]
    3838  public sealed class GeneralizedRankSelector : StochasticSingleObjectiveSelector, ISelector {
    3939
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/LeftReducer.cs

    r14185 r14927  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Selection {
     
    3131  /// </summary>
    3232  [Item("LeftReducer", "An operator which reduces to the sub-scopes of the leftmost sub-scope of the current scope.")]
    33   [StorableClass]
     33  [StorableType("bcc20651-6024-4f3e-a445-95223861f2d8")]
    3434  public sealed class LeftReducer : Reducer, IReducer {
    3535    [StorableConstructor]
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/LeftSelector.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Selection {
     
    3232  /// </summary>
    3333  [Item("LeftSelector", "An operator which selects sub-scopes from left to right.")]
    34   [StorableClass]
     34  [StorableType("864d224e-c5b0-4f00-a81d-f62abc842103")]
    3535  public sealed class LeftSelector : Selector {
    3636    private IValueParameter<BoolValue> CopySelectedParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/LinearRankSelector.cs

    r14185 r14927  
    2727using HeuristicLab.Data;
    2828using HeuristicLab.Optimization;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Selection {
     
    3434  /// </summary>
    3535  [Item("LinearRankSelector", "A linear rank selection operator which considers the rank based on a single double quality value for selection.")]
    36   [StorableClass]
     36  [StorableType("8918c68e-b367-4015-89e2-cdc1fc3cfe0f")]
    3737  public sealed class LinearRankSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector {
    3838    [StorableConstructor]
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/MergingReducer.cs

    r14185 r14927  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Selection {
     
    3131  /// </summary>
    3232  [Item("MergingReducer", "An operator which reduces to the sub-scopes of all sub-scopes of the current scope.")]
    33   [StorableClass]
     33  [StorableType("86552ecc-2ba2-49bb-a74f-833c9cbd33de")]
    3434  public sealed class MergingReducer : Reducer, IReducer {
    3535    [StorableConstructor]
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/NoSameMatesSelector.cs

    r14185 r14927  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232
    3333namespace HeuristicLab.Selection {
     
    3838  /// </summary>
    3939  [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   [StorableClass]
     40  [StorableType("7f1dd8c0-faf8-46ef-ae6f-b5a07a447ac2")]
    4141  public class NoSameMatesSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector {
    4242    private const string SelectorParameterName = "Selector";
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/OffspringSelector.cs

    r14185 r14927  
    2626using HeuristicLab.Operators;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Selection {
    3131  [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   [StorableClass]
     32  [StorableType("b1b58865-4ae9-4494-afb9-f8de41c74bc6")]
    3333  public class OffspringSelector : SingleSuccessorOperator {
    3434    public ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/ProportionalSelector.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Selection {
     
    3535  /// </summary>
    3636  [Item("ProportionalSelector", "A quality proportional selection operator which considers a single double quality value for selection.")]
    37   [StorableClass]
     37  [StorableType("64f297ea-4958-4a3e-adc2-beb4b66a3b61")]
    3838  public sealed class ProportionalSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector {
    3939    private ValueParameter<BoolValue> WindowingParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RandomReplacer.cs

    r14185 r14927  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Selection {
    3030  [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   [StorableClass]
     31  [StorableType("9ad37547-2910-474f-b543-63ee1535f428")]
    3232  public sealed class RandomReplacer : Replacer, IStochasticOperator, ISingleObjectiveReplacer {
    3333    public override bool CanChangeName {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RandomSelector.cs

    r14185 r14927  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Selection {
     
    3333  /// </summary>
    3434  [Item("RandomSelector", "A random selection operator.")]
    35   [StorableClass]
     35  [StorableType("282c6a03-376e-4788-92f0-f62814c99d81")]
    3636  public sealed class RandomSelector : StochasticSelector, ISelector {
    3737    private IValueParameter<BoolValue> CopySelectedParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/Reducer.cs

    r14185 r14927  
    2525using HeuristicLab.Operators;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Selection {
     
    3232  /// </summary>
    3333  [Item("Reducer", "A base class for reduction operators.")]
    34   [StorableClass]
     34  [StorableType("34f7d18e-1d67-4ffb-b0be-88e9629c0e1c")]
    3535  public abstract class Reducer : SingleSuccessorOperator {
    3636    protected ScopeParameter CurrentScopeParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/Replacer.cs

    r14185 r14927  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Selection {
    3232  [Item("Replacer", "Generic replacer that replaces sub-scopes of the remaining scope with those from the selected scope.")]
    33   [StorableClass]
     33  [StorableType("06748649-ed99-44dd-a55c-434ba0da3d53")]
    3434  public class Replacer : AlgorithmOperator, IReplacer {
    3535    public IValueLookupParameter<ISelector> ReplacedSelectorParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RightChildReducer.cs

    r14185 r14927  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Selection {
     
    4141  /// </summary>
    4242  [Item("RightChildReducer", "Merges all sub-scopes generated by successively selecting sub-scopes of the remaining part.")]
    43   [StorableClass]
     43  [StorableType("16b58f96-51e8-4757-8973-f0b86572d410")]
    4444  public class RightChildReducer : Reducer, IReducer {
    4545    [StorableConstructor]
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RightReducer.cs

    r14185 r14927  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Selection {
     
    3131  /// </summary>
    3232  [Item("RightReducer", "An operator which reduces to the sub-scopes of the rightmost sub-scope of the current scope.")]
    33   [StorableClass]
     33  [StorableType("397bf848-0397-40b4-981a-9c78bce39707")]
    3434  public sealed class RightReducer : Reducer, IReducer {
    3535    [StorableConstructor]
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RightSelector.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Selection {
     
    3232  /// </summary>
    3333  [Item("RightSelector", "An operator which selects sub-scopes from right to left.")]
    34   [StorableClass]
     34  [StorableType("0ee8cbe0-8577-4704-bfd7-f56a93f306f9")]
    3535  public sealed class RightSelector : Selector {
    3636    private IValueParameter<BoolValue> CopySelectedParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/Selector.cs

    r14185 r14927  
    2525using HeuristicLab.Operators;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Selection {
     
    3232  /// </summary>
    3333  [Item("Selector", "A base class for selection operators.")]
    34   [StorableClass]
     34  [StorableType("f2561f60-cdfa-430a-a1af-37f008857e35")]
    3535  public abstract class Selector : InstrumentedOperator {
    3636    public override bool CanChangeName {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/SingleObjectiveSelector.cs

    r14185 r14927  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Selection {
     
    3232  /// </summary>
    3333  [Item("SingleObjectiveSelector", "A base class for selection operators which consider a single double quality value for selection.")]
    34   [StorableClass]
     34  [StorableType("dca23820-ca11-445e-9b1c-cbb12fd47190")]
    3535  public abstract class SingleObjectiveSelector : Selector, ISingleObjectiveOperator {
    3636    protected IValueParameter<BoolValue> CopySelectedParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/StochasticSelector.cs

    r14185 r14927  
    2424using HeuristicLab.Optimization;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Selection {
     
    3131  /// </summary>
    3232  [Item("StochasticSelector", "A base class for stochastic selection operators.")]
    33   [StorableClass]
     33  [StorableType("26bcc812-bf6c-4128-8be4-37f8abb1d17f")]
    3434  public abstract class StochasticSelector : Selector, IStochasticOperator {
    3535    public ILookupParameter<IRandom> RandomParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/StochasticSingleObjectiveSelector.cs

    r14185 r14927  
    2424using HeuristicLab.Optimization;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Selection {
     
    3131  /// </summary>
    3232  [Item("StochasticSingleObjectiveSelector", "A base class for stochastic selection operators which consider a single double quality value for selection.")]
    33   [StorableClass]
     33  [StorableType("41d6b78b-f504-4275-981b-4d9d77eb9ef1")]
    3434  public abstract class StochasticSingleObjectiveSelector : SingleObjectiveSelector, IStochasticOperator {
    3535    public ILookupParameter<IRandom> RandomParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/TournamentSelector.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Selection {
     
    3535  /// </summary>
    3636  [Item("TournamentSelector", "A tournament selection operator which considers a single double quality value for selection.")]
    37   [StorableClass]
     37  [StorableType("88a67bbd-8095-48b9-8e4c-317ae40e46b5")]
    3838  public sealed class TournamentSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector {
    3939    public ValueLookupParameter<IntValue> GroupSizeParameter {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/WorstReplacer.cs

    r14185 r14927  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Selection {
    3030  [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   [StorableClass]
     31  [StorableType("2a111551-0c19-4f3d-831e-921d745c20b1")]
    3232  public sealed class WorstReplacer : Replacer, ISingleObjectiveReplacer {
    3333    public override bool CanChangeName {
  • branches/PersistenceReintegration/HeuristicLab.Selection/3.3/WorstSelector.cs

    r14185 r14927  
    2727using HeuristicLab.Data;
    2828using HeuristicLab.Optimization;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Selection {
     
    3434  /// </summary>
    3535  [Item("WorstSelector", "A selection operator which considers a single double quality value and selects the worst.")]
    36   [StorableClass]
     36  [StorableType("915faa20-4658-4ea6-b7ed-8db659d90d63")]
    3737  public sealed class WorstSelector : SingleObjectiveSelector, ISingleObjectiveSelector {
    3838    [StorableConstructor]
Note: See TracChangeset for help on using the changeset viewer.