Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/14 20:47:50 (10 years ago)
Author:
bburlacu
Message:

#1772: Added SymbolicDataAnalysisGenealogyView, updated generic analyzer and operators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/DirectedGraph/Vertex.cs

    r10278 r10285  
    7777    // (they do not appear in the nodes Dictionary). It is the programmers responsibility to
    7878    // enforce the correct and desired behavior.
    79     public void AddForwardArc(IVertex target, double weight = 0.0, object data = null) {
    80       var e = new Arc { Source = this, Target = target, Data = data, Weight = weight };
     79    public void AddForwardArc(IVertex target, double w = 0.0, object data = null) {
     80      var e = new Arc { Source = this, Target = target, Data = data, Weight = w };
    8181      if (OutArcs == null) OutArcs = new List<IArc> { e };
    8282      else OutArcs.Add(e);
     
    9292      if (InArcs == null) { InArcs = new List<IArc> { arc }; } else { InArcs.Add(arc); }
    9393    }
    94     public void AddReverseArc(IVertex source, double weight = 0.0, object data = null) {
    95       var e = new Arc { Source = source, Target = this, Data = data, Weight = weight };
     94    public void AddReverseArc(IVertex source, double w = 0.0, object data = null) {
     95      var e = new Arc { Source = source, Target = this, Data = data, Weight = w };
    9696      if (InArcs == null) InArcs = new List<IArc> { e };
    9797      else InArcs.Add(e);
Note: See TracChangeset for help on using the changeset viewer.