Hi Georg,

in current implementation it's not possible. Anyway Dijkstra and
ShortestPath functions are quite simple (links to the source code below),
you could just implement your own version starting from them and (why not?)
send a pull request and become OrientDB contributor.

https://github.com/orientechnologies/orientdb/blob/develop/graphdb/src/main/java/com/orientechnologies/orient/graph/sql/functions/OSQLFunctionShortestPath.java


https://github.com/orientechnologies/orientdb/blob/develop/graphdb/src/main/java/com/orientechnologies/orient/graph/sql/functions/OSQLFunctionDijkstra.java

Thanks

Luigi

2015-02-10 3:20 GMT+01:00 Georg Göttlich <[email protected]>:

> Hello eveyone.
>
> I wanted to know if there is a way to restrict path finding (shortestPath,
> Dijkstra) to a certain type of Edges?
>
> If not, what would be the suggested route to integrate this (and also the
> dynamic weight property feature from my other post) myself?
>
> Thanks a lot.
>
> Cheers
> Georg
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to