Menu

#175 DelegateTree does not calculate depths of backing graph

Verified Bug
open
nobody
5
2012-01-23
2012-01-23
No

According to the javadoc of
public DelegateTree(DirectedGraph<V,E> graph) {
the given backing graph must be a tree (i.e. is allowed to be non-empty). However, as the attached unit test shows, this breaks the depth information in DelegateTree, as this information is not calculated for any pre-existing edges.

Discussion

  • Gert van Valkenhoef

    Test breaking getDepth in DelegateTree

     
  • Gert van Valkenhoef

    • labels: --> Core Graph Code
    • milestone: --> Verified Bug
     

Log in to post a comment.