Question

I would be really grateful if someone show me the way to calculate minimum path with a dynamic programming algorithm like Floyd and Warshall.The algorithm has to calculate the path at every interaction,it has to making decision about which nodes choose taking in consideration the nodes already traversed.

I have made a little explaination: https://drive.google.com/file/d/0B3i9KFQXzB89YXl0VkEzaDZDMHc/edit?usp=sharing

My graph is stored in a neo4j environment and it can increase in a serious way his dimension. I use rest with everyman php neo4j libraries. What is the best way to do this? Traversal, cypher, gremilins, code a custom algorithm starting from http://components.neo4j.org/neo4j-graph-algo/1.4/xref/org/neo4j/graphalgo/impl/shortestpath/FloydWarshall.html ?

Tnx in advance

Was it helpful?

Solution

At the end my solution was to use traversal framework and build unmanaged extension.

M.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top