Skip to content

using Dijkstra with calculated properties #162

@neo-technology-build-agent

Description

Issue by rvanbruggen
Tuesday Aug 23, 2016 at 10:15 GMT
Originally opened as neo4j-contrib/neo4j-apoc-procedures#119


I would like to run the apoc.algo.dijkstra with a cost function that is calculated based on 2 properties of the relationships. I have
(a)-[r:RELTYPE {prop1:x, prop2:y})->(b)
and would like to do
call apoc.algo.dijkstra(a,b,'RELTYPE',prop1/prop2) yield path, weight
or something like that. I can of course persist the calculated property and do dijkstra over that new property, but it would be nice if you did not have to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions