Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/05/15 19:35:34 (9 years ago)
Author:
bburlacu
Message:

#1772:

  • Removed unused code
  • Adapted genealogy graph according to the trunk changes to the directed graph
  • Adapted trace calculator and before/after operators
  • Introduced a CloneableCollection to help save node lists
File:
1 edited

Legend:

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

    r11858 r11925  
    3030  [StorableClass]
    3131  [Item("GenealogGraphNode", "A class representing a node in the GenealogyGraph")]
    32   public class GenealogyGraphNode : Vertex, IGenealogyGraphNode {
     32  public class GenealogyGraphNode : Vertex<IDeepCloneable>, IGenealogyGraphNode {
    3333    [StorableConstructor]
    3434    protected GenealogyGraphNode(bool deserializing) : base(deserializing) { }
     
    4646    }
    4747
     48    public GenealogyGraphNode() {
     49      Id = Guid.NewGuid().ToString();
     50    }
     51
    4852    public GenealogyGraphNode(IDeepCloneable data)
    49       : base(data) {
    50       Id = Guid.NewGuid().ToString();
     53      : this() {
     54      Data = data;
    5155    }
    5256
Note: See TracChangeset for help on using the changeset viewer.