English 中文(简体)
建议建立一个免费的 Java图书馆,以建造一个树苗,在叶 no之间走路? [闭门]
原标题:Recommend a free Java library to construct a tree and get path between leaf nodes? [closed]
  • 时间:2012-05-11 11:03:22
  •  标签:
  • java
  • tree

我们不准许向软件图书馆、辅导、工具、书籍或其他场外资源征求建议的问题。 你可以ed问这个问题,以便用事实和引证来回答。

Closed 6 years ago.

Can you please recommend a Java library for creating trees? I am looking for a library that will compute various paths between leaf nodes, report the number of leaf nodes the tree has, and other utility methods.

最佳回答

Try jgrapht 。 网页:

JGraphT is a free Java graph library that provides mathematical graph-theory objects and algorithms. JGraphT supports various types of graphs including:

  • directed and undirected graphs.
  • graphs with weighted / unweighted / labeled or any user-defined edges.
  • various edge multiplicity options, including: simple-graphs, multigraphs, pseudographs.
  • unmodifiable graphs - allow modules to provide "read-only" access to internal graphs.
  • listenable graphs - allow external listeners to track modification events.
  • subgraphs graphs that are auto-updating subgraph views on other graphs.
  • all compositions of above graphs.

JGraphT虽然强大,但设计是简单和类型的安全(通过 Java学)。 例如,图表的vert可能属于任何物体。 您可以依据:Stings、URLs、XML文件等编制图表。

其他 用户报告 成功。 我仔细地第二次审查了他们的APIC,建议你开始HERE

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签