Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/20/13 10:10:41 (11 years ago)
Author:
bburlacu
Message:

#1772: Removed unnecessary subproject (not included in solution). Merged changes from tree layout branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/LayoutEngines/ReingoldTilfordLayoutEngine.cs

    r9963 r9996  
    4646        root = value;
    4747      }
    48     }
    49 
    50     /// <summary>
    51     /// Returns a string containing all the coordinates (useful for debugging).
    52     /// </summary>
    53     /// <returns></returns>
    54     public string DumpCoordinates() {
    55       if (nodes == null || nodes.Count == 0) return string.Empty;
    56       return nodes.Values.Aggregate("", (current, node) => current + (node.X + " " + node.Y + Environment.NewLine));
    5748    }
    5849
     
    161152
    162153    private void SecondWalk(ILayoutNode<T> v, float m) {
    163       if (!nodes.Values.Contains(v)) throw new Exception("Layout node not present in dictionary!");
    164154      v.X = v.Prelim + m;
    165155      v.Y = v.Level * minVerticalSpacing;
Note: See TracChangeset for help on using the changeset viewer.