Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/11/20 13:36:02 (5 years ago)
Author:
bburlacu
Message:

#1772: Merge trunk changes and fix all errors and compilation warnings.

Location:
branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraph.cs

    r12966 r17434  
    2626using System.Linq;
    2727using System.Text;
     28using HEAL.Attic;
    2829using HeuristicLab.Common;
    2930using HeuristicLab.Core;
    3031using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3132
    32 namespace HeuristicLab.EvolutionTracking {
    33   [StorableClass]
     33namespace HeuristicLab.EvolutionTracking
     34{
    3435  [Item("GenealogyGraph", "A class representing a genealogy graph")]
    35   public class GenealogyGraph : DirectedGraph, IGenealogyGraph {
     36  [StorableType("66DCA305-87F7-41D8-91CF-68415B1809A8")]
     37  public class GenealogyGraph : DirectedGraph, IGenealogyGraph
     38  {
    3639    private Dictionary<object, IGenealogyGraphNode> contentMap;
    3740    private Dictionary<string, IGenealogyGraphNode> idMap;
     
    7174
    7275    [StorableConstructor]
    73     protected GenealogyGraph(bool deserializing)
    74       : base(deserializing) {
    75     }
     76    protected GenealogyGraph(StorableConstructorFlag _) : base(_) { }
    7677    [StorableHook(HookType.AfterDeserialization)]
    7778    private void AfterDeserialization() {
     
    191192
    192193  [Item("GenealogyGraph", "A genealogy graph in which the vertex data is of type T")]
    193   [StorableClass]
    194   public class GenealogyGraph<T> : GenealogyGraph, IGenealogyGraph<T> where T : class, IItem {
     194  [StorableType("3F5043F7-2538-4B76-BA12-062A4CEF5A1A")]
     195  public class GenealogyGraph<T> : GenealogyGraph, IGenealogyGraph<T> where T : class, IItem
     196  {
    195197    public GenealogyGraph() { }
    196198    private GenealogyGraph(GenealogyGraph original, Cloner cloner)
  • branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphArc.cs

    r11925 r17434  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
     
    2526
    2627namespace HeuristicLab.EvolutionTracking {
    27   [StorableClass]
    2828  [Item("GenealogyGraphArc", "A graph arc connecting two GenealogyGraphNodes and holding some data.")]
     29  [StorableType("011C69C6-7E84-4AB0-8DBB-9A5BB69D9484")]
    2930  public class GenealogyGraphArc : Arc<IDeepCloneable>, IGenealogyGraphArc {
    3031    [StorableConstructor]
    31     protected GenealogyGraphArc(bool deserializing) : base(deserializing) { }
     32    protected GenealogyGraphArc(StorableConstructorFlag _) : base(_) { }
    3233    protected GenealogyGraphArc(GenealogyGraphArc original, Cloner cloner)
    3334      : base(original, cloner) { }
     
    5051  }
    5152
    52   [StorableClass]
    5353  [Item("GenealogyGraphArc", "")]
     54  [StorableType("47612662-7C98-44F8-94D0-132B425889F5")]
    5455  public class GenealogyGraphArc<T> : GenealogyGraphArc where T : class,IItem {
    5556    [StorableConstructor]
    56     protected GenealogyGraphArc(bool deserializing) : base(deserializing) { }
     57    protected GenealogyGraphArc(StorableConstructorFlag _) : base(_) { }
    5758
    5859    protected GenealogyGraphArc(GenealogyGraphArc original, Cloner cloner)
  • branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs

    r15757 r17434  
    2323using System.Collections.Generic;
    2424using System.Linq;
     25using HEAL.Attic;
    2526using HeuristicLab.Common;
    2627using HeuristicLab.Core;
     
    2829
    2930namespace HeuristicLab.EvolutionTracking {
    30   [StorableClass]
    3131  [Item("GenealogGraphNode", "A class representing a node in the GenealogyGraph")]
     32  [StorableType("3112AC58-F11A-435A-A669-8C9B6EF88F40")]
    3233  public class GenealogyGraphNode : Vertex<IDeepCloneable>, IGenealogyGraphNode {
    3334    [StorableConstructor]
    34     protected GenealogyGraphNode(bool deserializing) : base(deserializing) { }
     35    protected GenealogyGraphNode(StorableConstructorFlag _) : base(_) { }
    3536
    3637    public override IDeepCloneable Clone(Cloner cloner) {
     
    132133  }
    133134
    134   [StorableClass]
    135135  [Item("GenealogyGraphNode", "A genealogy graph node which also has a Content")]
     136  [StorableType("68BE4E3D-2578-4C06-BF03-8583BA03022F")]
    136137  public class GenealogyGraphNode<T> : GenealogyGraphNode, IGenealogyGraphNode<T> where T : class, IItem {
    137138    public new T Data {
     
    141142
    142143    [StorableConstructor]
    143     protected GenealogyGraphNode(bool deserializing) : base(deserializing) { }
     144    protected GenealogyGraphNode(StorableConstructorFlag _) : base(_) { }
    144145
    145146    public GenealogyGraphNode(IDeepCloneable content) : base(content) { }
Note: See TracChangeset for help on using the changeset viewer.