Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs

    r16453 r16462  
    3232using HeuristicLab.Optimization.Operators;
    3333using HeuristicLab.Parameters;
    34 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     34using HEAL.Fossil;
    3535using HeuristicLab.PluginInfrastructure;
    3636using HeuristicLab.Problems.Instances;
     
    3939  [Item("Quadratic Assignment Problem (QAP)", "The Quadratic Assignment Problem (QAP) can be described as the problem of assigning N facilities to N fixed locations such that there is exactly one facility in each location and that the sum of the distances multiplied by the connection strength between the facilities becomes minimal.")]
    4040  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 140)]
    41   [StorableClass]
     41  [StorableType("A86B1F49-D8E6-45E4-8EFB-8F5CCA2F9DC7")]
    4242  public sealed class QuadraticAssignmentProblem : SingleObjectiveHeuristicOptimizationProblem<IQAPEvaluator, IPermutationCreator>, IStorableContent,
    4343    IProblemInstanceConsumer<QAPData>,
     
    110110
    111111    [StorableConstructor]
    112     private QuadraticAssignmentProblem(bool deserializing) : base(deserializing) { }
     112    private QuadraticAssignmentProblem(StorableConstructorFlag _) : base(_) { }
    113113    private QuadraticAssignmentProblem(QuadraticAssignmentProblem original, Cloner cloner)
    114114      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.