Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.ReingoldTilfordTreeLayout/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces/ILayoutAdapter.cs @ 10471

Last change on this file since 10471 was 10471, checked in by bburlacu, 10 years ago

#2076: Thanks for the feedback:

  • I removed the ILayoutNode Interfaces
  • Fixed the error that was causing it to crash in the textual representation
  • The ancestor is a node on the path between the root and the current node (from the paper), but in the algorithm it's assigned differently
  • Parent is the immediate parent

I also increased the node label text size a bit and did some cosmetic improvements.

File size: 269 bytes
RevLine 
[9970]1using System;
2using System.Collections.Generic;
3
4namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
5  public interface ILayoutAdapter<T> where T : class {
[10471]6    IEnumerable<LayoutNode<T>> Convert(T root, Func<T, LayoutNode<T>> convertFunc);
[9970]7  }
8}
Note: See TracBrowser for help on using the repository browser.