mardi 3 juin 2014

neo4j traversal while remember the visit path and group nodes to different spanning trees.


Vote count:

0




i test the neo4j java api to do traversal description on directed graph , when i start from one random node, i found it following root to expand and when from this root no edges to expand till no edge to go and stop and make a spanning tree But i want it to keep traversal from another node buy not visited the nodes of previous spanning tree. I will pick random another root and keep on travel to unvisited node. i want to use this to extract spanning trees from graph. The number of trees is not only one. So right now i want to know when it start pick new root during traversal. so i can know which group of nodes belong to one spanning tree and other nodes belong to other trees. Later i will try follow those trees. But i also keep the old graph as well.



asked 35 secs ago






Aucun commentaire:

Enregistrer un commentaire