V
- the node type.E
- the edge type.public interface TraversalPolicy<V extends Traversable<V,E>,E extends Edge<V>>
Traversable
s via
Traversable.setOrder(int)
and Traversable.setDepth(int)
. The modifications serve as a hint to
Engine
and do not affect the correctness of the calculation.int assign(V root)
root
- the given node.