我希望在这里使用最低的共同祖先方法: http://grepcode.com/file/repo1.maven.org/maven2/org.neo4j/neo4j-graph-algo/1.8.M03/org/neo4j/graphalgo/impl/ancestor/AncestorsUtil.java?av=f
我使用了RelationshipExpander,但是该类被弃用而不支持PathExpander,但在这种情况下我没有看到如何应用PathExpander。
任何指针?
答案 0 :(得分:1)
AncestorUtil也将使用PathExpander方法更新(可能是1.9),所以不用担心。
答案 1 :(得分:0)
我也在寻找这个。到目前为止,我已经看到AncestorUtil没有改变。
从以下链接: http://api.neo4j.org/current/org/neo4j/graphdb/RelationshipExpander.html我希望有可能以某种方式使用它。
之前还有一个用法示例,我们可以在这里看到。 http://grepcode.com/file/repo1.maven.org/maven2/org.neo4j/neo4j-graph-algo/1.9.4/org/neo4j/graphalgo/impl/ancestor/AncestorTestCase.java?av=f任何人都知道如何调整它?