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
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPMultipleGuidesPathRelinker.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization.Operators;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232
    3333namespace HeuristicLab.Problems.TravelingSalesman {
     
    3939  /// </remarks>
    4040  [Item("TSPMultipleGuidesPathRelinker", "An operator that relinks paths between traveling salesman solutions using a multiple guiding strategy. The operator incrementally changes the initiating solution towards the guiding solution by correcting edges as needed. For each city it choses the best edge from all guiding solutions.")]
    41   [StorableClass]
     41  [StorableType("6B5B2622-AB1D-47E6-8BBC-C6088D393149")]
    4242  public sealed class TSPMultipleGuidesPathRelinker : SingleObjectivePathRelinker {
    4343    #region Parameter properties
     
    5454
    5555    [StorableConstructor]
    56     private TSPMultipleGuidesPathRelinker(bool deserializing) : base(deserializing) { }
     56    private TSPMultipleGuidesPathRelinker(StorableConstructorFlag _) : base(_) { }
    5757    private TSPMultipleGuidesPathRelinker(TSPMultipleGuidesPathRelinker original, Cloner cloner) : base(original, cloner) { }
    5858    public TSPMultipleGuidesPathRelinker()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPPathRelinker.cs

    r16453 r16462  
    2828using HeuristicLab.Encodings.PermutationEncoding;
    2929using HeuristicLab.Optimization.Operators;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131
    3232namespace HeuristicLab.Problems.TravelingSalesman {
     
    3838  /// </remarks>
    3939  [Item("TSPPathRelinker", "An operator that relinks paths between traveling salesman solutions. The operator incrementally assimilates the initiating solution into the guiding solution by correcting edges as needed.")]
    40   [StorableClass]
     40  [StorableType("0997A24C-0592-4CE4-A681-70C97890D3F7")]
    4141  public sealed class TSPPathRelinker : SingleObjectivePathRelinker {
    4242    [StorableConstructor]
    43     private TSPPathRelinker(bool deserializing) : base(deserializing) { }
     43    private TSPPathRelinker(StorableConstructorFlag _) : base(_) { }
    4444    private TSPPathRelinker(TSPPathRelinker original, Cloner cloner) : base(original, cloner) { }
    4545    public TSPPathRelinker() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPSimultaneousPathRelinker.cs

    r16453 r16462  
    2828using HeuristicLab.Encodings.PermutationEncoding;
    2929using HeuristicLab.Optimization.Operators;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131
    3232namespace HeuristicLab.Problems.TravelingSalesman {
     
    3838  /// </remarks>
    3939  [Item("TSPSimultaneousPathRelinker", "An operator that relinks paths between traveling salesman solutions starting from both ends. The operator incrementally assimilates the initiating solution into the guiding solution and vice versa by correcting edges as needed.")]
    40   [StorableClass]
     40  [StorableType("D44D112E-5139-4848-8A2B-66CFC5784EE4")]
    4141  public sealed class TSPSimultaneousPathRelinker : SingleObjectivePathRelinker {
    4242    [StorableConstructor]
    43     private TSPSimultaneousPathRelinker(bool deserializing) : base(deserializing) { }
     43    private TSPSimultaneousPathRelinker(StorableConstructorFlag _) : base(_) { }
    4444    private TSPSimultaneousPathRelinker(TSPSimultaneousPathRelinker original, Cloner cloner) : base(original, cloner) { }
    4545    public TSPSimultaneousPathRelinker() : base() { }
Note: See TracChangeset for help on using the changeset viewer.