Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 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.Problems.TestFunctions/3.3
Files:
37 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Analyzers/BestSingleObjectiveTestFunctionSolutionAnalyzer.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Problems.TestFunctions {
     
    3535  /// </summary>
    3636  [Item("BestSingleObjectiveTestFunctionSolutionAnalyzer", "An operator for analyzing the best solution for a SingleObjectiveTestFunction problem.")]
    37   [StorableClass]
     37  [StorableType("f5d81231-809d-474c-812d-f897ab11e16f")]
    3838  public class BestSingleObjectiveTestFunctionSolutionAnalyzer : SingleSuccessorOperator, IBestSingleObjectiveTestFunctionSolutionAnalyzer {
    3939    public virtual bool EnabledByDefault {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/AckleyEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3333  /// </summary
    3434  [Item("AckleyEvaluator", "Evaluates the Ackley function on a given point. The optimum of this function is 0 at the origin. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, Springer-Verlag Berlin Heidelberg.")]
    35   [StorableClass]
     35  [StorableType("ccd4f1c9-5308-408e-8818-c581aeef6bc2")]
    3636  public class AckleyEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3737    public override string FunctionName { get { return "Ackley"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/BealeEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3333  /// </summary>
    3434  [Item("BealeEvaluator", "Evaluates the Beale function on a given point. The optimum of this function is 0 at (3,0.5). It is implemented as described in Moré, J.J., Garbow, B., and Hillstrom, K. 1981. Testing unconstrained optimization software. ACM Transactions on Mathematical Software 7, pp. 136-140, ACM.")]
    35   [StorableClass]
     35  [StorableType("1ccc8463-f697-4fda-af62-a5e4a3e95c59")]
    3636  public class BealeEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3737    public override string FunctionName { get { return "Beale"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/BoothEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3232  /// </summary>
    3333  [Item("BoothEvaluator", "Evaluates the Booth function on a given point. The optimum of this function is 0 at (1,3). It is implemented as described on http://www-optima.amp.i.kyoto-u.ac.jp/member/student/hedar/Hedar_files/TestGO_files/Page816.htm, last accessed April 12th, 2010.")]
    34   [StorableClass]
     34  [StorableType("b185c0d5-ff97-4947-b823-feac39db6bb0")]
    3535  public class BoothEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3636    public override string FunctionName { get { return "Booth"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/GriewankEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3434  /// </summary>
    3535  [Item("GriewankEvaluator", "Evaluates the Griewank function on a given point. The optimum of this function is 0 at the origin. It is introduced by Griewank A.O. 1981 and implemented as described (without the modifications) in Locatelli, M. 2003. A note on the Griewank test function. Journal of Global Optimization 25, pp. 169-174, Springer.")]
    36   [StorableClass]
     36  [StorableType("30267b2d-433d-48a5-b315-8d1c94b70656")]
    3737  public class GriewankEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3838    public override string FunctionName { get { return "Griewank"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/LevyEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3232  /// </summary>
    3333  [Item("LevyEvaluator", "Evaluates the Levy function on a given point. The optimum of this function is 0 at (1,1,...,1). It is implemented as described on http://www-optima.amp.i.kyoto-u.ac.jp/member/student/hedar/Hedar_files/TestGO_files/Page2056.htm, last accessed April 12th, 2010.")]
    34   [StorableClass]
     34  [StorableType("2d3ec991-18ba-43c1-94ea-7114f220548d")]
    3535  public class LevyEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3636    public override string FunctionName { get { return "Levy"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/MatyasEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3232  /// </summary>
    3333  [Item("MatyasEvaluator", "Evaluates the Matyas function on a given point. The optimum of this function is 0 at the origin. It is implemented as described on http://www-optima.amp.i.kyoto-u.ac.jp/member/student/hedar/Hedar_files/TestGO_files/Page2213.htm, last accessed April 12th, 2010.")]
    34   [StorableClass]
     34  [StorableType("46920ffe-43a3-4298-8217-a3cade44c85c")]
    3535  public class MatyasEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3636    public override string FunctionName { get { return "Matyas"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/MultinormalEvaluator.cs

    r14185 r14927  
    2929using HeuristicLab.Encodings.RealVectorEncoding;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232
    3333namespace HeuristicLab.Problems.TestFunctions.Evaluators {
    3434  [Item("MultinormalFunction", "Evaluates a random multinormal function on a given point.")]
    35   [StorableClass]
     35  [StorableType("62e41b91-7aa7-4cd2-8385-d6bdcd99d52c")]
    3636  public class MultinormalEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3737    public override string FunctionName { get { return "Multinormal"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RandomEvaluator.cs

    r14185 r14927  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.TestFunctions {
     
    3333  /// </summary
    3434  [Item("RandomEvaluator", "Returns a random value in [0;1) that is independent of the inputs.")]
    35   [StorableClass]
     35  [StorableType("efbd6365-9132-4274-a066-6293558dfeb8")]
    3636  public class RandomEvaluator : SingleObjectiveTestFunctionProblemEvaluator, IStochasticOperator {
    3737    public override string FunctionName { get { return "Random"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RastriginEvaluator.cs

    r14185 r14927  
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.TestFunctions {
     
    3434  /// </summary
    3535  [Item("RastriginEvaluator", "Evaluates the generalized Rastrigin function y = Sum((x_i)^2 + A * (1 - Cos(2pi*x_i))) on a given point. The optimum of this function is 0 at the origin. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, Springer-Verlag Berlin Heidelberg.")]
    36   [StorableClass]
     36  [StorableType("48a27d4c-1aef-4557-a0d3-5b398c9f6c48")]
    3737  public class RastriginEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3838    public override string FunctionName { get { return "Rastrigin"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RosenbrockEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3636It is unknown how many local minima there are for dimensions greater than 30.
    3737It is implemented as generalized Rosenbrock function for which the 2 dimensional function is a special case, as for example given in Shang, Y.-W. and Qiu, Y.-H. 2006. A Note on the Extended Rosenbrock Function. Evolutionary Computation 14, pp. 119-126, MIT Press.")]
    38   [StorableClass]
     38  [StorableType("bbcbe487-396a-454a-85fd-a43314c659ca")]
    3939  public class RosenbrockEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    4040    public override string FunctionName { get { return "Rosenbrock"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SchwefelEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
     
    3232  /// </summary>
    3333  [Item("SchwefelEvaluator", "Evaluates the Schwefel function (sine root) on a given point. In the given bounds [-500;500] the optimum of this function is close to 0 at (420.968746453712,420.968746453712,...,420.968746453712). It is implemented as described in Affenzeller, M. and Wagner, S. 2005. Offspring Selection: A New Self-Adaptive Selection Scheme for Genetic Algorithms.  Ribeiro, B., Albrecht, R. F., Dobnikar, A., Pearson, D. W., and Steele, N. C. (eds.). Adaptive and Natural Computing Algorithms, pp. 218-221, Springer.")]
    34   [StorableClass]
     34  [StorableType("ecb084c2-af43-4031-884e-346c9dfbc1ac")]
    3535  public class SchwefelEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3636    public override string FunctionName { get { return "Schwefel"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SingleObjectiveTestFunctionProblemEvaluator.cs

    r14185 r14927  
    2626using HeuristicLab.Operators;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.TestFunctions {
     
    3333  /// </summary>
    3434  [Item("Evaluator", "Base calls for single objective test function evaluators.")]
    35   [StorableClass]
     35  [StorableType("2f754ca5-9c78-47a8-baa3-934ef1d170f8")]
    3636  public abstract class SingleObjectiveTestFunctionProblemEvaluator : InstrumentedOperator, ISingleObjectiveTestFunctionProblemEvaluator {
    3737    /// <summary>
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SphereEvaluator.cs

    r14185 r14927  
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.TestFunctions {
     
    3434  /// </summary>
    3535  [Item("SphereEvaluator", "Evaluates the Sphere function y = C * ||X||^Alpha on a given point. The optimum of this function is 0 at the origin. It is implemented as described in Beyer, H.-G. and Schwefel, H.-P. 2002. Evolution Strategies - A Comprehensive Introduction Natural Computing, 1, pp. 3-52.")]
    36   [StorableClass]
     36  [StorableType("1f276120-8fc3-495a-868a-ac7bc41c3121")]
    3737  public class SphereEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3838    public override string FunctionName { get { return "Sphere"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SumSquaresEvaluator.cs

    r14185 r14927  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Encodings.RealVectorEncoding;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Problems.TestFunctions {
     
    3131  /// </summary>
    3232  [Item("SumSquaresEvaluator", "Evaluates the sum squares function on a given point. The optimum of this function is 0 at the origin. The Sum Squares function is defined as sum(i * x_i * x_i) for i = 1..n.")]
    33   [StorableClass]
     33  [StorableType("1abba097-b3e9-44d3-ae63-d5f0b96ef134")]
    3434  public class SumSquaresEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3535    public override string FunctionName { get { return "SumSquares"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/ZakharovEvaluator.cs

    r14185 r14927  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Encodings.RealVectorEncoding;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Problems.TestFunctions {
     
    3131  /// </summary>
    3232  [Item("ZakharovEvaluator", "Evaluates the Zakharov function on a given point. The optimum of this function is 0 at the origin. It is implemented as described in Hedar, A. & Fukushima, M. 2004. Heuristic pattern search and its hybridization with simulated annealing for nonlinear global optimization. Optimization Methods and Software 19, pp. 291-308, Taylor & Francis.")]
    33   [StorableClass]
     33  [StorableType("ecb192cd-4cd5-4b3c-b375-6bfc234567a9")]
    3434  public class ZakharovEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    3535    public override string FunctionName { get { return "Zakharov"; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/Improvers/SingleObjectiveTestFunctionImprovementOperator.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Problems.TestFunctions {
     
    3939  /// </remarks>
    4040  [Item("SingleObjectiveTestFunctionImprovementOperator", "An operator that improves test functions solutions. It is implemented as described in Laguna, M. and Martí, R. (2003). Scatter Search: Methodology and Implementations in C. Operations Research/Computer Science Interfaces Series, Vol. 24. Springer.")]
    41   [StorableClass]
     41  [StorableType("a0c5fc59-5b35-46bf-9fdd-05b19bce19f9")]
    4242  public sealed class SingleObjectiveTestFunctionImprovementOperator : SingleSuccessorOperator, ISingleObjectiveImprovementOperator {
    4343    #region Parameter properties
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/AckleyAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("AckleyAdditiveMoveEvaluator", "Class for evaluating an additive move on the Ackley function.")]
    29   [StorableClass]
     29  [StorableType("21644b13-70ab-484c-90f7-78237e6d6659")]
    3030  public class AckleyAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/AdditiveMoveEvaluator.cs

    r14185 r14927  
    2727using HeuristicLab.Operators;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Problems.TestFunctions {
    3232  [Item("AdditiveMoveEvaluator", "Base class for evaluating an additive move.")]
    33   [StorableClass]
     33  [StorableType("c2324822-dda5-46e1-bea5-e7321244df95")]
    3434  public abstract class AdditiveMoveEvaluator : SingleSuccessorOperator, ISingleObjectiveTestFunctionAdditiveMoveEvaluator {
    3535
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/BealeAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("BealeAdditiveMoveEvaluator", "Class for evaluating an additive move on the Beale function.")]
    29   [StorableClass]
     29  [StorableType("1f2f80f2-7cd7-4be1-aeaa-3d59c7ca2d1e")]
    3030  public class BealeAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/BoothAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("BoothAdditiveMoveEvaluator", "Class for evaluating an additive move on the Booth function.")]
    29   [StorableClass]
     29  [StorableType("9efe069c-747a-4633-aaeb-4e5fced3e402")]
    3030  public class BoothAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/GriewankAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("GriewankAdditiveMoveEvaluator", "Class for evaluating an additive move on the Griewank function.")]
    29   [StorableClass]
     29  [StorableType("5b1ceea1-5c1b-474b-a7b8-db25c92fb663")]
    3030  public class GriewankAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/LevyAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("LevyAdditiveMoveEvaluator", "Class for evaluating an additive move on the Levy function.")]
    29   [StorableClass]
     29  [StorableType("67d0a7e3-7b23-4eb5-b645-17121b525643")]
    3030  public class LevyAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/MatyasAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("MatyasAdditiveMoveEvaluator", "Class for evaluating an additive move on the Matyas function.")]
    29   [StorableClass]
     29  [StorableType("3d725b36-2cd3-4ae8-b37a-976a2af38bf4")]
    3030  public class MatyasAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/MultinormalAdditiveMoveEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Encodings.RealVectorEncoding;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828using HeuristicLab.Problems.TestFunctions.Evaluators;
    2929
    3030namespace HeuristicLab.Problems.TestFunctions {
    3131  [Item("MultinormalAdditiveMoveEvaluator", "Class for evaluating an additive move on the multinormal function.")]
    32   [StorableClass]
     32  [StorableType("d8ea3601-58de-4866-8688-a06a226efc07")]
    3333  public class MultinormalAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3434    public LookupParameter<ISingleObjectiveTestFunctionProblemEvaluator> EvaluatorParameter {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/RandomAdditiveMoveEvaluator.cs

    r14185 r14927  
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Problems.TestFunctions {
    2929  [Item("RandomAdditiveMoveEvaluator", "Class for evaluating an additive move on the Random function.")]
    30   [StorableClass]
     30  [StorableType("9399222d-c91e-4bb3-a415-06c7a41d20d4")]
    3131  public class RandomAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3232    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/RastriginAdditiveMoveEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Encodings.RealVectorEncoding;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
    3030  [Item("RastriginAdditiveMoveEvaluator", "Class for evaluating an additive move on the Rastrigin function.")]
    31   [StorableClass]
     31  [StorableType("44d7d4fb-02b7-4514-aff5-983bf4ed7e80")]
    3232  public class RastriginAdditiveMoveEvaluator : AdditiveMoveEvaluator, IRastriginMoveEvaluator {
    3333    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/RosenbrockAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("RosenbrockAdditiveMoveEvaluator", "Class for evaluating an additive move on the Rosenbrock function.")]
    29   [StorableClass]
     29  [StorableType("1d90e36b-e74a-4dc7-989f-6285f4d22094")]
    3030  public class RosenbrockAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/SchwefelAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("SchwefelAdditiveMoveEvaluator", "Class for evaluating an additive move on the Schwefel function.")]
    29   [StorableClass]
     29  [StorableType("d3cc778b-6022-4684-a556-a335d6b06b13")]
    3030  public class SchwefelAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/SphereAdditiveMoveEvaluator.cs

    r14185 r14927  
    2525using HeuristicLab.Encodings.RealVectorEncoding;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.TestFunctions {
    3030  [Item("SphereAdditiveMoveEvaluator", "Class for evaluating an additive move on the Sphere function.")]
    31   [StorableClass]
     31  [StorableType("8ae737c9-a054-484b-a572-64080f0abb59")]
    3232  public class SphereAdditiveMoveEvaluator : AdditiveMoveEvaluator, ISphereMoveEvaluator {
    3333    /// <summary>
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/SumSquaresAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("SumSquaresAdditiveMoveEvaluator", "Class for evaluating an additive move on the SumSquares function.")]
    29   [StorableClass]
     29  [StorableType("70c32110-0b1b-4a0b-b987-4c8ac052905b")]
    3030  public class SumSquaresAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/MoveEvaluators/ZakharovAdditiveMoveEvaluator.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.RealVectorEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.TestFunctions {
    2828  [Item("ZakharovAdditiveMoveEvaluator", "Class for evaluating an additive move on the Zakharov function.")]
    29   [StorableClass]
     29  [StorableType("e866289c-3a61-45ae-a140-724ae4925a95")]
    3030  public class ZakharovAdditiveMoveEvaluator : AdditiveMoveEvaluator {
    3131    public override System.Type EvaluatorType {
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/PathRelinkers/SingleObjectiveTestFunctionPathRelinker.cs

    r14185 r14927  
    2929using HeuristicLab.Optimization.Operators;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232
    3333namespace HeuristicLab.Problems.TestFunctions {
     
    4040  /// </remarks>
    4141  [Item("SingleObjectiveTestFunctionPathRelinker", "An operator that relinks paths between test functions solutions. It is based on an implementation described in Duarte, A., Martí, R., and Gortazar, F. (2011). Path Relinking for Large Scale Global Optimization. Soft Computing, Vol. 15.")]
    42   [StorableClass]
     42  [StorableType("8b17a86d-019a-4a12-bc15-cddef2e02d34")]
    4343  public sealed class SingleObjectiveTestFunctionPathRelinker : SingleObjectivePathRelinker {
    4444    #region Parameter properties
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/RealVectorToRealVectorEncoder.cs

    r14185 r14927  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Operators;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Problems.TestFunctions {
     
    3030  #region Backwards compatible code (remove with 3.4)
    3131  [Obsolete("This operator should not be used anymore.")]
    32   [StorableClass]
     32  [StorableType("ffd7677b-a03e-46bf-bc05-85c146718d55")]
    3333  internal class RealVectorToRealVectorEncoder : SingleSuccessorOperator {
    3434
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/SimilarityCalculators/SingleObjectiveTestFunctionSimilarityCalculator.cs

    r14185 r14927  
    2626using HeuristicLab.Encodings.RealVectorEncoding;
    2727using HeuristicLab.Optimization.Operators;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.TestFunctions {
     
    3636  /// </remarks>
    3737  [Item("SingleObjectiveTestFunctionSimilarityCalculator", "An operator that performs similarity calculation between two test functions solutions. The operator calculates the similarity based on the euclidean distance of the two solutions in n-dimensional space.")]
    38   [StorableClass]
     38  [StorableType("18b06b58-ec37-4ef5-89e1-eaa5b5d1d531")]
    3939  public sealed class SingleObjectiveTestFunctionSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator {
    4040    protected override bool IsCommutative { get { return true; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs

    r14185 r14927  
    3131using HeuristicLab.Optimization.Operators;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HeuristicLab.Persistence;
    3434using HeuristicLab.PluginInfrastructure;
    3535using HeuristicLab.Problems.Instances;
     
    3737namespace HeuristicLab.Problems.TestFunctions {
    3838  [Item("Test Function (single-objective)", "Test function with real valued inputs and a single objective.")]
    39   [StorableClass]
     39  [StorableType("442d5e49-8fcd-4016-8974-eb93fce0c2d2")]
    4040  [Creatable(CreatableAttribute.Categories.Problems, Priority = 90)]
    4141  public sealed class SingleObjectiveTestFunctionProblem : SingleObjectiveHeuristicOptimizationProblem<ISingleObjectiveTestFunctionProblemEvaluator, IRealVectorCreator>, IStorableContent, IProblemInstanceConsumer<SOTFData> {
     
    318318      try {
    319319        BestKnownSolutionParameter.Value = Evaluator.GetBestKnownSolution(ProblemSize.Value);
    320       }
    321       catch (ArgumentException e) {
     320      } catch (ArgumentException e) {
    322321        ErrorHandling.ShowErrorDialog(e);
    323322        ProblemSize.Value = Evaluator.MinimumProblemSize;
  • branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionSolution.cs

    r14185 r14927  
    2727using HeuristicLab.Data;
    2828using HeuristicLab.Encodings.RealVectorEncoding;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Problems.TestFunctions {
     
    3434  /// </summary>
    3535  [Item("SingleObjectiveTestFunctionSolution", "Represents a SingleObjectiveTestFunction solution.")]
    36   [StorableClass]
     36  [StorableType("77dc0e44-a5c0-4cc4-85ff-f03669773b8b")]
    3737  public class SingleObjectiveTestFunctionSolution : Item {
    3838    public static new Image StaticItemImage {
Note: See TracChangeset for help on using the changeset viewer.