Changeset 10886 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs
- Timestamp:
- 05/22/14 13:49:35 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraphNode.cs
r10685 r10886 107 107 return Quality.CompareTo(other.Quality); 108 108 } 109 public new void AddForwardArc(IVertex target, double w = 0.0, object data = null) {110 var arc = new GenealogyGraphArc { Source = this, Target = (IGenealogyGraphNode)target, Data = data, Weight = w };111 base.AddForwardArc(arc);112 }113 public new void AddReverseArc(IVertex source, double w = 0.0, object data = null) {114 var arc = new GenealogyGraphArc { Source = (IGenealogyGraphNode)source, Target = this, Data = data, Weight = w };115 base.AddReverseArc(arc);116 }117 109 public IEnumerable<IGenealogyGraphNode> Parents { 118 110 get { return InArcs.Select(a => a.Source); }
Note: See TracChangeset
for help on using the changeset viewer.