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.PTSP/3.3/DistanceMatrix.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Data;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Problems.PTSP {
    2929  [Item("DistanceMatrix", "Represents a distance matrix of a Probabilistic Traveling Salesman Problem.")]
    30   [StorableClass]
     30  [StorableType("C1E6E275-FA8C-448F-AB49-8779EB0738BE")]
    3131  public sealed class DistanceMatrix : DoubleMatrix {
    3232    [StorableConstructor]
    33     private DistanceMatrix(bool deserializing) : base(deserializing) { }
     33    private DistanceMatrix(StorableConstructorFlag _) : base(_) { }
    3434    public DistanceMatrix() : base() { }
    3535    public DistanceMatrix(int rows, int columns) : base(rows, columns) { }
Note: See TracChangeset for help on using the changeset viewer.