neo4j/community — Issue #80: Inconsistent Evaluator behavior at Depth 0
Author: peterneubauer
Created: 2011-11-03 04:04:32+00:00
State: open

Issue: fromDepth, toDepth and atDepth might not show consistent behavior, in particular, the following code

Traversal.description.breadthFirst
.evaluator(Evaluators.fromDepth(0)) .evaluator(Evaluators.toDepth(0))

does not return the start node. Using .fromDepth(1) & .toDepth(1) seem to correctly return the nodes at depth 1.

Please tests the following:

.fromDepth(0) & .toDepth(0) and atDepth(0) return the start node .fromDepth(n) & .toDepth(n) and atDepth(n) return the nodes at depth n

Thank you.