Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/07/19 23:40:10 (5 years ago)
Author:
mkommend
Message:

#2520: Merged 16565 - 16579 into stable.

Location:
stable
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Core

  • stable/HeuristicLab.Core/3.3/Collections/DirectedGraph/Arc.cs

    r15584 r17097  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2222using System;
    2323using HeuristicLab.Common;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Attic;
    2525
    2626namespace HeuristicLab.Core {
    2727  [Item("Arc", "A graph arc connecting two graph vertices, that can have a weight, label, and data object for holding additional info")]
    28   [StorableClass]
     28  [StorableType("E91E40A2-FE77-49F0-866E-5127F3C1AC79")]
    2929  public class Arc : Item, IArc {
    3030    [Storable]
     
    5858
    5959    [StorableConstructor]
    60     protected Arc(bool deserializing) : base(deserializing) { }
     60    protected Arc(StorableConstructorFlag _) : base(_) { }
    6161
    6262    public Arc(IVertex source, IVertex target) {
     
    8282  }
    8383
    84   [StorableClass]
     84  [StorableType("5F06782E-3BD2-4A9D-B030-BE1D6A6B714F")]
    8585  public class Arc<T> : Arc, IArc<T> where T : class, IDeepCloneable {
    8686    [Storable]
     
    105105    }
    106106
    107     public Arc(bool deserializing)
    108       : base(deserializing) {
     107    [StorableConstructor]
     108    public Arc(StorableConstructorFlag _)
     109      : base(_) {
    109110    }
    110111
  • stable/HeuristicLab.Core/3.3/Collections/DirectedGraph/DirectedGraph.cs

    r15584 r17097  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Common.Resources;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Attic;
    2929
    3030namespace HeuristicLab.Core {
    3131  [Item("DirectedGraph", "Generic class representing a directed graph with custom vertices and content")]
    32   [StorableClass]
     32  [StorableType("C7DF8A65-95AE-4D73-950B-27A8086D7DA2")]
    3333  public class DirectedGraph : Item, IDirectedGraph {
    3434    public override Image ItemImage { get { return VSImageLibrary.Graph; } }
     
    7070
    7171    [StorableConstructor]
    72     protected DirectedGraph(bool serializing)
    73       : base(serializing) {
     72    protected DirectedGraph(StorableConstructorFlag _) : base(_) {
    7473    }
    7574
  • stable/HeuristicLab.Core/3.3/Collections/DirectedGraph/Vertex.cs

    r15584 r17097  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2424using System.Linq;
    2525using HeuristicLab.Common;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Attic;
    2727
    2828namespace HeuristicLab.Core {
    2929  [Item("Vertex", "An object representing a vertex in the graph. It can have a text label, a weight, and an additional data object.")]
    30   [StorableClass]
     30  [StorableType("3FA3AAFA-05FF-4BE9-BD72-05A822A5E8CC")]
    3131  public class Vertex : Item, IVertex {
    3232    [Storable]
     
    6767
    6868    [StorableConstructor]
    69     public Vertex(bool deserializing) : base(deserializing) { }
     69    public Vertex(StorableConstructorFlag _) : base(_) { }
    7070
    7171    [StorableHook(HookType.AfterDeserialization)]
     
    141141  }
    142142
    143   [StorableClass]
     143  [StorableType("ED2FD106-6F97-415A-A6D0-7F6690426910")]
    144144  public class Vertex<T> : Vertex, IVertex<T> where T : class,IDeepCloneable {
    145145    [Storable]
     
    155155
    156156    [StorableConstructor]
    157     protected Vertex(bool deserializing) : base(deserializing) { }
     157    protected Vertex(StorableConstructorFlag _) : base(_) { }
    158158
    159159    protected Vertex(Vertex<T> original, Cloner cloner)
Note: See TracChangeset for help on using the changeset viewer.