OrientDB最短路径 - 特定边缘

时间:2017-10-23 05:41:01

标签: graph orientdb shortest-path edge

我有一个关于OrientDB的shortestPath()函数的问题。

我确认以下功能有效。

  

选择shortestPath(&#39;#9:1&#39;,&#39;#15:1&#39;,&#39; BOTH&#39;,&#39;朋友&#39;)。< / p>

但是,在上述方法中,只有“朋友”#39;可以缩小范围。 例如,您想要使用“朋友”#39;和&#39;家庭&#39;。

  

选择shortestPath(&#39;#9:1&#39;,&#39;#15:1&#39;,&#39; BOTH&#39;,[&#39;朋友&#39;,& #39;家庭&#39;])

但是进展不顺利。通过指定多个边来获取最短路径是不可能的吗?

0 个答案:

没有答案