Changeset 10293 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs
- Timestamp:
- 01/07/14 12:31:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs
r10285 r10293 111 111 112 112 public new void AddForwardArc(IVertex target, double w = 0, object data = null) { 113 var e= new GenealogyGraphArc { Source = this, Target = (IGenealogyGraphNode)target, Data = data, Weight = w };114 base.AddForwardArc( e);113 var arc = new GenealogyGraphArc { Source = this, Target = (IGenealogyGraphNode)target, Data = data, Weight = w }; 114 base.AddForwardArc(arc); 115 115 } 116 116 public new void AddReverseArc(IVertex source, double w = 0.0, object data = null) { 117 var e= new GenealogyGraphArc { Source = (IGenealogyGraphNode)source, Target = this, Data = data, Weight = w };118 base.AddReverseArc( e);117 var arc = new GenealogyGraphArc { Source = (IGenealogyGraphNode)source, Target = this, Data = data, Weight = w }; 118 base.AddReverseArc(arc); 119 119 } 120 120 } … … 124 124 public class GenealogyGraphNode<T> : GenealogyGraphNode, IGenealogyGraphNode<T> where T : class,IItem { 125 125 public T Content { get; set; } 126 126 public GenealogyGraphNode() { } 127 127 } 128 128 }
Note: See TracChangeset
for help on using the changeset viewer.