There's no such statistics in the traversal framework, no. But your solution
with your own counter in the Evaluator would show you how many nodes was
encountered during the traversal (for the selected uniqueness setting).
2011/4/18 bhargav gunda bhargav@gmail.com
Respected,
here is the
Bhargav,
I'm not sure I am following you. Could you maybe write some pseudo
code to highlight the case?
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter
Respected,
I would to know that is there any method to count the number of nodes and
relationships traversed by the traversal framework.
Like path.length() --- which gives the depth of the tree. So as like that
method is there any direct one?
For example,
If a tree consist of several nodes and
Hi Gunda,
I believe you are asking fir the same thing I asked for a couple of days
ago. Check this thread:
http://lists.neo4j.org/pipermail/user/2011-April/007932.html
As the discussion shows, this feature is currently not available but
probably interesting in a lot of settings. At least for
Of course,
You can have a count outside your traversal description that for instance
and Evaluator is updating since it is called for all traversed nodes. This
is not thread safe but I think it will give you the data you want?
Sent from my phone.
On Apr 13, 2011 12:32 PM, Stephan Hagemann
2011/4/13 Peter Neubauer neubauer.pe...@gmail.com:
Of course,
You can have a count outside your traversal description that for instance
and Evaluator is updating since it is called for all traversed nodes. This
is not thread safe but I think it will give you the data you want?
Traversals are
Yeah I know that but I want it in the traverse function itself. Based on the
result again I want to do one more function. So i am trying to find in the
traverse function.
Thanks Regards,
G.
On Wed, Apr 13, 2011 at 3:47 PM, Peter Neubauer neubauer.pe...@gmail.comwrote:
Of course,
You can have
7 matches
Mail list logo