0

我希望在这里使用最低的共同祖先方法: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。

此处示例: http ://grepcode.com/file/repo1.maven.org/maven2/org.neo4j/neo4j-graph-algo/1.8.M03/org/neo4j/graphalgo/impl/ancestor/AncestorTestCase.java?av =f

任何指针?

4

2 回答 2

1

AncestorUtil 也将使用 PathExpander 方法进行更新(可能适用于 1.9),所以不用担心。

于 2012-11-28T09:28:53.373 回答
0

I'm also looking for this. So far, I've seen that AncestorUtil has not changed.

From the following link: http://api.neo4j.org/current/org/neo4j/graphdb/RelationshipExpander.html I would expect that it might be possible to use it somehow.

There was also a usage example before, that we can see here. 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 Anyone knows how this could be adapted?

于 2014-01-16T16:36:19.213 回答