Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/24/14 16:59:22 (10 years ago)
Author:
bburlacu
Message:

#1772: Added new SymbolicDataAnalysisGenealogyView and added support for the tracing of building blocks (finding the constituent ancestral elements of a selected subtree).

File:
1 edited

Legend:

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

    r10347 r10650  
    8080  public class GenealogyGraph<T> : DirectedGraph, IGenealogyGraph<T> where T : class, IItem {
    8181    [Storable]
    82     private Dictionary<double, LinkedList<IGenealogyGraphNode<T>>> ranks;
    83     public Dictionary<double, LinkedList<IGenealogyGraphNode<T>>> Ranks {
     82    private Dictionary<double, LinkedList<IGenealogyGraphNode>> ranks;
     83    public Dictionary<double, LinkedList<IGenealogyGraphNode>> Ranks {
    8484      get { return ranks; }
    8585      set { ranks = value; }
     
    9494    protected GenealogyGraph(bool deserializing) : base(deserializing) { }
    9595    public GenealogyGraph() {
    96       Ranks = new Dictionary<double, LinkedList<IGenealogyGraphNode<T>>>();
     96      Ranks = new Dictionary<double, LinkedList<IGenealogyGraphNode>>();
    9797    }
    9898    public override void AddVertex(IVertex vertex) {
    9999      var node = (IGenealogyGraphNode<T>)vertex;
    100100      if (!Ranks.ContainsKey(node.Rank))
    101         Ranks[node.Rank] = new LinkedList<IGenealogyGraphNode<T>>();
     101        Ranks[node.Rank] = new LinkedList<IGenealogyGraphNode>();
    102102      Ranks[node.Rank].AddLast(node);
    103103      base.AddVertex(vertex);
Note: See TracChangeset for help on using the changeset viewer.