Changeset 11925 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs
- Timestamp:
- 02/05/15 19:35:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs
r11858 r11925 30 30 [StorableClass] 31 31 [Item("GenealogGraphNode", "A class representing a node in the GenealogyGraph")] 32 public class GenealogyGraphNode : Vertex , IGenealogyGraphNode {32 public class GenealogyGraphNode : Vertex<IDeepCloneable>, IGenealogyGraphNode { 33 33 [StorableConstructor] 34 34 protected GenealogyGraphNode(bool deserializing) : base(deserializing) { } … … 46 46 } 47 47 48 public GenealogyGraphNode() { 49 Id = Guid.NewGuid().ToString(); 50 } 51 48 52 public GenealogyGraphNode(IDeepCloneable data) 49 : base(data) {50 Id = Guid.NewGuid().ToString();53 : this() { 54 Data = data; 51 55 } 52 56
Note: See TracChangeset
for help on using the changeset viewer.