Tree (directed acyclic graph) implementation

前端 未结 4 1942
忘掉有多难
忘掉有多难 2020-12-14 22:22

I require a tree / directed acyclic graph implementation something like this:

public class TreeNode {
    private K key; // \'key\' for this node         


        
4条回答
  •  一生所求
    2020-12-14 23:13

    If you're looking for additional graph capabilities, JDigraph's Digraph class should fit the bill.

提交回复
热议问题