Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 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.GraphColoring/3.3/GraphColoringProblem.cs

    r16453 r16462  
    3030using HeuristicLab.Optimization.Operators;
    3131using HeuristicLab.Parameters;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HEAL.Fossil;
    3333using HeuristicLab.Problems.Instances;
    3434
     
    3737  [Item("Graph Coloring Problem (GCP)", "Attempts to find a coloring using a minimal number of colors that doesn't produce a conflict.")]
    3838  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 135)]
    39   [StorableClass]
     39  [StorableType("007BD5F0-196C-4045-AC5D-BF287927C3DC")]
    4040  public sealed class GraphColoringProblem : SingleObjectiveBasicProblem<LinearLinkageEncoding>, IProblemInstanceConsumer<GCPData>, IProblemInstanceExporter<GCPData> {
    4141
     
    6565
    6666    [StorableConstructor]
    67     private GraphColoringProblem(bool deserializing) : base(deserializing) { }
     67    private GraphColoringProblem(StorableConstructorFlag _) : base(_) { }
    6868    private GraphColoringProblem(GraphColoringProblem original, Cloner cloner)
    6969      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.