Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11475


Ignore:
Timestamp:
10/16/14 20:22:14 (10 years ago)
Author:
bburlacu
Message:

#1772: Small improvement to GenealogyGraph.cs

File:
1 edited

Legend:

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

    r11459 r11475  
    3636    private Dictionary<object, IGenealogyGraphNode> contentMap;
    3737    private Dictionary<string, IGenealogyGraphNode> idMap;
    38     protected Dictionary<double, List<IGenealogyGraphNode>> ranks;
    3938
     39    private Dictionary<double, List<IGenealogyGraphNode>> ranks;
    4040    public Dictionary<double, List<IGenealogyGraphNode>> Ranks {
    4141      get { return ranks; }
     
    8484    new public IEnumerable<IGenealogyGraphNode> Vertices {
    8585      get { return base.Vertices.Select(x => (IGenealogyGraphNode)x); }
     86    }
     87
     88    new public IEnumerable<IGenealogyGraphArc> Arcs {
     89      get { return base.Arcs.Select(x => (IGenealogyGraphArc)x); }
    8690    }
    8791
     
    135139
    136140    public event EventHandler GraphUpdated;
    137 
    138141    private void OnGraphUpdated(object sender, EventArgs args) {
    139142      var updated = GraphUpdated;
     
    144147      base.Clear();
    145148      ranks.Clear();
     149      contentMap.Clear();
     150      idMap.Clear();
    146151    }
    147152
Note: See TracChangeset for help on using the changeset viewer.