Neo4j-PHP-OGM icon indicating copy to clipboard operation
Neo4j-PHP-OGM copied to clipboard

Dijkstra algorithm not supported for path finding

Open lphuberdeau opened this issue 12 years ago • 0 comments

The Dijkstra algorithm requires the relations to have a cost property. Support was initially listed as supported by @lex009 when path finding was initially added. However, I have disabled it for the following reasons:

  • The OGM does not have a good way at this time for specifying relationship properties.
  • The path finding classes do not allow to configure the relationship property name needed by algorithm to run. Exception is being thrown.

lphuberdeau avatar Dec 21 '12 15:12 lphuberdeau